Configured in custom.cf increase the spam rating of pir emails while in dnsbl and observe the following problem:
There is a rule for blocking outgoing spam - emails get spam because of a high rating, including due to getting into dnsbl lists. At the same time, the ip of both my and the remote mail server is not in dnsbl - I checked both on the services and on the websites of each dnsbl.
I would also like to be able to configure the quarantine of such emails (originating from my mail server) (I tried to turn it on - it does not work).
The log is below, the message was not quarantined.
Jun 22 18:49:22 mail postfix/smtpd[16581]: warning: hostname namemailserver.domain does not resolve to address mymailsrvip
Jun 22 18:49:22 mail postfix/smtpd[16581]: connect from unknown[mymailsrvip]
Jun 22 18:49:22 mail postfix/smtpd[16581]: 6E3E8C2340: client=unknown[mymailsrvip]
Jun 22 18:49:22 mail postfix/cleanup[16330]: 6E3E8C2340: message-id=<redirect-44226450@mydomain>
Jun 22 18:49:22 mail postfix/qmgr[806]: 6E3E8C2340: from=<name@mydomain>, size=14215, nrcpt=1 (queue active)
Jun 22 18:49:22 mail postfix/smtpd[16581]: disconnect from unknown[mymailsrvip] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jun 22 18:49:22 mail pmg-smtp-filter[16512]: C24B062B33A02790E1: new mail message-id=<redirect-44226450@mydomain>#012
Jun 22 18:49:26 mail pmg-smtp-filter[16512]: C24B062B33A02790E1: SA score=7/5 time=4.138 bayes=undefined autolearn=disabled hits=AWL(-1.801),DKIM_ADSP_CUSTOM_MED(0.001),DNSBL_BACKSCATTERER(2),DNSBL_SORBS(3),DNSBL_SPAMHAUS(3),FREEMAIL_FORGED_FROMDOMAIN(0.249),FREEMAIL_FROM(0.001),HEADER_FROM_DIFFERENT_DOMAINS(0.25),HTML_MESSAGE(0.001),KAM_DMARC_STATUS(0.01),MSGID_FROM_MTA_HEADER(0.001),NML_ADSP_CUSTOM_MED(1.2),RCVD_IN_ZEN_BLOCKED_OPENDNS(0.001),SPF_HELO_PASS(-0.001),SPF_PASS(-0.001),T_SCC_BODY_TEXT_LINE(-0.01),URIBL_BLOCKED(0.001),URIBL_DBL_BLOCKED_OPENDNS(0.001),URIBL_ZEN_BLOCKED_OPENDNS(0.001)
Jun 22 18:49:26 mail pmg-smtp-filter[16512]: C24B062B33A02790E1: notify <admin@mydomain> (rule: Block outgoing Spam (Level 6), BEEBAC24D1)
Jun 22 18:49:26 mail pmg-smtp-filter[16512]: C24B062B33A02790E1: notify <name@mydomain> (rule: Block outgoing Spam (Level 6), CE14BC24D2)
Jun 22 18:49:26 mail pmg-smtp-filter[16512]: C24B062B33A02790E1: moved mail for <name@domain> to spam quarantine - C24D462B33A06D65E3 (rule: Block outgoing Spam (Level 6))
Jun 22 18:49:26 mail pmg-smtp-filter[16512]: C24B062B33A02790E1: processing time: 4.414 seconds (4.138, 0.07, 0)
Jun 22 18:49:26 mail postfix/lmtp[16362]: 6E3E8C2340: to=<name@outdomain>, relay=127.0.0.1[127.0.0.1]:10023, delay=4.5, delays=0.03/0/0.01/4.4, dsn=2.5.0, status=sent (250 2.5.0 OK (C24B062B33A02790E1))
Jun 22 18:49:26 mail postfix/qmgr[806]: 6E3E8C2340: removed
There is a rule for blocking outgoing spam - emails get spam because of a high rating, including due to getting into dnsbl lists. At the same time, the ip of both my and the remote mail server is not in dnsbl - I checked both on the services and on the websites of each dnsbl.
I would also like to be able to configure the quarantine of such emails (originating from my mail server) (I tried to turn it on - it does not work).
The log is below, the message was not quarantined.
Jun 22 18:49:22 mail postfix/smtpd[16581]: warning: hostname namemailserver.domain does not resolve to address mymailsrvip
Jun 22 18:49:22 mail postfix/smtpd[16581]: connect from unknown[mymailsrvip]
Jun 22 18:49:22 mail postfix/smtpd[16581]: 6E3E8C2340: client=unknown[mymailsrvip]
Jun 22 18:49:22 mail postfix/cleanup[16330]: 6E3E8C2340: message-id=<redirect-44226450@mydomain>
Jun 22 18:49:22 mail postfix/qmgr[806]: 6E3E8C2340: from=<name@mydomain>, size=14215, nrcpt=1 (queue active)
Jun 22 18:49:22 mail postfix/smtpd[16581]: disconnect from unknown[mymailsrvip] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jun 22 18:49:22 mail pmg-smtp-filter[16512]: C24B062B33A02790E1: new mail message-id=<redirect-44226450@mydomain>#012
Jun 22 18:49:26 mail pmg-smtp-filter[16512]: C24B062B33A02790E1: SA score=7/5 time=4.138 bayes=undefined autolearn=disabled hits=AWL(-1.801),DKIM_ADSP_CUSTOM_MED(0.001),DNSBL_BACKSCATTERER(2),DNSBL_SORBS(3),DNSBL_SPAMHAUS(3),FREEMAIL_FORGED_FROMDOMAIN(0.249),FREEMAIL_FROM(0.001),HEADER_FROM_DIFFERENT_DOMAINS(0.25),HTML_MESSAGE(0.001),KAM_DMARC_STATUS(0.01),MSGID_FROM_MTA_HEADER(0.001),NML_ADSP_CUSTOM_MED(1.2),RCVD_IN_ZEN_BLOCKED_OPENDNS(0.001),SPF_HELO_PASS(-0.001),SPF_PASS(-0.001),T_SCC_BODY_TEXT_LINE(-0.01),URIBL_BLOCKED(0.001),URIBL_DBL_BLOCKED_OPENDNS(0.001),URIBL_ZEN_BLOCKED_OPENDNS(0.001)
Jun 22 18:49:26 mail pmg-smtp-filter[16512]: C24B062B33A02790E1: notify <admin@mydomain> (rule: Block outgoing Spam (Level 6), BEEBAC24D1)
Jun 22 18:49:26 mail pmg-smtp-filter[16512]: C24B062B33A02790E1: notify <name@mydomain> (rule: Block outgoing Spam (Level 6), CE14BC24D2)
Jun 22 18:49:26 mail pmg-smtp-filter[16512]: C24B062B33A02790E1: moved mail for <name@domain> to spam quarantine - C24D462B33A06D65E3 (rule: Block outgoing Spam (Level 6))
Jun 22 18:49:26 mail pmg-smtp-filter[16512]: C24B062B33A02790E1: processing time: 4.414 seconds (4.138, 0.07, 0)
Jun 22 18:49:26 mail postfix/lmtp[16362]: 6E3E8C2340: to=<name@outdomain>, relay=127.0.0.1[127.0.0.1]:10023, delay=4.5, delays=0.03/0/0.01/4.4, dsn=2.5.0, status=sent (250 2.5.0 OK (C24B062B33A02790E1))
Jun 22 18:49:26 mail postfix/qmgr[806]: 6E3E8C2340: removed