Re: Evtl. Umstieg auf Postfix

From: Matthias Fechner <idefix(at)fechner.net>
Date: Thu, 22 Jul 2010 19:01:09 +0200

Hi Henning,

Am 22.07.2010 17:04, schrieb Henning Nelihsen:
> Postfix kann in Echtzeit filtern über smtp_proxy_filter.

das war das zündente Wort was mir gefehlt hat, vielen Dank.
Es ist unglaublich simpel. Als Referenz sei [1] erwähnt.

Mein Postfix was schon so konfiguriert, das er mit amavis arbeitet.
Also main.cf editieren und dort die Zeile
content_filter = smtp-amavis:[127.0.0.1]:10024
entfernen.

Dann master.cf editieren:
smtp inet n - n - 20 smtpd
        -o smtpd_proxy_filter=127.0.0.1:10024
        -o smtpd_client_connection_count_limit=10
        -o smtpd_proxy_options=speed_adjust
localhost:10025 inet n - n - - smtpd
        -o smtpd_authorized_xforward_hosts=127.0.0.0/8
        -o smtpd_client_restrictions=
        -o smtpd_helo_restrictions=
        -o smtpd_sender_restrictions=
        -o smtpd_recipient_restrictions=permit_mynetworks,reject
        -o smtpd_data_restrictions=
        -o mynetworks=127.0.0.0/8
        -o receive_override_options=no_unknown_recipient_checks

Postfix neu starten, das wars.

[1] http://www.postfix.org/SMTPD_PROXY_README.html

Gruss
Matthias

-- 
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Thu 22 Jul 2010 - 19:01:28 CEST

search this site