exim4 cannot send email to root (all localhost users)
Posted: Wed Jun 11, 2014 3:43 pm
I have a problem with exim4 configuration. I try to send email to root, but email stay frozen in queue.
I tried this:
In log (/var/log/exim4/mainlog) is this message:
Local host is routable (I hope):
Configuration of hostname is right:
Aliases seems to be OK:
Do have any idea how can I fix it? With Postfix I never have problem like that. System emails always was delivered to /var/mail folder. But with exim4 I' m on the rocks. It's required for me receive system emails...
Please ask me if you need more information or outputs. Thank you for all replies!
btw. My friend also using vestacp and have some problem like I have.
Daniel
I tried this:
Code: Select all
root@server2:~# echo TEST | mail -s "Hello this is testing email" root
Code: Select all
2014-06-11 11:47:36 1Wuf84-0004o3-E4 <= [email protected] U=root P=local S=416
2014-06-11 11:47:36 1Wuf84-0004o3-E4 remote host address is the local host: server2.mydomain.cz
2014-06-11 11:47:36 1Wuf84-0004o3-E4 == [email protected] R=dnslookup defer (-1): **remote host address is the local host**
2014-06-11 11:47:36 1Wuf84-0004o3-E4 Frozen
Code: Select all
root@server2:~# exim -bt localhost
LOG: MAIN
remote host address is the local host: server2.danielblazek.cz (while routing <[email protected]>)
[email protected] cannot be resolved at this time: remote host address is the local host
root@server2:~#
Code: Select all
root@server2:~# hostname && hostname -f
server2
server2.mydomain.cz
Code: Select all
root@server2:~# cat /etc/aliases
# /etc/aliases
mailer-daemon: postmaster
postmaster: root
nobody: root
hostmaster: root
usenet: root
news: root
webmaster: root
www: root
ftp: root
abuse: root
noc: root
security: root
root: root
clamav: root
Please ask me if you need more information or outputs. Thank you for all replies!
btw. My friend also using vestacp and have some problem like I have.
Daniel