[SOLVED] Relaying not working after update

TobiTobs

Member
Jun 3, 2022
11
2
8
Hi everyone,

after a recent update all relaying to my mailserver stopped.
In the logs I can see that mails get relayed to localhost (127.0.0.1) and I can find them unter /var/mail/mail but obviously they should be sent to the mailserver.
Snippet of the log file of one mail:

Code:
ul 19 11:13:19 mxgate01 postfix/smtpd[42376]: connect from mail-ed1-x52c.google.com[2a00:1450:4864:20::52c]
Jul 19 11:13:19 mxgate01 postfix/smtpd[42376]: 3EE6840327: client=mail-ed1-x52c.google.com[2a00:1450:4864:20::52c]
Jul 19 11:13:19 mxgate01 postfix/cleanup[42385]: 3EE6840327: message-id=<EB642FDB-A9DA-4038-8ADB-5649CEE9066D@gmail.com>
Jul 19 11:13:19 mxgate01 postfix/qmgr[42369]: 3EE6840327: from=<b**r.t****s@gmail.com>, size=2912, nrcpt=1 (queue active)
Jul 19 11:13:19 mxgate01 pmg-smtp-filter[41300]: 2022/07/19-11:13:19 CONNECT TCP Peer: "[127.0.0.1]:34426" Local: "[127.0.0.1]:10024"
Jul 19 11:13:19 mxgate01 pmg-smtp-filter[41300]: 4058162D675AF46017: new mail message-id=<EB642FDB-A9DA-4038-8ADB-5649CEE9066D@gmail.com>
Jul 19 11:13:19 mxgate01 pmg-smtp-filter[41300]: 4058162D675AF46017: SA score=0/5 time=0.461 bayes=undefined autolearn=no autolearn_force=no hits=DKIM_SIGNED(0.1),DKIM_VALID(-0.1),DKIM_VALID_AU(-0.1),DKIM_VALID_EF(-0.1),FREEMAIL_FROM(0.001),KAM_NUMSUBJECT(0.5),SPF_HELO_NONE(0.001),SPF_PASS(-0.001)
Jul 19 11:13:19 mxgate01 postfix/smtpd[42390]: connect from localhost.localdomain[127.0.0.1]
Jul 19 11:13:19 mxgate01 postfix/smtpd[42390]: CA817405D4: client=localhost.localdomain[127.0.0.1], orig_client=mail-ed1-x52c.google.com[2a00:1450:4864:20::52c]
Jul 19 11:13:19 mxgate01 postfix/cleanup[42385]: CA817405D4: message-id=<EB642FDB-A9DA-4038-8ADB-5649CEE9066D@gmail.com>
Jul 19 11:13:19 mxgate01 postfix/qmgr[42369]: CA817405D4: from=<b**r.t****s@gmail.com>, size=3836, nrcpt=1 (queue active)
Jul 19 11:13:19 mxgate01 pmg-smtp-filter[41300]: 4058162D675AF46017: accept mail to <mail@b******s.de> (CA817405D4) (rule: default-accept)
Jul 19 11:13:19 mxgate01 postfix/smtpd[42390]: disconnect from localhost.localdomain[127.0.0.1] ehlo=1 xforward=1 mail=1 rcpt=1 data=1 commands=5
Jul 19 11:13:19 mxgate01 pmg-smtp-filter[41300]: 4058162D675AF46017: processing time: 0.547 seconds (0.461, 0.042, 0)
Jul 19 11:13:19 mxgate01 postfix/lmtp[42386]: 3EE6840327: to=<mail@b******s.de>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.59, delays=0.01/0.02/0.01/0.55, dsn=2.5.0, status=sent (250 2.5.0 OK (4058162D675AF46017))
Jul 19 11:13:19 mxgate01 postfix/qmgr[42369]: 3EE6840327: removed
Jul 19 11:13:19 mxgate01 postfix/local[42392]: CA817405D4: to=<mail@b******s.de>, relay=local, delay=0.05, delays=0.01/0.03/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox)
Jul 19 11:13:19 mxgate01 postfix/qmgr[42369]: CA817405D4: removed
Jul 19 11:13:49 mxgate01 postfix/smtpd[42376]: disconnect from mail-ed1-x52c.google.com[2a00:1450:4864:20::52c] ehlo=2 starttls=1 mail=1 rcpt=1 bdat=1 quit=1 commands=7

I did not change any config files etc - any idea what this could be?

Thanks in advance!
Tobias
 
Solved: I don't know why but I use the domain name as host for relaying and that went bezerk...with a different name it is now working - although it did work like this before!
 

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!