Proxmos email gatwey who objects blacklist not working

Attached the screenshot
Feb 24 11:36:41 proxmox postfix/smtpd[22098]: connect from unknown[192.168.2.1]
Feb 24 11:36:41 proxmox postfix/smtpd[22098]: C30BE1018B5: client=unknown[192.168.2.1]
Feb 24 11:36:41 proxmox postfix/cleanup[22090]: C30BE1018B5: message-id=<CAFujFq2Wgqh_O5xJm59_oBUi68YBBsOL=d5K_mk4MP08NWXesA@mail.gmail.com>
Feb 24 11:36:41 proxmox postfix/smtpd[22098]: disconnect from unknown[192.168.2.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb 24 11:36:41 proxmox postfix/qmgr[21087]: C30BE1018B5: from=<dhinilkv9567@gmail.com>, size=4574, nrcpt=1 (queue active)
Feb 24 11:36:41 proxmox pmg-smtp-filter[21775]: 101D4162173589CE858: new mail message-id=<CAFujFq2Wgqh_O5xJm59_oBUi68YBBsOL=d5K_mk4MP08NWXesA@mail.gmail.com>
Feb 24 11:36:41 proxmox postfix/smtpd[22097]: connect from localhost.localdomain[127.0.0.1]
Feb 24 11:36:41 proxmox postfix/smtpd[22097]: D8176101D42: client=localhost.localdomain[127.0.0.1], orig_client=unknown[192.168.2.1]
Feb 24 11:36:41 proxmox postfix/cleanup[22090]: D8176101D42: message-id=<CAFujFq2Wgqh_O5xJm59_oBUi68YBBsOL=d5K_mk4MP08NWXesA@mail.gmail.com>
Feb 24 11:36:41 proxmox postfix/qmgr[21087]: D8176101D42: from=<dhinilkv9567@gmail.com>, size=4785, nrcpt=1 (queue active)
Feb 24 11:36:41 proxmox postfix/smtpd[22097]: disconnect from localhost.localdomain[127.0.0.1] ehlo=1 xforward=1 mail=1 rcpt=1 data=1 commands=5
Feb 24 11:36:41 proxmox pmg-smtp-filter[21775]: 101D4162173589CE858: accept mail to <enkive@mydmoain.con> (D8176101D42)
Feb 24 11:36:41 proxmox pmg-smtp-filter[21775]: 101D4162173589CE858: processing time: 0.085 seconds (0, 0.022)
Feb 24 11:36:41 proxmox postfix/lmtp[22091]: C30BE1018B5: to=<enkive@mydmoain.con>, relay=127.0.0.1[127.0.0.1]:10023, delay=0.14, delays=0/0/0.04/0.09, dsn=2.5.0, status=sent (250 2.5.0 OK (101D4162173589CE858))
Feb 24 11:36:41 proxmox postfix/qmgr[21087]: C30BE1018B5: removed
Feb 24 11:36:42 proxmox postfix/smtp[22081]: D8176101D42: to=<enkive@mydmoain.con>, relay=mydmoain.com[192.168.2.10]:25, delay=0.72, delays=0.05/0/0.58/0.09, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as A3285B89C22)
Feb 24 11:36:42 proxmox postfix/qmgr[21087]: D8176101D42: removed
 

Attachments

  • Screenshot from 2022-02-24 12-33-24.png
    Screenshot from 2022-02-24 12-33-24.png
    7.2 KB · Views: 14
Have you provide the full log? pmg-smtp-filter should show the mail filter rule which have process the mail delivery as example below.

Code:
Dec 9 13:17:00 mail pmg-smtp-filter[31674]: 3C148E61B2481949054: accept mail to <cartera@mydomain.com> (E90AD3C14AD) (rule: default-accept)
Dec 9 13:17:00 mail pmg-smtp-filter[31674]: 3C148E61B2481949054: processing time: 2.713 seconds (2.589, 0.047, 0)
 
Feb 24 11:31:34 proxmox postfix/qmgr[21087]: 76CB41018B5: from=<dhinilkv9567@gmail.com>, size=2888, nrcpt=1 (queue active)
Feb 24 11:31:34 proxmox pmg-smtp-filter[21775]: 2022/02/24-11:31:34 CONNECT TCP Peer: "[127.0.0.1]:50018" Local: "[127.0.0.1]:10024"
Feb 24 11:31:34 proxmox pmg-smtp-filter[21775]: 101D4162173456E20AD: new mail message-id=<CAFujFq3z6rzzE+E9fKo3_jsEB-YGySii4ZWuvyA9GdH+E=WLkg@mail.gmail.com>
Feb 24 11:31:34 proxmox pmg-smtp-filter[21775]: WARNING: ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE .cpe.distributel.net$/ at /usr/share/perl5/PMG/RuleDB/WhoRegex.pm line 90.
Feb 24 11:31:34 proxmox pmg-smtp-filter[21775]: WARNING: ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE .rev.vodafone.pt$/ at /usr/share/perl5/PMG/RuleDB/WhoRegex.pm line 90.


Feb 24 11:31:36 proxmox postfix/qmgr[21087]: 1F9ED101D42: from=<dhinilkv9567@gmail.com>, size=4138, nrcpt=1 (queue active)
Feb 24 11:31:36 proxmox postfix/smtpd[21989]: disconnect from localhost.localdomain[127.0.0.1] ehlo=1 xforward=1 mail=1 rcpt=1 data=1 commands=5
Feb 24 11:31:36 proxmox pmg-smtp-filter[21775]: 101D4162173456E20AD: accept mail to <it@bin-drai.com> (1F9ED101D42)
Feb 24 11:31:36 proxmox pmg-smtp-filter[21775]: 101D4162173456E20AD: processing time: 1.249 seconds (0.821, 0.022)
Feb 24 11:31:36 proxmox postfix/lmtp[21997]: 76CB41018B5: to=<it@bin-drai.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.7, delays=0.42/0/0.05/1.3, dsn=2.5.0, status=sent (250 2.5.0 OK (101D4162173456E20AD))
 
Feb 24 11:31:34 proxmox pmg-smtp-filter[21775]: WARNING: ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE .cpe.distributel.net$/ at /usr/share/perl5/PMG/RuleDB/WhoRegex.pm line 90.
this warning pretty much sums it up - you have a regex object with a wrong regex in your ruleset
('*.cpe.distributel.net' is wrong - this is a regular expression -> you probably want '.*\.cpe\.distributel\.net')

see https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmg_mailfilter_regex
 

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!