Problem receiving emails

5 posts / 0 new
Last post
#1 Thu, 02/18/2016 - 09:13
tejhunter

Problem receiving emails

hi,
I can send emails but not receive.
I check the DNS MX and everything is OK.

I have the following mail.log :
Feb 18 16:00:02 dn5 postfix/local[3404]: 9F2BE2F113: to=<root@myhost.net>, orig_to=<root>, relay=local, delay=0.68, delays=0.02/0.01/0/0.64, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -Y -a $DOMAIN)
Feb 18 16:00:02 dn5 postfix/qmgr[1324]: 9F2BE2F113: removed

/etc/procmailrc file :
LOGFILE=/var/log/procmail.log
TRAP=/etc/webmin/virtual-server/procmail-logger.pl
:0wi
VIRTUALMIN=|/etc/webmin/virtual-server/lookup-domain.pl $LOGNAME
EXITCODE=$?
:0
* ?/usr/bin/test "$EXITCODE" = "73"
/dev/null
EXITCODE=0
:0
* ?/usr/bin/test "$VIRTUALMIN" != ""
{
INCLUDERC=/etc/webmin/virtual-server/procmail/$VIRTUALMIN
}
DEFAULT=$HOME/Maildir/
ORGMAIL=$HOME/Maildir/
DROPPRIVS=yes

for /var/log/procmail.log :
From email@hotmail.fr Thu Feb 18 16:11:31 2016
Subject: testmail
Folder: /root/Maildir/new/1455808291.3901_0.dn5.dnsdev.net 1702
Time:1455808291 From:email@hotmail.fr To:email@domain.tn User:root Size:1755 Dest:/root/Maildir/new/1455808291.3901_0.myhost.net Mode:None

Thanks

Thu, 02/18/2016 - 10:56
andreychek

Howdy,

What email address are you trying to email?

It looks like that email is being delivered to the root user.

If you're not doing this already, you may want to test sending the email to a regular email user on your server.

-Eric

Thu, 02/18/2016 - 11:22 (Reply to #2)
tejhunter

thank you for your reply,

I created a new email test@mydomaine.com May the same problem, effectively, I find the messages on the root mail box.

May I do not know why!

Thanks

Tue, 02/23/2016 - 04:17
tejhunter

Someone can help me !

Tue, 02/23/2016 - 04:27
coderinthebox

Maybe you need to give the domain name so we can perform an MX check.

Visit me at coderinthebox.com

Topic locked