Mail Gateway 8.1.2 & External out-of-office notification from Exchange 2013

Andy90h

New Member
Apr 20, 2024
3
0
1
Good day, colleagues. Please help me.
I have co-workers pmg 8.1.2 & MS Exchange 2013. Regular mail works fine. It goes through, is filtered and everything is fine, except for one thing.
External OOF message notification from Exchange 2013 does not pass through pmg. Everything is configured correctly on the exchanger - notifications go away.
But after some time, PMG returns them to the administrator. What can be configured to fix the problem?
 
please share the logs of such a mail from the PMG - maybe this will tell us what is not working as you expect it...
 
please share the logs of such a mail from the PMG - maybe this will tell us what is not working as you expect it...
What do you mean, mail.log or something else?

I got autoreplay from pmg like this one.
Received: from exch2013.mydomain.com (192.168.1.12) by
exch2013.mydomain.com (192.168.1.12) with Microsoft SMTP Server (TLS) id
15.0.1497.48 via Mailbox Transport; Tue, 16 Apr 2024 00:01:41 +0300
Received: from exch2013.mydomain.com (192.168.1.12) by
exch2013.mydomain.com (192.168.1.12) with Microsoft SMTP Server (TLS) id
15.0.1497.48; Tue, 16 Apr 2024 00:01:07 +0300
Received: from pmg.mydomain.com (192.168.1.6) by exch2013.mydomain.com
(192.168.1.12) with Microsoft SMTP Server (TLS) id 15.0.1497.48 via Frontend
Transport; Tue, 16 Apr 2024 00:01:07 +0300
Received: by pmg.mydomain.com (Proxmox)
id B4F4720CA2; Tue, 16 Apr 2024 00:01:07 +0300 (MSK)
Delivered-To: postmaster@pmg.mydomain.com
Received: from pmg.mydomain.com (localhost.localdomain [127.0.0.1])
by pmg.mydomain.com (Proxmox) with ESMTP id A845020C8C
for <postmaster@pmg.mydomain.com>; Tue, 16 Apr 2024 00:01:07 +0300 (MSK)
Received: from mail.mydomain.com (mail.mydomain.com [192.168.1.12])
by pmg.mydomain.com (Proxmox) with ESMTPS id 82B5F2030C
for <postmaster@pmg.mydomain.com>; Tue, 16 Apr 2024 00:01:07 +0300 (MSK)
Received: from exch2013.mydomain.com (192.168.1.12) by
exch2013.mydomain.com (192.168.1.12) with Microsoft SMTP Server (TLS) id
15.0.1497.48; Tue, 16 Apr 2024 00:01:06 +0300
Received: from exch2013.mydomain.com ([::1]) by exch2013.mydomain.com
([::1]) with Microsoft SMTP Server id 15.00.1497.048; Tue, 16 Apr 2024
00:01:06 +0300
From: "Andrey A. Levashov" <andy@mydomain.com>
To: Proxmox Mail Gateway <postmaster@pmg.mydomain.com>
Subject: =?koi8-r?B?4dfUz83B1MnexdPLycogz9TXxdQ6IFByb3htb3ggU3RhdHVzIFJlcG9ydCAt?=
=?koi8-r?Q?_2024-04-15_(pmg.mydomain.com)?=
Thread-Topic: Proxmox Status Report - 2024-04-15 (pmg.mydomain.com)
Thread-Index: AQHaj3gIaIOHh7zygU+Q6ioiOIhqqrFp0SFu
Date: Mon, 15 Apr 2024 21:01:06 +0000
Message-ID: <5c841cbe8aa24edabcdf373f0a2659b5@exch2013.mydomain.com>
References: <20240415210106.A19842030C@pmg.mydomain.com>
In-Reply-To: <20240415210106.A19842030C@pmg.mydomain.com>
X-MS-Has-Attach:
X-Auto-Response-Suppress: All
X-MS-Exchange-Inbox-Rules-Loop: andy@mydomain.com
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-ms-exchange-parent-message-id: <20240415210106.A19842030C@pmg.mydomain.com>
auto-submitted: auto-generated
x-ms-exchange-generated-message-source: Mailbox Rules Agent
Content-Type: multipart/alternative;
boundary="_000_5c841cbe8aa24edabcdf373f0a2659b5exch2013MYDOMAINCOM_"
MIME-Version: 1.0
Return-Path: <>
X-MS-Exchange-Organization-Network-Message-Id: e8c15139-2349-42e4-76d7-08dc5d8f2bc4
X-MS-Exchange-Organization-AVStamp-Enterprise: 1.0
X-MS-Exchange-Organization-AuthSource: exch2013.mydomain.com
X-MS-Exchange-Organization-AuthAs: Anonymous

subject: Automatic reply: Proxmox Status Report - 2024-04-20

External OOF message content
 
What do you mean, mail.log or something else?
yes - the relevant lines from the journal/syslog/mail.log - potentially even the data from the tracking center should be enough ;)
 
Unfortunately, there is no information about sending an autoreply in the logs. But there is information about sending this auto-reply to the administrator, as I wrote above. Where to look, where to find traces of sending an auto-reply to PMG?

2024-04-25T23:08:01.062254+03:00 mail postfix/postscreen[2040005]: CONNECT from [EXTMAIL.COM_IP]:53028 to [MY_EXT_IP]:25
2024-04-25T23:08:07.210966+03:00 mail postfix/postscreen[2040005]: PASS OLD [EXTMAIL.COM_IP]:53028
2024-04-25T23:08:07.517552+03:00 mail postfix/smtpd[2040006]: connect from mxout3.extmail.com[EXTMAIL.COM_IP]
2024-04-25T23:08:10.700542+03:00 mail pmgpolicy[2037953]: reloading configuration Proxmox_ruledb
2024-04-25T23:08:10.948395+03:00 mail pmgpolicy[2037953]: SPF says pass
2024-04-25T23:08:17.390277+03:00 mail postfix/smtpd[2040006]: 5EEE020041: client=mxout3.extmail.com[EXTMAIL.COM_IP]
2024-04-25T23:08:17.402006+03:00 mail postfix/cleanup[2041373]: 5EEE020041: message-id=<554e7359013b156234a9e74aea98ad16@mail.extmail.com>
2024-04-25T23:08:17.405173+03:00 mail postfix/smtpd[2040006]: disconnect from mxout3.extmail.com[EXTMAIL.COM_IP] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
2024-04-25T23:08:17.405975+03:00 mail postfix/qmgr[578731]: 5EEE020041: from=<own@extmail.com>, size=2384, nrcpt=1 (queue active)
2024-04-25T23:08:17.512500+03:00 mail pmg-smtp-filter[2040060]: 2024/04/25-23:08:17 CONNECT TCP Peer: "[127.0.0.1]:43478" Local: "[127.0.0.1]:10024"
2024-04-25T23:08:17.617855+03:00 mail pmg-smtp-filter[2040060]: 204CF662AB83189807: new mail message-id=<554e7359013b156234a9e74aea98ad16@mail.extmail.com>#012
2024-04-25T23:08:18.953415+03:00 mail pmg-smtp-filter[2040060]: 204CF662AB83189807: SA score=0/5 time=1.211 bayes=0.00 autolearn=no autolearn_force=no hits=AWL(0.328),BAYES_00(-1.9),DKIM_INVALID(0.1),DKIM_SIGNED(0.1),DMARC_PASS(-0.1),FREEMAIL_FROM(0.001),HTML_MESSAGE(0.001),KAM_DMARC_STATUS(0.01),KAM_NUMSUBJECT(0.5),SPF_PASS(-0.001),T_SPF_HELO_TEMPERROR(0.01)
2024-04-25T23:08:18.985189+03:00 mail postfix/smtpd[2041401]: connect from localhost.localdomain[127.0.0.1]
2024-04-25T23:08:18.990504+03:00 mail postfix/smtpd[2041401]: F1B8920827: client=localhost.localdomain[127.0.0.1], orig_client=mxout3.extmail.com[EXTMAIL.COM_IP]
2024-04-25T23:08:19.035821+03:00 mail postfix/cleanup[2041373]: F1B8920827: message-id=<554e7359013b156234a9e74aea98ad16@mail.extmail.com>
2024-04-25T23:08:19.040263+03:00 mail postfix/qmgr[578731]: F1B8920827: from=<own@extmail.com>, size=3445, nrcpt=1 (queue active)
2024-04-25T23:08:19.040458+03:00 mail postfix/smtpd[2041401]: disconnect from localhost.localdomain[127.0.0.1] ehlo=1 xforward=1 mail=1 rcpt=1 data=1 commands=5
2024-04-25T23:08:19.040650+03:00 mail pmg-smtp-filter[2040060]: 204CF662AB83189807: accept mail to <andy@mydomain.com> (F1B8920827) (rule: default-accept)
2024-04-25T23:08:19.049527+03:00 mail pmg-smtp-filter[2040060]: 204CF662AB83189807: processing time: 1.476 seconds (1.211, 0.091, 0)
2024-04-25T23:08:19.050411+03:00 mail postfix/lmtp[2041374]: 5EEE020041: to=<andy@mydomain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=11, delays=9.8/0.1/0.06/1.5, dsn=2.5.0, status=sent (250 2.5.0 OK (204CF662AB83189807))
2024-04-25T23:08:19.050780+03:00 mail postfix/qmgr[578731]: 5EEE020041: removed
2024-04-25T23:08:19.321748+03:00 mail postfix/smtp[2041402]: F1B8920827: to=<andy@mydomain.com>, relay=192.168.1.12[192.168.1.12]:25, delay=0.33, delays=0.05/0.09/0.06/0.13, dsn=2.6.0, status=sent (250 2.6.0 <554e7359013b156234a9e74aea98ad16@mail.extmail.com> [InternalId=126010045497352, Hostname=exch2013.mydomain.com] Queued mail for delivery)
2024-04-25T23:08:19.322065+03:00 mail postfix/qmgr[578731]: F1B8920827: removed
2024-04-25T23:08:34.284568+03:00 mail pmgpolicy[827]: starting policy database maintenance (greylist, rbl)
2024-04-25T23:08:34.345057+03:00 mail pmgpolicy[827]: end policy database maintenance (28 ms, 7 ms)

there's nothing else
The tracking center is also empty.
Сan any postfix settings affect this?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!