Cannot "deliver" SPAM from quarentine

liszca

Well-Known Member
May 8, 2020
99
2
48
24
When I try to deliver SPAM E-Mails they get "queued/bounced".
I remember it was once working, how to debug?

This is the message I got from the tracking center after hitting delivery:
Code:
2026-02-27T22:00:57.318006+00:00 mail postfix/smtpd[19353]: connect from localhost[127.0.0.1]
2026-02-27T22:00:57.330755+00:00 mail postfix/smtpd[19353]: 50B212D974: client=localhost[127.0.0.1]
2026-02-27T22:00:57.331522+00:00 mail postfix/cleanup[19356]: 50B212D974: message-id=<000000000000d6e35b064b3b59f7@google.com>
2026-02-27T22:00:57.379629+00:00 mail postfix/smtpd[19353]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 commands=4
2026-02-27T22:00:57.380032+00:00 mail postfix/qmgr[1980]: 50B212D974: from=<postmaster@mail.example.de>, size=10051, nrcpt=1 (queue active)
2026-02-27T22:00:57.438496+00:00 mail postfix/smtp[19357]: Trusted TLS connection established to 192.168.178.139[192.168.178.139]:25: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519
2026-02-27T22:00:57.504219+00:00 mail postfix/smtp[19357]: 50B212D974: to=<example@example.de>, relay=192.168.178.139[192.168.178.139]:25, delay=0.18, delays=0.06/0.02/0.07/0.03, dsn=5.7.1, status=bounced (host 192.168.178.139[192.168.178.139] said: 554 5.7.1 <example@example.de>: Recipient address rejected: SMTP AUTH is required for users under this sender domain (in reply to RCPT TO command))
2026-02-27T22:00:57.513126+00:00 mail postfix/qmgr[1980]: 50B212D974: removed

At first I thought its because postmaster got the full hostname, but in another Thread I found out that is intentional. How does it have "SMTP AUTH is required ..."?
 
Hi,

Is "192.168.178.139" your mail server ?
If yes the reject seem to come from it.

Best regards,
 
  • Like
Reactions: liszca
Adding the Proxmox Mail Gateway to the mailservers whitelist helped.

Many thanks for the hints.
 
Somehow I am again unable to deliver SPAM.

Checked the Whitelist on the Mailserver and that looks fine.
In the Tracking Center it shows up as "queued/delivered".

I had the wrong expectiation, I was looking for a mail from postmaster@mail.example.com but its only shown in "View Source" can I do something about that?
 
Last edited:
Hi,

You should show the logs, but if the status is "queued/delivered" it's most likely that your mail server has accepted the mail and you should look at the log of this server.

Best regards,
 
It's an issue with the PMG hostname in main.cf and myorigin, this fixed it for me:

Code:
postconf -e "myhostname = proxmox-mail-gateway.your_domain.com"
postconf -e "myorigin = your_domain.com"
postconf -e "smtp_tls_security_level = may"
systemctl restart postfix
postqueue -f