Thanks for the example. Is there another way using port 25 (some users can only access port 25)?
> Gesendet: Donnerstag, 20. Februar 2014 um 12:10 Uhr > Von: "Wijatmoko U. Prayitno via amavis-users" <[email protected]> > An: "Infoomatic via amavis-users" <[email protected]> > Betreff: Re: block outgoing spam > > On Thu, 20 Feb 2014 11:12:47 +0100 > Infoomatic via amavis-users <[email protected]> wrote: > > > Or is it possible in postfix to use different > > content_filter for incoming and outgoing mails? ... I > > could start 2 amavis instances on different ports, one > > handling outgoing and one handling incoming mails, > > however I don't know how to configure this in postfix > > or distinguish incoming/outgoing mails. > > > Use port 587 submission for your user.. example: > > master.cf > --------- > submission inet n - n - - smtpd > -o broken_sasl_auth_clients=yes > -o milter_macro_daemon_name=ORIGINATING > -o > smtpd_client_restrictions=permit_sasl_authenticated,permit_mynetworks,reject > -o > smtpd_helo_restrictions=permit_sasl_authenticated,permit_mynetworks,reject > -o > smtpd_recipient_restrictions=permit_sasl_authenticated,permit_mynetworks,reject > -o smtpd_sasl_auth_enable=yes > -o smtpd_sasl_security_options=noanonymous > -o smtpd_tls_security_level=encrypt > -o syslog_name=postfix/submission > > -- > WUP >
