Re: [qmailtoaster] Re: limt number of outgoing emails

2010-10-03 Thread David Milholen
On 10/2/2010 1:24 PM, Eric Shubert wrote: Tonix (Antonio Nati) wrote: Il 01/10/2010 21:04, Eric Shubert ha scritto: Tonix (Antonio Nati) wrote: There are too many sides to examine. I have a pretty clear picture of what I have in mind. Perhaps I haven't communicated it well, or am not

Re: [qmailtoaster] Re: limt number of outgoing emails

2010-10-03 Thread Natalio Gatti
Just to expand a bit on my situation. Further investigation showed that the compromised account belonging to a host on our network with a public IP was compromised with a trojan on the machine. This trojan I suppose was running a small server watching email traffic and sniffing passwords.

Re: [qmailtoaster] Re: limt number of outgoing emails

2010-10-03 Thread Natalio Gatti
On Fri, Oct 1, 2010 at 10:42 PM, Eric Shubert e...@shubes.net wrote: Natalio Gatti wrote: Here is a small script that monitors queue size and send an email in case it grows over certain limit: ** #/bin/sh email=m...@domain Max_Size=15 cola=`tail -50

Re: [qmailtoaster] Re: limt number of outgoing emails

2010-10-03 Thread David Milholen
On 10/3/2010 12:51 PM, Natalio Gatti wrote: Just to expand a bit on my situation. Further investigation showed that the compromised account belonging to a host on our network with a public IP was compromised with a trojan on the machine. This trojan I suppose was running a

Re: [qmailtoaster] Re: limt number of outgoing emails

2010-10-02 Thread Tonix (Antonio Nati)
Il 01/10/2010 21:04, Eric Shubert ha scritto: Tonix (Antonio Nati) wrote: Il 01/10/2010 20:32, Eric Shubert ha scritto: Tonix (Antonio Nati) wrote: Il 01/10/2010 18:24, Eric Shubert ha scritto: David wrote: On 10/01/2010 10:18 AM, Jake Vickers wrote: On 10/01/2010 10:44 AM, David

[qmailtoaster] Re: limt number of outgoing emails

2010-10-02 Thread Eric Shubert
Tonix (Antonio Nati) wrote: Il 01/10/2010 21:04, Eric Shubert ha scritto: Tonix (Antonio Nati) wrote: There are too many sides to examine. I have a pretty clear picture of what I have in mind. Perhaps I haven't communicated it well, or am not considering something. Can you expound a

[qmailtoaster] Re: limt number of outgoing emails

2010-10-01 Thread Eric Shubert
David wrote: How can a limit be set on a single account or all accounts in a domain to limit the number of emails that can be sent in certain time frame? This may have been covered already but I am behind a little on this. --Dave

[qmailtoaster] Re: limt number of outgoing emails

2010-10-01 Thread Eric Shubert
David wrote: On 10/01/2010 10:18 AM, Jake Vickers wrote: On 10/01/2010 10:44 AM, David wrote: How can a limit be set on a single account or all accounts in a domain to limit the number of emails that can be sent in certain time frame? This may have been covered already but I am behind a

Re: [qmailtoaster] Re: limt number of outgoing emails

2010-10-01 Thread Tonix (Antonio Nati)
Il 01/10/2010 18:24, Eric Shubert ha scritto: David wrote: On 10/01/2010 10:18 AM, Jake Vickers wrote: On 10/01/2010 10:44 AM, David wrote: How can a limit be set on a single account or all accounts in a domain to limit the number of emails that can be sent in certain time frame? This

[qmailtoaster] Re: limt number of outgoing emails

2010-10-01 Thread Eric Shubert
Tonix (Antonio Nati) wrote: Il 01/10/2010 18:24, Eric Shubert ha scritto: David wrote: On 10/01/2010 10:18 AM, Jake Vickers wrote: On 10/01/2010 10:44 AM, David wrote: How can a limit be set on a single account or all accounts in a domain to limit the number of emails that can be sent in

Re: [qmailtoaster] Re: limt number of outgoing emails

2010-10-01 Thread Tonix (Antonio Nati)
Il 01/10/2010 20:32, Eric Shubert ha scritto: Tonix (Antonio Nati) wrote: Il 01/10/2010 18:24, Eric Shubert ha scritto: David wrote: On 10/01/2010 10:18 AM, Jake Vickers wrote: On 10/01/2010 10:44 AM, David wrote: How can a limit be set on a single account or all accounts in a domain to

[qmailtoaster] Re: limt number of outgoing emails

2010-10-01 Thread Eric Shubert
Tonix (Antonio Nati) wrote: Il 01/10/2010 20:32, Eric Shubert ha scritto: Tonix (Antonio Nati) wrote: Il 01/10/2010 18:24, Eric Shubert ha scritto: David wrote: On 10/01/2010 10:18 AM, Jake Vickers wrote: On 10/01/2010 10:44 AM, David wrote: How can a limit be set on a single account or

[qmailtoaster] Re: limt number of outgoing emails

2010-10-01 Thread Eric Shubert
Natalio Gatti wrote: Here is a small script that monitors queue size and send an email in case it grows over certain limit: ** #/bin/sh email=m...@domain Max_Size=15 cola=`tail -50 /var/log/qmail/send/current | grep status | tail -1 | cut -d ' ' -f 6 | cut -d '/' -f 1` if