We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
exim4 cannot send email to root (all localhost users)
-
- Posts: 2
- Joined: Wed Jun 11, 2014 3:35 pm
exim4 cannot send email to root (all localhost users)
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
Re: exim4 cannot send email to root (all localhost users)
Open up exim's config file and look for "never_users = root" and take that out. Should take care of it for you :)
-
- Posts: 2
- Joined: Wed Jun 11, 2014 3:35 pm
Re: exim4 cannot send email to root (all localhost users)
THX! For replay. I have still problem to send email to root...jarland wrote:Open up exim's config file and look for "never_users = root" and take that out. Should take care of it for you :)
Code: Select all
2014-06-16 17:42:53 1WwZ3d-0007th-4u <= [email protected] U=root P=local S=403
2014-06-16 17:42:53 1WwZ3d-0007th-4u remote host address is the local host: server2.mydomain.cz
2014-06-16 17:42:53 1WwZ3d-0007th-4u == [email protected] R=dnslookup defer (-1): remote host address is the local host
2014-06-16 17:42:53 1WwZ3d-0007th-4u ** [email protected]: retry timeout exceeded
2014-06-16 17:42:53 1WwZ3d-0007tl-88 <= <> R=1WwZ3d-0007th-4u U=Debian-exim P=local S=1287
2014-06-16 17:42:53 1WwZ3d-0007tl-88 remote host address is the local host: server2.mydomain.cz
2014-06-16 17:42:53 1WwZ3d-0007tl-88 == [email protected] R=dnslookup defer (-1): remote host address is the local host
2014-06-16 17:42:53 1WwZ3d-0007tl-88 ** [email protected]: retry timeout exceeded
2014-06-16 17:42:53 1WwZ3d-0007tl-88 [email protected]: error ignored
2014-06-16 17:42:53 1WwZ3d-0007th-4u Completed
2014-06-16 17:42:53 1WwZ3d-0007tl-88 Completed
Re: exim4 cannot send email to root (all localhost users)
Hi, Daniel
your problem is solved ?
your problem is solved ?
Re: exim4 cannot send email to root (all localhost users)
Hi there, i have the same problem. Does anyone fixed it?
Re: exim4 cannot send email to root (all localhost users)
Hello, I've fixed this problem.
1) Ensure, that server hostname has dns entry or add to /etc/hosts file ip and hostname, like this "192.168.11.11 test01.server.com test01"
1) Go to mail tab in admin account
2) Create new mail domain like server's hostname. Run "hostname -f" to check hostname.
3) Create new email account named "root@domain"
4) Optionally create forward to some other email
1) Ensure, that server hostname has dns entry or add to /etc/hosts file ip and hostname, like this "192.168.11.11 test01.server.com test01"
1) Go to mail tab in admin account
2) Create new mail domain like server's hostname. Run "hostname -f" to check hostname.
3) Create new email account named "root@domain"
4) Optionally create forward to some other email