smtpd_recipient_restrictions in der main.cf erweitern

smtpd_recipient_restrictions=
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
reject_unauth_pipelining,
reject_non_fqdn_recipient,
    check_client_access cidr:/etc/postfix/ip-block

 

IP-Adressen in das oben referenzierte File schreiben:

echo „62.27.38.63 REJECT Goodby Spammer“ >> /etc/postfix/ip-block

 

ip-block DB erstellen und Postfix neu starten:

postmap /etc/postfix/ip-block

 

/etc/init.d/postfix restart

 

AncoraThemes © Copyright 2024. All Rights Reserved.