block outgoing spam

Wijatmoko U. Prayitno via amavis-users amavis-users at
Thu Feb 20 12:10:34 CET 2014

On Thu, 20 Feb 2014 11:12:47 +0100
Infoomatic via amavis-users <amavis-users at> 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:
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


More information about the amavis-users mailing list