Przemys?aw Orzechowski:
> Hi
> 
> Im trying to get cbpolicyd to be applied only to outgoing mail (Postfix 
> vresion 2.7.0)
> 
> Iv created for this separate transport:
> 
> transport in master.cf
> smtpout        unix    -    -    -    -    2    smtp

That is the Postfix SMTP *client*, the program that sends mail.

>      -o smtpd_recipient_restrictions=check_policy_service 

That does not work because smtpd_recipient_restrictions is a feature
of the Postfix SMTP *server*, the program that receives mail.

> I'm trying to get a setup where i can limit mails each authenticated 
> user can send / hour

Apply smtpd_mumble_restrictions on the Postfix SMTP *server*, the
program that receives mail.

If you really must exclude rate limits for local domains, this would
be easiest with a policy service that allows you to make exceptions.

        Wietse

Reply via email to