Error : said: 451 4.4.0 detected undelivered mail to <address>

Mar 24, 2022
10
0
6
Hi,

I have some trouble with specific email from a marketing sending.

The following is the output from the tracking center.

2025-12-23T17:29:49.478272+08:00 pmg01 postfix/smtpd[2293757]: connect from smtpbgsg2.qq.com[54.254.200.128]
2025-12-23T17:29:49.659167+08:00 pmg01 postfix/smtpd[2293757]: Anonymous TLS connection established from smtpbgsg2.qq.com[54.254.200.128]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
2025-12-23T17:29:51.218504+08:00 pmg01 postfix/smtpd[2293757]: 352FE800A40: client=smtpbgsg2.qq.com[54.254.200.128]
2025-12-23T17:29:51.486671+08:00 pmg01 postfix/cleanup[2293797]: 352FE800A40: message-id=<768B749B5B4BB190+tencent_1379420DC3C4D3535F6E7B20@qq.com>
2025-12-23T17:29:51.614459+08:00 pmg01 postfix/qmgr[1305247]: 352FE800A40: from=<email address>, size=92313, nrcpt=4 (queue active)
2025-12-23T17:29:51.657875+08:00 pmg01 postfix/smtpd[2293757]: disconnect from smtpbgsg2.qq.com[54.254.200.128] ehlo=2 starttls=1 mail=1 rcpt=4 data=1 quit=1 commands=10
2025-12-23T17:29:53.188373+08:00 pmg01 postfix/lmtp[2291970]: 352FE800A40: to=<Kenji.Chan@moderndentallab.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=3.4, delays=1.9/0/0.04/1.5, dsn=4.4.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.4.0 detected undelivered mail to <email address> (in reply to end of DATA command))
2025-12-23T17:29:53.200635+08:00 pmg01 postfix/lmtp[2291970]: 352FE800A40: to=<ming.lu@moderndentallab.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=3.5, delays=1.9/0/0.04/1.5, dsn=4.4.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.4.0 detected undelivered mail to <email address> (in reply to end of DATA command))
2025-12-23T17:29:53.203404+08:00 pmg01 postfix/lmtp[2291970]: 352FE800A40: to=<sy.lu@moderndentallab.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=3.5, delays=1.9/0/0.04/1.5, dsn=4.4.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.4.0 detected undelivered mail to <email address> (in reply to end of DATA command))
2025-12-23T17:29:53.205802+08:00 pmg01 postfix/lmtp[2291970]: 352FE800A40: to=<xc.li@moderndentallab.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=3.5, delays=1.9/0/0.04/1.5, dsn=4.4.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.4.0 detected undelivered mail to <email address> (in reply to end of DATA command))

Version
root@pmg01:/tmp# pmgversion --verbose -v
proxmox-mailgateway: 8.2.0 (API: 8.2.6/b31e1eda2575, running kernel: 6.8.12-13-pve)
pmg-api: 8.2.6
pmg-gui: 4.2.1
proxmox-kernel-helper: 8.1.4
proxmox-kernel-6.8: 6.8.12-16
proxmox-kernel-6.8.12-16-pve-signed: 6.8.12-16
proxmox-kernel-6.8.12-13-pve-signed: 6.8.12-13
proxmox-kernel-6.8.12-10-pve-signed: 6.8.12-10
proxmox-kernel-6.8.12-9-pve-signed: 6.8.12-9
proxmox-kernel-6.8.12-8-pve-signed: 6.8.12-8
proxmox-kernel-6.8.12-5-pve-signed: 6.8.12-5
proxmox-kernel-6.8.12-4-pve-signed: 6.8.12-4
proxmox-kernel-6.8.12-2-pve-signed: 6.8.12-2
proxmox-kernel-6.8.8-2-pve-signed: 6.8.8-2
proxmox-kernel-6.5.13-6-pve-signed: 6.5.13-6
proxmox-kernel-6.5: 6.5.13-6
proxmox-kernel-6.5.13-5-pve-signed: 6.5.13-5
proxmox-kernel-6.5.13-1-pve-signed: 6.5.13-1
clamav-daemon: 1.0.9+dfsg-1~deb12u1
ifupdown2: 3.2.0-1+pmx11
libarchive-perl: 3.6.2
libjs-extjs: 7.0.0-5
libjs-framework7: 4.4.7-2
libproxmox-acme-perl: 1.6.0
libproxmox-acme-plugins: 1.6.0
libpve-apiclient-perl: 3.3.2
libpve-common-perl: 8.3.4
libpve-http-server-perl: 5.2.2
libxdgmime-perl: 1.1.0
lvm2: 2.03.16-2
pmg-docs: 8.2.0
pmg-i18n: 3.4.5
pmg-log-tracker: 2.5.0
proxmox-mini-journalreader: 1.5
proxmox-offline-mirror-helper: 0.6.8
proxmox-spamassassin: 4.0.1-2
proxmox-widget-toolkit: 4.3.13
pve-firmware: 3.16-3
pve-xtermjs: 5.5.0-2
zfsutils-linux: 2.2.8-pve1


Pmg-stmp-filter log

Dec 23 17:29:51 pmg01.moderndentallab.com pmg-smtp-filter[2293800]: 2025/12/23-17:29:51 CONNECT TCP Peer: "[127.0.0.1]:41782" Local: "[127.0.0.1]:10024"
Dec 23 17:29:51 pmg01.moderndentallab.com pmg-smtp-filter[2293800]: 800A65694A610FA0F30: new mail message-id=<768B749B5B4BB190+tencent_1379420DC3C4D3535F6E7B20@qq.com>
Dec 23 17:29:51 pmg01.moderndentallab.com pmg-smtp-filter[2293800]: WARNING: ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE .3shapecommunicate.com$/ at /usr/share/perl5/PMG/RuleDB/WhoRegex.pm line 103.
Dec 23 17:29:51 pmg01.moderndentallab.com pmg-smtp-filter[2293800]: WARNING: ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE .netsuite.com$/ at /usr/share/perl5/PMG/RuleDB/WhoRegex.pm line 103.
Dec 23 17:29:51 pmg01.moderndentallab.com pmg-smtp-filter[2293800]: WARNING: ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE @mmm.com$/ at /usr/share/perl5/PMG/RuleDB/WhoRegex.pm line 103.
Dec 23 17:29:53 pmg01.moderndentallab.com pmg-smtp-filter[2293800]: 800A65694A610FA0F30: SA score=6/5 time=1.400 bayes=0.50 autolearn=no autolearn_force=no hits=BAYES_50(0.8),DMARC_MISSING(0.1),ENA_SUBJ_LONG_WORD(2),FROM_EXCESS_BASE64(0.001),FROM_MISSP_XPRIO(2.499),HTML_FONT_FACE_BAD(0.001),HTML_MESSAGE(0.001),HTML_OBFUSCATE_05_10(0.26),KAM_DMARC_STATUS(0.01),RCVD_IN_DNSWL_NONE(-0.0001),RCVD_IN_MSPIKE_H3(0.001),RCVD_IN_MSPIKE_WL(0.001),SPF_HELO_PASS(-0.001),SPF_PASS(-0.001),SUBJ_ALL_CAPS(0.5)
Dec 23 17:29:53 pmg01.moderndentallab.com pmg-smtp-filter[2293800]: 800A65694A610FA0F30: sender in user (email address) welcomelist
Dec 23 17:29:53 pmg01.moderndentallab.com pmg-smtp-filter[2293800]: 800A65694A610FA0F30: sender in user (email address) welcomelist
Dec 23 17:29:53 pmg01.moderndentallab.com pmg-smtp-filter[2293800]: Can't use an undefined value as an ARRAY reference at /usr/share/perl5/PMG/RuleDB/Remove.pm line 207.
Dec 23 17:29:53 pmg01.moderndentallab.com pmg-smtp-filter[2293800]: fast exit because of errors (free 321032192 bytes)


This problem has been occurring frequently since the upgrade to PMG 8.2 last year. Please help me troubleshoot the cause. Thank you!