Re: [policyd-users] Is this throttle config possible?

2007-08-29 Thread Tobias J. Kreidl
Yes, but that limits inbound connections from *all* hosts, not just for a particular host that connects more often than "on average". With policyd, you could specify limits for specific IP addresses, if desired. As I mentioned before, you can also do that with the "anvil" facility within postfix

Re: [policyd-users] Why cleanup?

2007-08-29 Thread Tobias J. Kreidl
On Wed, 29 Aug 2007, Jordi Espasa Clofent wrote: Hello, I'm not sure about the real utility of cleanup binary. ¿Why exactly? -- Thanks, Jordi Espasa Clofent The database would grow to be enormous, if older enties were not deleted periodically. If you only care about what happened over t

Re: [policyd-users] multiple instances of cleanup

2007-08-29 Thread Tobias J. Kreidl
So all I'd have to copy over to the mySQL database machine are the policyd.conf and cleanup files, right? Seems like this would be the simplest solution! On Wed, 29 Aug 2007, Cami Sardinha wrote: > John Beaver wrote: >> Cami Sardinha wrote: >>> Tobias Kreidl wrote: If one is running multip

Re: [policyd-users] Is this throttle config possible?

2007-08-29 Thread Tobias J. Kreidl
I'm a bit confused what you're aiming to do here. If you want to limit the number of connections/messages by an outside sender to your mail gateway, then the setup in the "sender throttle" section is relevant, in particular, the settings: SENDERTHROTTLE=1 SENDER_THROTTLE_SASL=0 SENDER_THROTTLE_

Re: [policyd-users] multiple instances of cleanup

2007-08-29 Thread Cami Sardinha
John Beaver wrote: > Cami Sardinha wrote: >> Tobias Kreidl wrote: >>> If one is running multiple SMTP servers, is there any harm running >>> "cleanup" from each one >>> at the same time via a cron job, or is it better to stagger the times a bit? >> If all your SMTP servers are connecting to the SA

Re: [policyd-users] multiple instances of cleanup

2007-08-29 Thread John Beaver
Geert Hendrickx wrote: > On Wed, Aug 29, 2007 at 09:08:25AM -0500, John Beaver wrote: >> I have a throttling instance and I have a greylisting/blacklisting >> instance. In my case, each policyd instance is running with a different >> configuration. Running a single cleanup would not "clean" all t

Re: [policyd-users] multiple instances of cleanup

2007-08-29 Thread Geert Hendrickx
On Wed, Aug 29, 2007 at 09:08:25AM -0500, John Beaver wrote: > I have a throttling instance and I have a greylisting/blacklisting > instance. In my case, each policyd instance is running with a different > configuration. Running a single cleanup would not "clean" all the tables > used. So each c

Re: [policyd-users] Why cleanup?

2007-08-29 Thread John Beaver
Jordi Espasa Clofent wrote: >> This is to remove old/stale data from the database so it doesn't get too > > Ok John... ¿and where (in time or in space) do you establish the limit? > I'm thinking in the related cronjob... policyd cleanup uses the policyd configuration to determine what needs to

Re: [policyd-users] Why cleanup?

2007-08-29 Thread Jordi Espasa Clofent
> This is to remove old/stale data from the database so it doesn't get too Ok John... ¿and where (in time or in space) do you establish the limit? I'm thinking in the related cronjob... -- Thanks, Jordi Espasa Clofent - T

Re: [policyd-users] Why cleanup?

2007-08-29 Thread John Beaver
Jordi Espasa Clofent wrote: > Hello, > > I'm not sure about the real utility of cleanup binary. > ¿Why exactly? This is to remove old/stale data from the database so it doesn't get too large. john - This SF.net email is s

[policyd-users] Why cleanup?

2007-08-29 Thread Jordi Espasa Clofent
Hello, I'm not sure about the real utility of cleanup binary. ¿Why exactly? -- Thanks, Jordi Espasa Clofent - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Sear

Re: [policyd-users] multiple instances of cleanup

2007-08-29 Thread John Beaver
Cami Sardinha wrote: > Tobias Kreidl wrote: >> If one is running multiple SMTP servers, is there any harm running >> "cleanup" from each one >> at the same time via a cron job, or is it better to stagger the times a bit? > > If all your SMTP servers are connecting to the SAME / SINGLE Policyd > d

Re: [policyd-users] Is this throttle config possible?

2007-08-29 Thread am . lists
On 8/29/07, Cami Sardinha <[EMAIL PROTECTED]> wrote: > am.lists wrote: > > Recently, I was emailing a system admin at one of the major ISPs. He > > told me that we were blocked for going over their throttle limits, > > which he described as 10 simultaneous connections per IP and 100 > > messages pe

Re: [policyd-users] Is this throttle config possible?

2007-08-29 Thread Cami Sardinha
am.lists wrote: > Recently, I was emailing a system admin at one of the major ISPs. He > told me that we were blocked for going over their throttle limits, > which he described as 10 simultaneous connections per IP and 100 > messages per hour. > > Now. I use policyd 1.8x and know that I can do the

[policyd-users] Is this throttle config possible?

2007-08-29 Thread am . lists
Recently, I was emailing a system admin at one of the major ISPs. He told me that we were blocked for going over their throttle limits, which he described as 10 simultaneous connections per IP and 100 messages per hour. Now. I use policyd 1.8x and know that I can do the #/per hour part, but how do

Re: [policyd-users] Error in bind()

2007-08-29 Thread Jordi Espasa Clofent
> Note that there is no call to policyd in your restrictions. This is why > it's not working. OK, that's fixed and solved. The problem (as always happens) was very easy: I also had a smtp_recipient_restrictions parametee in my #SASL section, which is _after_ #POLICYD section; so, the results o