Hello
In main.cf I use:
...
smtpd_milters =inet:localhost:12301
non_smtpd_milters = inet:localhost:12301
...

But I need to add scan outgoing e-mail only for specific transport (for
users who use this transport)
is correct to to add in master.cf

 transport-name     unix    -    -    n    -    -         smtp
  -o syslog_name=postfix/transport-name
  -o smtp_bind_address=XXX.XXX.XXX.XXX
  -o smtp_helo_name=smtp235.domail.ltd
  -o content_filter=
  -o smtpd_milters=unix:/run/spamass-milter/spamass-milter.sock

or maby add only like:

spamassassin unix -     n    n    -    -    pipe
        user=filter argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f
${sender} ${recipient}

transport-name     unix    -    -    n    -    -         smtp
  -o syslog_name=postfix/transport-name
  -o smtp_bind_address=XXX.XXX.XXX.XXX
  -o smtp_helo_name=smtp235.domail.ltd
  -o smtpd_milters=
  -o content_filter=spamassassin


--

Reply via email to