Linux Short Tip

Installation von policyd-weight Unter Debian 6

Zuerst das Paket mit aptitude installieren und dann meine modifizierte Konfigurationsdatei herunterladen:
aptitude install policy-weight
wget --quiet --no-check-certificate https://blog.bastelfreak.de/policyd-weight.conf -O /etc/policyd-weight.conf

Nun muss die /etc/postfix/master.conf angepasst werden. Der Abschnitt smtpd_recipient_restrictions sollte wie folgt aussehen:
smtpd_recipient_restrictions =
reject_unlisted_sender,
reject_unlisted_recipient,
reject_unknown_sender_domain,
reject_unknown_recipient_domain,
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination
reject_invalid_hostname,
reject_non_fqdn_hostname,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unauth_destination,
reject_unauth_pipelining,
check_client_access hash:/etc/postfix/policyd_weight_client_whitelist
check_policy_service inet:127.0.0.1:12525
reject_unknown_client
reject_unknown_hostname
permit

Mit einem /etc/init.d/policyd-weight reload && /etc/init.d/postfix reload werden die Änderungen aktiv.

This entry was posted in General, Linux, Short Tips. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.