2008/2/21, Cami Sardinha <[EMAIL PROTECTED]>:
>
> Sebastian Tymków wrote:
> > Hi,
> >
> > Recently I've installed policyd and become test it.
> > It's doing good job but I've got few questions.
> > 1) Is there any possibility to set policyd not to INSERT incoming emails
> > from
> > athor addresses than my users/domains ?
> > If I use this configuration :
>
> > =========== main.cf <http://main.cf> ===================
>
> > smtpd_recipient_restrictions =
> > check_policy_service inet:127.0.0.1:10031
>
> > <http://127.0.0.1:10031>,
>
> > permit_mynetworks,
> > permit_sasl_authenticated,
> > permit_mx_backup,
> > ===========main.cf====================
> > Every mail will be cached, and my database will grow fast.
> >
> > 2) I need solution that allow me disbale sending mails per day not per
> > 24 hours.
> > In example: client quota has 500 mails/24h , after that time he must
> > wait 24 hours
> > before he can start sending another 500 mails. What I need is allowing
> > user send
> > 500 mails per day. I.e. quota exceeded 19th of february at 19:00 and on
> > 20th of february at 00:01
> > quota is cleared. I now that I can use script which connect to database
> > and update throttle table.
>
>
> I see you are using SASL. Do you force your users to use SASL?
> If so, this could allow you to enable the SASL throttling
> feature inside Policyd and not rate limit by domain.
>
> I use SENDER_THROTTLE_SASL=1 but it works only with SENDERTHROTTLE=1,
and all mails enter to database (doesn't matter SASL user or mail from i.e
gmail.com).
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
policyd-users mailing list
policyd-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/policyd-users