Page 1 of 1

Mail not delivered

Posted: 14 Nov 2016 06:44
by tentaclefi
Hi,

On saturday I added few more domains to EFA appliance, configured transport destination and changed MX.

I saw that mail started to come in and didn't check the logs.

Now it seems that mail did not get delivered at all but I saw all emails from EFA recent messages tab.

Logs say that these may be stored in MySQL.

Is there a way to release emails from certain period of time or other solution? Mail was non-spam.

Re: Mail not delivered

Posted: 15 Nov 2016 08:09
by AngeloC
Hello,
since yesterday we have the similar problem.

After a Server Restart the mail server will not be forward the mail.

Working Log:

Code: Select all

Nov 14 06:06:04 mail01 postfix/smtpd[36294]: warning: 46.X.X.X: hostname 46-165-216-178.leaseweb.com verification failed: Name or service not known
Nov 14 06:06:04 mail01 postfix/smtpd[36294]: connect from unknown[46.X.X.X]
Nov 14 06:06:04 mail01 postfix/smtpd[36294]: setting up TLS connection from unknown[46.X.X.X]
Nov 14 06:06:04 mail01 postfix/smtpd[36294]: Anonymous TLS connection established from unknown[46.X.X.X]: TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)
Nov 14 06:06:04 mail01 postfix/trivial-rewrite[36298]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
Nov 14 06:06:04 mail01 sqlgrey: grey: from awl match: updating 46.X.X.X(46.X.X.X), Angelo@Source.X(Angelo@Source.X)
Nov 14 06:06:04 mail01 postfix/cleanup[36308]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
Nov 14 06:06:04 mail01 postfix/smtpd[36294]: 8CABD121BB2: client=unknown[46.X.X.X]
Nov 14 06:06:04 mail01 postfix/cleanup[36308]: 8CABD121BB2: hold: header Received: from Source.X (unknown [46.X.X.X])??(using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits))??(No client certificate requested)??by ext.Mail (Postf from unknown[46.X.X.X]; from=<Angelo@Source.X> to=<Angelo@Dest.X> proto=ESMTP helo=<Source.X>
Nov 14 06:06:04 mail01 postfix/cleanup[36308]: 8CABD121BB2: message-id=<1479099601.943556.25014.nullmailer@source.X>
Nov 14 06:06:04 mail01 postfix/smtpd[36294]: disconnect from unknown[46.X.X.X]
Nov 14 06:06:04 mail01 MailScanner[24777]: New Batch: Scanning 1 messages, 1781 bytes
Nov 14 06:06:04 mail01 MailScanner[24777]: Virus and Content Scanning: Starting
Nov 14 06:06:04 mail01 MailScanner[24777]: Spam Checks: Starting
Nov 14 06:06:04 mail01 MailScanner[24777]: Expired 1 records from the SpamAssassin cache
Nov 14 06:06:04 mail01 MailScanner[24777]: Whitelist refresh time reached
Nov 14 06:06:04 mail01 MailScanner[24777]: Starting up SQL Whitelist
Nov 14 06:06:04 mail01 MailScanner[24777]: Read 12 whitelist entries
Nov 14 06:06:04 mail01 MailScanner[24777]: Blacklist refresh time reached
Nov 14 06:06:04 mail01 MailScanner[24777]: Starting up SQL Blacklist
Nov 14 06:06:04 mail01 MailScanner[24777]: Read 0 blacklist entries
Nov 14 06:06:10 mail01 MailScanner[24777]: Requeue: 8CABD121BB2.AC96B to 04B46121BD9
Nov 14 06:06:10 mail01 postfix/qmgr[1997]: 04B46121BD9: from=<Angelo@Source.X>, size=1080, nrcpt=1 (queue active)
Nov 14 06:06:10 mail01 MailScanner[24777]: Uninfected: Delivered 1 messages
Nov 14 06:06:10 mail01 MailScanner[24777]: Deleted 1 messages from processing-database
Nov 14 06:06:10 mail01 MailScanner[24777]: Logging message 8CABD121BB2.AC96B to SQL
Nov 14 06:06:10 mail01 postfix/trivial-rewrite[36356]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
Nov 14 06:06:28 mail01 postfix/smtp[36357]: 04B46121BD9: to=<Angelo@Dest.X>, relay=in.Mail[192.168.X.X]:25, delay=24, delays=5.7/0.02/0.21/18, dsn=2.6.0, status=sent (250 2.6.0 <1479099601.943556.25014.nullmailer@source.X> [InternalId=94081258618890, Hostname=in.Mail] Queued mail for delivery)
Nov 14 06:06:28 mail01 postfix/qmgr[1997]: 04B46121BD9: removed
not working Log:

Code: Select all

Nov 14 17:22:02 mail01 postfix/smtpd[16074]: connect from unknown[46.X.X.X]
Nov 14 17:22:02 mail01 postfix/smtpd[16074]: setting up TLS connection from unknown[46.X.X.X]
Nov 14 17:22:02 mail01 postfix/smtpd[16074]: Anonymous TLS connection established from unknown[46.X.X.X]: TLSv1.1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Nov 14 17:22:02 mail01 postfix/trivial-rewrite[16092]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
Nov 14 17:22:02 mail01 sqlgrey: grey: domain awl match: updating 46.253.112(46.X.X.X), Source.X
Nov 14 17:22:02 mail01 postfix/cleanup[16093]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
Nov 14 17:22:02 mail01 postfix/smtpd[16074]: A4465121BB2: client=unknown[46.X.X.X]
Nov 14 17:22:02 mail01 postfix/cleanup[16093]: A4465121BB2: hold: header Received: from unknown (unknown [46.X.X.X])??(using TLSv1.1 with cipher DHE-RSA-AES256-SHA (256/256 bits))??(No client certificate requested)??by ext.Mail (Po from unknown[46.X.X.X]; from=<cookie@Source.X> to=<Angelo@Dest.X> proto=ESMTP helo=<unknown>
Nov 14 17:22:02 mail01 postfix/cleanup[16093]: A4465121BB2: message-id=<66B11BA4-1A8E-4809-9DA9-69DF092BBADB@Source.X>
Nov 14 17:22:02 mail01 postfix/smtpd[16074]: disconnect from unknown[46.X.X.X]
Nov 14 17:22:05 mail01 MailScanner[1842]: New Batch: Scanning 1 messages, 3071 bytes
Nov 14 17:22:05 mail01 MailScanner[1842]: Virus and Content Scanning: Starting
Nov 14 17:22:05 mail01 MailScanner[1842]: <A> tag found in message A4465121BB2.AD9D9 from cookie@Source.X
Nov 14 17:22:05 mail01 MailScanner[1842]: Spam Checks: Starting
Nov 14 17:22:05 mail01 MailScanner[1842]: Whitelist refresh time reached
Nov 14 17:22:05 mail01 MailScanner[1842]: Starting up SQL Whitelist
Nov 14 17:22:05 mail01 MailScanner[1842]: Read 12 whitelist entries
Nov 14 17:22:05 mail01 MailScanner[1842]: Message A4465121BB2.AD9D9 from 46.X.X.X (cookie@Source.X) is whitelisted
Nov 14 17:22:05 mail01 MailScanner[1842]: Deleted 1 messages from processing-database
Nov 14 17:22:05 mail01 MailScanner[1842]: Logging message A4465121BB2.AD9D9 to SQL
I hope that someone can helping.

Greats Angelo

Re: Mail not delivered

Posted: 28 Nov 2016 22:46
by robachicken
Bit late but I've just had the same problem and posted fix here: viewtopic.php?f=13&t=2016

To fix it, go to shell and then nano /etc/MailScanner/MailScanner.conf
Find the "Non Spam Actions" line and change to:

Code: Select all

Non Spam Actions = store deliver header "X-Spam-Status:No"
Then when changed, reload mail scanner by running: service MailScanner reload