T
T
tmikwid2012-10-26 14:30:59
Exim
tmikwid, 2012-10-26 14:30:59

Mail does not go away with Ubuntu 12.04 Exim4, where to dig?

Dear Khabrovites,
I have a problem - help, please.
There is an Ubuntu 12.04 vps server that hosts several websites. Websites on wordpress. Previously, mail for them went using msmtp, a Google Apps Mail account with authentication was registered for it, etc.
There was a need to send mail from each site separately, from each individual address. To do this, msmtp was demolished and Exim4 was installed only for sending letters. At the same time, miracles happen - letters leave the command line - using

echo "This is a test." | mail -s Testing [email protected]<br>

and here with the help
/usr/sbin/sendmail -t -i <<EOT<br>
> [email protected]com<br>
> Test<br>
> Test<br>
> EOT<br>

mail freezes and in the Exim logs it is written: unroutable address, respectively, the mail does not leave.
Tell me, please, where to dig?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
charon, 2012-10-26
@tmikwid

while you're looking, I'll ask:

$ /usr/sbin/sendmail -t -i <<EOT
> [email protected]
> Test
> Test
> EOT

what is this anyway? Who taught you that?
Necessary:
/usr/sbin/sendmail -t -i 
From: [email protected]
To: [email protected]
Subject: tema

the mail body
line2
^D

Or use the mail() function in PHP - even easier

C
charon, 2012-10-26
@charon

and config piece. routes section

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question