modoboa-installer icon indicating copy to clipboard operation
modoboa-installer copied to clipboard

Fixes spamassassin tagging and postfix config changes to postscreen

Open mzummo opened this issue 7 years ago • 3 comments

Signed-off-by: Mathew Zummo [email protected]

Description of the issue/feature this PR addresses:

Current behavior before PR: no spam tags, couldnt recieve email from accounts like gmail

Desired behavior after PR is merged:

fixes

mzummo avatar Mar 06 '17 18:03 mzummo

Don't use the expensive postscreen tests without having a whitelist for the big email providers, otherwise they'll never get through. The big email providers rarely resend a message using the same server so the expensive tests ends up creating an endless loop preventing the email from being delivered.

Expensive postscreen checks:

postscreen_dnsbl_sites =
    ...
    list.dnswl.org=127.0.[0..255].[1..3]*-5
postscreen_dnsbl_whitelist_threshold = -5


I've found that this setup catches 90-95% of bad senders, with SpamAssassin catching the rest:
```
postscreen_dnsbl_sites =
    zen.spamhaus.org*2
    bl.spamcop.net*1
    b.barracudacentral.org*1
    bl.spameatingmonkey.net*1
    bl.ipv6.spameatingmonkey.net*1
    list.dnswl.org=127.0.[0..255].[1..3]*-5
postscreen_dnsbl_threshold = 2
postscreen_dnsbl_whitelist_threshold = -5
postscreen_dnsbl_action = enforce
postscreen_greet_action = enforce
```

ghost avatar Mar 09 '18 12:03 ghost

I think blacklist that user want to use , must be defined in the instaler.cfg

kryskool avatar Apr 07 '18 14:04 kryskool

Opened and not closed since 2017. What about this?

ksaadDE avatar Jun 27 '22 18:06 ksaadDE