[SOLVED] Verification and submission error?

thiagotgc

Active Member
Dec 17, 2019
152
22
38
37
I have some mistakes, and I can't find references to what it can be, and how to fix it.

I will paste here the complete log, and mark the errors I find.

I appreciate who can help me solve




Dec 19 16:32:04 server.domainserver.com postfix/smtpd[21471]: 73D569FEE1: client=server.domainserver.com[xxx.xxx.xxx.xxx]
Dec 19 16:32:04 server.domainserver.com postfix/cleanup[21475]: 73D569FEE1: info: header From: Sender Name <sender*domain1.com> from server.domainserver.com[xxx.xxx.xxx.xxx]; from=<sender*domain1.com> to=<recipient*domain1.com> proto=ESMTP helo=<server.domainserver.com>
Dec 19 16:32:04 server.domainserver.com postfix/cleanup[21475]: 73D569FEE1: info: header To: mail <recipient*domain1.com> from server.domainserver.com[xxx.xxx.xxx.xxx]; from=<sender*domain1.com> to=<recipient*domain1.com> proto=ESMTP helo=<server.domainserver.com>
Dec 19 16:32:04 server.domainserver.com postfix/cleanup[21475]: 73D569FEE1: message-id=<171483875.888.1576783918098.JavaMail.zimbra*domain1.com>
Dec 19 16:32:04 server.domainserver.com postfix/cleanup[21475]: 73D569FEE1: info: header Subject: Fwd: teste from server.domainserver.com[xxx.xxx.xxx.xxx]; from=<sender*domain1.com> to=<recipient*domain1.com> proto=ESMTP helo=<server.domainserver.com>
Dec 19 16:32:04 server.domainserver.com postfix/qmgr[19492]: 73D569FEE1: from=<sender*domain1.com>, size=4643, nrcpt=1 (queue active)
Dec 19 16:32:04 server.domainserver.com postfix/smtpd[21471]: disconnect from server.domainserver.com[xxx.xxx.xxx.xxx] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Dec 19 16:32:04 server.domainserver.com pmg-smtp-filter[20889]: 2019/12/19-16:32:04 CONNECT TCP Peer: "[127.0.0.1]:37092" Local: "[127.0.0.1]:10024"
Dec 19 16:32:04 server.domainserver.com pmg-smtp-filter[20889]: reloading configuration Proxmox_ruledb
Dec 19 16:32:04 server.domainserver.com pmg-smtp-filter[20889]: 4325F5DFBD03493436: new mail message-id=<171483875.888.1576783918098.JavaMail.zimbra*domain1.com>
Dec 19 16:32:04 server.domainserver.com audit[1361]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/clamd" name="/var/spool/pmg/active/4325F5DFBD03493436" pid=1361 comm="clamd" requested_mask="r" denied_mask="r" fsuid=113 ouid=0
Dec 19 16:32:04 server.domainserver.com clamd[1361]: /var/spool/pmg/active/4325F5DFBD03493436: Can't open file or directory ERROR
Dec 19 16:32:04 server.domainserver.com clamd[1361]: /var/spool/pmg/active/4325F5DFBD03493436: Can't open file or directory ERROR
Dec 19 16:32:04 server.domainserver.com kernel: audit: type=1400 audit(1576783924.627:1403): apparmor="DENIED" operation="open" profile="/usr/sbin/clamd" name="/var/spool/pmg/active/4325F5DFBD03493436" pid=1361 comm="clamd" requested_mask="r" denied_mask="r" fsuid=113 ouid=0
Dec 19 16:32:09 server.domainserver.com pmg-smtp-filter[20889]: 4325F5DFBD03493436: SA score=2/5 time=4.963 bayes=undefined autolearn=no autolearn_force=no hits=AWL(0.864),DKIM_SIGNED(0.1),DKIM_VALID(-0.1),DKIM_VALID_AU(-0.1),DKIM_VALID_EF(-0.1),HTML_MESSAGE(0.001),RCVD_IN_DNSWL_BLOCKED(0.001),SCHAALIT_HEADER_6887(2),SPF_HELO_PASS(-0.001),SPF_NONE(0.001),SURBL_BLOCKED(0.001),URIBL_BLOCKED(0.001)
Dec 19 16:32:09 server.domainserver.com postfix/smtpd[21489]: warning: queue_minfree(20971520) should be at least 1.5*message_size_limit(62914560)
Dec 19 16:32:09 server.domainserver.com postfix/smtpd[21489]: connect from localhost.localdomain[127.0.0.1]
Dec 19 16:32:09 server.domainserver.com postfix/smtpd[21489]: 9C18D9FEE2: client=localhost.localdomain[127.0.0.1]
Dec 19 16:32:09 server.domainserver.com postfix/smtpd[21489]: lost connection after DATA (240 bytes) from localhost.localdomain[127.0.0.1]
Dec 19 16:32:09 server.domainserver.com postfix/smtpd[21489]: disconnect from localhost.localdomain[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=0/1 commands=3/4
Dec 19 16:32:09 server.domainserver.com pmg-smtp-filter[20889]: open body: Invalid argument at /usr/share/perl5/MIME/Entity.pm line 1892.
Dec 19 16:32:09 server.domainserver.com postfix/cleanup[21475]: 9C18D9FEE2: message-id=<20191219193209.9C18D9FEE2*server.domainserver.com>
Dec 19 16:32:09 server.domainserver.com pmg-smtp-filter[20889]: 4325F5DFBD03493436: notify <recipient*domain1.com> (rule: Quarantine) failed
Dec 19 16:32:09 server.domainserver.com pmg-smtp-filter[20889]: 4325F5DFBD03493436: moved mail for <recipient*domain1.com> to spam quarantine - 432695DFBD0399D33D (rule: Quarantine)
Dec 19 16:32:09 server.domainserver.com pmg-smtp-filter[20889]: 4325F5DFBD03493436: processing time: 5.059 seconds (4.963, 0.031, 0)
Dec 19 16:32:09 server.domainserver.com postfix/lmtp[21476]: 73D569FEE1: to=<recipient*domain1.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=5.2, delays=0.08/0.02/0.07/5.1, dsn=2.5.0, status=sent (250 2.5.0 OK (4325F5DFBD03493436))
Dec 19 16:32:09 server.domainserver.com postfix/qmgr[19492]: 73D569FEE1: removed
 
Hmm - the first error (which is probably the root cause) stems from AppArmor being installed.

Please simply remove AppArmor and reboot PMG:
Code:
apt remove apparmor
reboot
 
  • Like
Reactions: thiagotgc

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!