PMG dosen´t deliver Spam when you Click on the Deliver Button

Niclas

Member
Jan 26, 2021
10
1
8
21
Hello guy,

im new in PMG. I set it up in connection with an mailcow Instance. Everything works fine, but when i want to deliver an as Spam marked Email it dose not work.
In the Syslog Tab you can see this Error Message:

Code:
Trusted TLS connection established to 193.168.7.2[193.168.7.2]:25: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)
Sep 01 16:39:19 mail postfix/smtp[1967]: 9F34C406B5: to=<postmaster@mydomain.de>, relay=193.168.7.2[193.168.7.2]:25, delay=0.84, delays=0/0/0.02/0.81, dsn=5.1.1, status=bounced (host 193.168.7.2[193.168.7.2] said: 550 5.1.1 <postmaster@mydomain.de>: Recipient address rejected: User unknown in virtual mailbox table (in reply to RCPT TO command))
Sep 01 16:39:19 mail postfix/qmgr[788]: 9F34C406B5: removed

At me Mailserver this Messages appear:

Code:
01.09.2022, 16:34:29    info    disconnect from unknown[193.168.7.3] ehlo=2 starttls=1 mail=1 rcpt=0/1 data=0/1 rset=1 quit=1 commands=6/8
01.09.2022, 16:34:29    info    NOQUEUE: reject: RCPT from unknown[193.168.7.3]: 550 5.1.1 <postmaster@mydomain.de>: Recipient address rejected: User unknown in virtual mailbox table; from=<> to=<postmaster@mydomain.de> proto=ESMTP helo=<mail.mydomain.de>
01.09.2022, 16:34:28    info    Anonymous TLS connection established from unknown[193.168.7.3]: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)
01.09.2022, 16:34:28    info    connect from unknown[193.168.7.3]


So i looked at the Error Message an noticed that the Mailbox "postmaster@mydomain.de" dose not exists. So i created it, but the Error Message is still the same.
After that i noticed that the receaver is "postmaster@mydomain.de". But the User where the Spam has to deliverd uses the E-Mailadresse user.name@mydoamin.de

Bildschirmfoto 2022-09-01 um 16.52.19.png

I hope you can help me solving this Issue.
Thank to all how want to help me!
 
Which server is your PMG - info or mail? - the other one is your mailcow instance?

Since both are postfix instances it's a bit hard to understand what's going on
also it would help to provide a bit more of context from the logs
 
Hello, The Mailgateway dose his Job as Gateway. So he Filters In- and Outgoing Mails. Mailcow on the other Hand is the Mailserver behind it. It saves teh Mails and Manage the IMAP, POP3 and SMTP Connections from the User.

So PMG is interaction with other Mailservers and Mailcow with the User.

More Logs from PMG:


Code:
Sep 01 20:39:01 mail postfix/smtpd[5261]: connect from localhost.localdomain[127.0.0.1]
Sep 01 20:39:01 mail postfix/smtpd[5261]: A436D402F2: client=localhost.localdomain[127.0.0.1]
Sep 01 20:39:01 mail postfix/cleanup[5263]: A436D402F2: message-id=<126c42288d694939326c4ef1e040162c@neu.moebelprospekt24.de>
Sep 01 20:39:01 mail postfix/qmgr[788]: A436D402F2: from=<postmaster@mydomain.de>, size=43402, nrcpt=1 (queue active)
Sep 01 20:39:01 mail pmgdaemon[808]: delivered quarantined mail 'C0R13T224740780' (/var/spool/pmg/spam/03/406BC6310EA6EF0103)
Sep 01 20:39:01 mail postfix/smtpd[5261]: disconnect from localhost.localdomain[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 commands=4
Sep 01 20:39:06 mail postfix/smtp[5264]: Trusted TLS connection established to 193.168.7.2[193.168.7.2]:25: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
Sep 01 20:39:06 mail postfix/smtp[5264]: A436D402F2: to=<user.name@mydomain.de>, relay=193.168.7.2[193.168.7.2]:25, delay=5.2, delays=0.03/0.02/5.1/0.05, dsn=5.1.0, status=bounced (host 193.168.7.2[193.168.7.2] said: 550 5.1.0 <postmaster@mydomain.de>: Sender address rejected: User unknown in virtual mailbox table (in reply to RCPT TO command))
Sep 01 20:39:06 mail postfix/cleanup[5263]: CBC33406BE: message-id=<20220901183906.CBC33406BE@mail.mydomain.de>
Sep 01 20:39:06 mail postfix/qmgr[788]: CBC33406BE: from=<>, size=45616, nrcpt=1 (queue active)
Sep 01 20:39:06 mail postfix/bounce[5268]: A436D402F2: sender non-delivery notification: CBC33406BE
Sep 01 20:39:06 mail postfix/qmgr[788]: A436D402F2: removed
Sep 01 20:39:06 mail postfix/smtp[5264]: Trusted TLS connection established to 193.168.7.2[193.168.7.2]:25: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)
Sep 01 20:39:09 mail postfix/smtp[5264]: CBC33406BE: to=<postmaster@mydomain.de>, relay=193.168.7.2[193.168.7.2]:25, delay=3.1, delays=0/0/0.02/3.1, dsn=5.1.1, status=bounced (host 193.168.7.2[193.168.7.2] said: 550 5.1.1 <postmaster@mydomain.de>: Recipient address rejected: User unknown in virtual mailbox table (in reply to RCPT TO command))
Sep 01 20:39:09 mail postfix/qmgr[788]: CBC33406BE: removed
Sep 01 20:39:39 mail postfix/postscreen[5299]: CONNECT from [87.171.248.168]:47678 to [193.168.7.3]:25
Sep 01 20:39:39 mail postfix/postscreen[5299]: HANGUP after 0 from [87.171.248.168]:47678 in tests before SMTP handshake
Sep 01 20:39:39 mail postfix/postscreen[5299]: DISCONNECT [87.171.248.168]:47678

More Logs from Mailcow Postefix:

Code:
01.09.2022, 20:39:09    info    disconnect from unknown[193.168.7.3] ehlo=2 starttls=1 mail=1 rcpt=0/1 data=0/1 rset=1 quit=1 commands=6/8
01.09.2022, 20:39:09    info    NOQUEUE: reject: RCPT from unknown[193.168.7.3]: 550 5.1.1 <postmaster@mydomain.de>: Recipient address rejected: User unknown in virtual mailbox table; from=<> to=<postmaster@mydomain.de> proto=ESMTP helo=<mail.mydomain.de>
01.09.2022, 20:39:06    info    Anonymous TLS connection established from unknown[193.168.7.3]: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)
01.09.2022, 20:39:06    info    connect from unknown[193.168.7.3]
01.09.2022, 20:39:06    info    WHITELISTED [193.168.7.3]:42920
01.09.2022, 20:39:06    info    Look up 193.168.7.3 on whitelist, result 200 PERMIT
01.09.2022, 20:39:06    info    CONNECT from [193.168.7.3]:42920 to [172.22.1.253]:25
01.09.2022, 20:39:06    info    disconnect from unknown[193.168.7.3] ehlo=2 starttls=1 mail=1 rcpt=0/1 data=0/1 rset=1 quit=1 commands=6/8
01.09.2022, 20:39:06    info    NOQUEUE: reject: RCPT from unknown[193.168.7.3]: 550 5.1.0 <postmaster@mydomain.de>: Sender address rejected: User unknown in virtual mailbox table; from=<postmaster@mydomain.de> to=<user.name@mydomain.de> proto=ESMTP helo=<mail.mydomain.de>
01.09.2022, 20:39:06    info    Anonymous TLS connection established from unknown[193.168.7.3]: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
01.09.2022, 20:39:06    info    connect from unknown[193.168.7.3]
01.09.2022, 20:39:01    info    WHITELISTED [193.168.7.3]:42918
01.09.2022, 20:39:01    info    Look up 193.168.7.3 on whitelist, result 200 PERMIT
01.09.2022, 20:39:01    info    CONNECT from [193.168.7.3]:42918 to [172.22.1.253]:25
 
My Proxmox Mail Gateway uses The Hostname mail and searchdomain mydomain.de
Mailcow on the other Hand is mail1.mydomain.de

Becurse if thy are the Same Proxmox Mail Gateway prints the Error:
relay=none, delay=0, status=bounced (mail for mydomain,de loops back to myself)
 
Last edited: