Page 2 of 2

Re: rbl_overwrite Möglichkeit aus dem Keyhelp Panel

Posted: Mon 29. Aug 2022, 16:33
by BasHeijermans
Yes it 'works' because you made a mistake.
hash:/etc/postfix/rbl_override,
permit
reject_rbl_client bl.spamcop.net,
reject_rbl_client bl.score.senderscore.com,
As behind permit is no ,
Your permit is a false line.
Also the last line does have a , making it an non ending line.

In short, your config is a mess and it's a wonder it works at all :lol:

it should be like this, and then it will not work:

Code: Select all

smtpd_recipient_restrictions = 
    permit_mynetworks, 
    permit_sasl_authenticated, 
    reject_unauth_destination, 
    reject_unauth_pipelining, 
    reject_non_fqdn_recipient, 
    check_policy_service unix:private/policy,
    hash:/etc/postfix/rbl_override,
    permit,
    reject_rbl_client bl.spamcop.net, 
    reject_rbl_client bl.score.senderscore.com
Correct is this:

Code: Select all

smtpd_recipient_restrictions = 
    permit_mynetworks, 
    permit_sasl_authenticated, 
    reject_unauth_destination, 
    reject_unauth_pipelining, 
    reject_non_fqdn_recipient, 
    check_policy_service unix:private/policy,
    hash:/etc/postfix/rbl_override,
    reject_rbl_client bl.spamcop.net, 
    reject_rbl_client bl.score.senderscore.com,
    permit
Permit must be last and without a comma, as all before will reject/permit.

The reason reject_rbl_client bl.spamcop.net, reject_rbl_client bl.score.senderscore.com will not work in a correct config is because the line before permits anything.

Re: rbl_overwrite Möglichkeit aus dem Keyhelp Panel

Posted: Mon 29. Aug 2022, 18:00
by Tobi
Ein Bienchen für Bas.
🐝

Re: rbl_overwrite Möglichkeit aus dem Keyhelp Panel

Posted: Tue 30. Aug 2022, 06:54
by Toorms
BasHeijermans wrote: Mon 29. Aug 2022, 16:33 Yes it 'works' because you made a mistake.
hash:/etc/postfix/rbl_override,
permit
reject_rbl_client bl.spamcop.net,
reject_rbl_client bl.score.senderscore.com,
As behind permit is no ,
Your permit is a false line.
Also the last line does have a , making it an non ending line.

In short, your config is a mess and it's a wonder it works at all :lol:

it should be like this, and then it will not work:

Code: Select all

smtpd_recipient_restrictions = 
    permit_mynetworks, 
    permit_sasl_authenticated, 
    reject_unauth_destination, 
    reject_unauth_pipelining, 
    reject_non_fqdn_recipient, 
    check_policy_service unix:private/policy,
    hash:/etc/postfix/rbl_override,
    permit,
    reject_rbl_client bl.spamcop.net, 
    reject_rbl_client bl.score.senderscore.com
Correct is this:

Code: Select all

smtpd_recipient_restrictions = 
    permit_mynetworks, 
    permit_sasl_authenticated, 
    reject_unauth_destination, 
    reject_unauth_pipelining, 
    reject_non_fqdn_recipient, 
    check_policy_service unix:private/policy,
    hash:/etc/postfix/rbl_override,
    reject_rbl_client bl.spamcop.net, 
    reject_rbl_client bl.score.senderscore.com,
    permit
Permit must be last and without a comma, as all before will reject/permit.

The reason reject_rbl_client bl.spamcop.net, reject_rbl_client bl.score.senderscore.com will not work in a correct config is because the line before permits anything.
Did you understand and read the whole post? :)