John Beaver wrote: > jibie wrote: >> Is there any way to activate both sender throttling by from address and >> ip address? >> >> The reason I ask, is that I wanted to use policyd on an incoming mail >> gateway machine, which from time to time, gets a sudden burst of email >> from spammers, which i hoped to block with sender throttle by ip and far >> less often from users misconfiguring a mailer script and suddenly >> sending a large batch of messages from several different ip's with the >> same from address. It would be nice to be able to configure policyd to >> throttle based on both types of limits >> >> (what I need) >> ========== >> sender provided from >> sender ip >> >> Currently as I understand it, one must enable SASL throttling to >> throttle based on the from. Policyd will attempt to throttle by sasl >> user, which won't be present on an incoming email to my domain and then >> fall back to sender from based throttling. This throttle option cannot >> also be turned on with host/ip based throttling. >> >> Are there any work arounds for this? > > For IP based throttling, I use the postfix anvil feature to keep my > system from being overrun. Not sure how to do it with Policyd itself.
If one really wanted to do this in Policyd, you will need to run 2 instances of Policyd. (one doing sender throttling by SASL/from addresses and another instance throttling by HOST addresses). Cami ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ policyd-users mailing list policyd-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/policyd-users