Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

exim4 cannot send email to root (all localhost users)

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
7 posts • Page 1 of 1
danielbla0172!
Posts: 2
Joined: Wed Jun 11, 2014 3:35 pm

exim4 cannot send email to root (all localhost users)
  • Quote

Post by danielbla0172! » 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:

Code: Select all

root@server2:~# echo TEST | mail -s "Hello this is testing email" root
In log (/var/log/exim4/mainlog) is this message:

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
Local host is routable (I hope):

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:~# 
Configuration of hostname is right:

Code: Select all

root@server2:~# hostname && hostname -f
server2
server2.mydomain.cz
Aliases seems to be OK:

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
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
Top

jarland
Posts: 28
Joined: Sat Dec 07, 2013 10:40 pm
Contact:
Contact jarland
Website

Re: exim4 cannot send email to root (all localhost users)
  • Quote

Post by jarland » Mon Jun 16, 2014 12:15 am

Open up exim's config file and look for "never_users = root" and take that out. Should take care of it for you :)
Top

danielbla0172!
Posts: 2
Joined: Wed Jun 11, 2014 3:35 pm

Re: exim4 cannot send email to root (all localhost users)
  • Quote

Post by danielbla0172! » Mon Jun 16, 2014 3:52 pm

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 :)
THX! For replay. I have still problem to send email to root...

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
:@
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: exim4 cannot send email to root (all localhost users)
  • Quote

Post by imperio » Sat Jun 28, 2014 5:07 pm

Hi, Daniel
your problem is solved ?
Top

7thkey
Posts: 8
Joined: Wed Aug 06, 2014 4:49 pm

Re: exim4 cannot send email to root (all localhost users)
  • Quote

Post by 7thkey » Wed Aug 13, 2014 2:34 pm

Hi there, i have the same problem. Does anyone fixed it?
Top

Deeryo
Posts: 190
Joined: Tue Nov 05, 2013 1:55 pm

Re: exim4 cannot send email to root (all localhost users)
  • Quote

Post by Deeryo » Fri Aug 15, 2014 12:44 pm

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
Top

hnoor0033
Posts: 1
Joined: Sat Apr 02, 2016 10:56 am

Re: exim4 cannot send email to root (all localhost users)
  • Quote

Post by hnoor0033 » Sat Apr 02, 2016 11:08 am

thanks for everything


______________
== Chess ==
Top


Post Reply
  • Print view

7 posts • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password