W dniu 04.09.2013 16:03, btb pisze:
On 2013.09.04 09.29, Przemysław Orzechowski wrote:> Hi
Im trying to get cbpolicyd to be applied only to outgoing mail (Postfix
vresion 2.7.0)
you don't apply it to outgoing mail. you apply it to incoming mail [this is why the terms
"incoming" and "outgoing" are typically best avoided]
I'm trying to get a setup where i can limit mails each authenticated
user can send / hour
submission inet n - - - - smtpd
[...]
-o
smtpd_recipient_restrictions=[...],check_policy_service,inet:127.0.0.1:10031
[...]
i would use a restriction class though, so most work can be confined to main.cf
and master.cf be be a bit less awkward.
-ben
The problem is i need to accept all mail from authenticated uders and
then send only as much as allowed (limits per login not mail from headers)
If i apply limits as You suggested mails will be just rejected (MUA will
not be able to submit email to server) if over limit wich is not allowed
by my company policy :/
So is theere any way to acomplish this in single or multi instance setup?