I configured some rules to send notification emails when an email with an attachment ".mp3" arrived
It does everything correctly, but does not send the notification email.
In the log, just the failure.
It does everything correctly, but does not send the notification email.
In the log, just the failure.
Feb 11 13:13:22 avas2 postfix/cleanup[27299]: 6619D9FB6D: info: header Subject: Teste mp3 from helo.x.x[x.x.x.x]; from=<mail@gmail.com> to=<destiny@domain.com> proto=ESMTP helo=<helo.x.x>
Feb 11 13:13:22 avas2 postfix/cleanup[27299]: 6619D9FB6D: info: header To: destiny@domain.com from helo.x.x[x.x.x.x]; from=<mail@gmail.com> to=<destiny@domain.com> proto=ESMTP helo=<helo.x.x>
Feb 11 13:13:22 avas2 postfix/qmgr[1026]: 6619D9FB6D: from=<mail@gmail.com>, size=1552953, nrcpt=1 (queue active)
Feb 11 13:13:22 avas2 postfix/smtpd[27297]: disconnect from helo.x.x[x.x.x.x] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb 11 13:13:22 avas2 pmg-smtp-filter[27307]: 3FE085E42D2A2985C2: new mail message-id=<CAGHRcymR4cH19MqPuix2Bfmys0QUjwSGFTpR3a2ijqY8ayrRKQ@mail.gmail.com>#012
Feb 11 13:13:24 avas2 pmg-smtp-filter[27307]: 3FE085E42D2A2985C2: SA score=1/5 time=1.288 bayes=undefined autolearn=no autolearn_force=no hits=AWL(0.645),DKIM_SIGNED(0.1),DKIM_VALID(-1),DKIM_VALID_AU(-0.1),DKIM_VALID_EF(-0.1),FREEMAIL_FROM(0.001),HTML_MESSAGE(0.001),KAM_NUMSUBJECT(0.5),PYZOR_CHECK(1.5),RCVD_IN_DNSWL_LOW(-0.7),SPF_HELO_PASS(-0.001),SPF_SOFTFAIL(0.972)
Feb 11 13:13:24 avas2 pmg-smtp-filter[27307]: 3FE085E42D2A2985C2: notify <mail@gmail.com> (rule: Quarantine Multimedia Files) failed
Feb 11 13:13:24 avas2 pmg-smtp-filter[27307]: 3FE085E42D2A2985C2: notify <destiny@domain.com> (rule: Quarantine Multimedia Files) failed
Feb 11 13:13:24 avas2 pmg-smtp-filter[27307]: 3FE085E42D2A2985C2: moved mail for <destiny@domain.com> to spam quarantine - 406D15E42D2A413C0E (rule: Quarantine Multimedia Files)
Feb 11 13:13:24 avas2 pmg-smtp-filter[27307]: 3FE085E42D2A2985C2: processing time: 1.446 seconds (1.288, 0.041, 0)
Feb 11 13:13:24 avas2 postfix/lmtp[27388]: 6619D9FB6D: to=<destiny@domain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.8, delays=0.23/0/0.05/1.5, dsn=2.5.0, status=sent (250 2.5.0 OK (3FE085E42D2A2985C2))
Feb 11 13:13:24 avas2 postfix/qmgr[1026]: 6619D9FB6D: removed