Delays in mail deliveries

Bastian Blank bblank at thinkmo.de
Wed Mar 2 08:42:08 CET 2022


Hi Nicolas

On Tue, Mar 01, 2022 at 11:20:34PM +0200, Nikolaos Milas wrote:
> In our organizational mail architecture we have two mail gateway servers
> accepting mail from the Internet; the servers are Rocky Linux running
> postfix, amavis, spamassassin, clamav (as usual). These two servers process
> incoming mail and deliver to the final destination, a mailbox server
> (running postfix/dovecot), also being the outgoing mail server.

First: No Postfix, but something called "NOA MAIL ICXC-NIKA".
Second: Show logs, not altered apart the localpart.

> Unfortunately, the mail gateway servers may delay while processing mail
> (esp. if there is some increased load at the time, so the queue may take
> longer to get processed), so such mails may delay for an unacceptable amount
> of time.

Please show logs.  Because the e-mail you showed lists a delivery time
of less then five minutes.  Most of the time not related at all to
Amavis.

> ====================================================== Verification Mail
> Example / Start ===================================================

Let's go through the mail step by step.

> Date: Tue, 01 Mar 2022 06:36:14 +0000
> Received: from westeurope0.notifyp.svc.ms (52.232.126.143) by
>  VE1EUR03FT048.mail.protection.outlook.com (10.152.19.8) with Microsoft SMTP
>  Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
>  15.20.5017.22 via Frontend Transport; Tue, 1 Mar 2022 06:36:14 +0000

So submitted 06:36:14Z.

> Received: from EUR05-AM6-obe.outbound.protection.outlook.com
> (mail-am6eur05on2107.outbound.protection.outlook.com [40.107.22.107])
>     by mailgw1.noa.gr (NOA MAIL ICXC-NIKA) with ESMTPS id 4K76w10b2bzLrN2
>     for <nuserxyz at noa.gr>; Tue,  1 Mar 2022 08:36:16 +0200 (EET)

Received two seconds later at mailgw1.noa.gr.  Wait, this is no Postfix,
but something weird called "NOA MAIL ICXC-NIKA"!

> Received: from mailgw1.noa.gr ([127.0.0.1])
>     by localhost (mailgw1.noa.gr [127.0.0.1]) (amavisd-new, port 10024)
>     with LMTP id EG6CD8_ppl7r for <nuserxyz at noa.gr>;
>     Tue,  1 Mar 2022 08:36:17 +0200 (EET)

Another second later at Amavis.

> Received: from localhost (localhost [127.0.0.1])
>     by mailgw1.noa.gr (NOA MAIL ICXC-NIKA) with ESMTP id 4K76w30stzzLrN6
>     for <nuserxyz at noa.gr>; Tue,  1 Mar 2022 08:36:19 +0200 (EET)

Again two seconds later at something not-Postfix, but with the same name
andsimilar queue ids as the first one.

> Received: from mailgw1.noa.gr (mailgw1.noa.gr [IPv6:2001:648:2ffc:1115::27])
>     (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
>     (No client certificate requested)
>     by vmail2.noa.gr (IC-XC-NI-KA) with ESMTPS id 2B2AB800279E8
>     for <nuserxyz at noa.gr>; Tue,  1 Mar 2022 08:36:19 +0200 (EET)

Immediately received by a non-Postfix mailgw1.noa.gr.

> Received: from vmail2.noa.gr
>     by vmail2.noa.gr with LMTP id ENPiG+K/HWI1WwAAcV+qjQ
>     for <nuserxyz at noa.gr>; Tue, 01 Mar 2022 08:40:34 +0200

Received four minutes later via LMTP at vmail2.noa.gr, which looks like
a Dovecot.

Bastian

-- 
You!  What PLANET is this!
		-- McCoy, "The City on the Edge of Forever", stardate 3134.0


More information about the amavis-users mailing list