Hi All,
I was wondering if there is a script, or any type of application that would check the spool, and, depending on its size, send a notification via email; you know, in case of a spam attack.
Thanks!
-D
Spool Counter?
Spool Counter?
Thanks!!!
-D
-D
Re: Spool Counter?
none to my knowledge but you can easily access the database and check how many messages are in the queue or access the data directory and see how many files are in there.
If at first you don't succeed, bomb disposal probably isn't for you! ヅ
Re: Spool Counter?
Actually I believe JamesDR in IRC made such a beast & thought he planned to share in the scripting forum but will check with him.
Bill
Bill
hMailServer build LIVE on my servers: 5.4-B2014050402
#hmailserver on FreeNode IRC https://webchat.freenode.net/?channels=#hmailserver
*** ABSENT FROM hMail! Those in IRC know how to find me if urgent. ***
#hmailserver on FreeNode IRC https://webchat.freenode.net/?channels=#hmailserver
*** ABSENT FROM hMail! Those in IRC know how to find me if urgent. ***
Re: Spool Counter?
Does with Nagios, however, could be modified to suit.
http://www.hmailserver.com/forum/viewto ... 20&t=20057
http://www.hmailserver.com/forum/viewto ... 20&t=20057
Re: Spool Counter?
Woo cool thx James! Reminds me I need to get that up & running here.
Bill
Bill
hMailServer build LIVE on my servers: 5.4-B2014050402
#hmailserver on FreeNode IRC https://webchat.freenode.net/?channels=#hmailserver
*** ABSENT FROM hMail! Those in IRC know how to find me if urgent. ***
#hmailserver on FreeNode IRC https://webchat.freenode.net/?channels=#hmailserver
*** ABSENT FROM hMail! Those in IRC know how to find me if urgent. ***
Re: Spool Counter?
OK I posted up a mod'd version of rolaids0 queue script that doesn't require nagios so can be run from task scheduler or called from monitoring tool (checking the return code if desired) where it sends an email if the queue is above the defined limit: http://www.hmailserver.com/forum/viewto ... 32#p126932
hMailServer build LIVE on my servers: 5.4-B2014050402
#hmailserver on FreeNode IRC https://webchat.freenode.net/?channels=#hmailserver
*** ABSENT FROM hMail! Those in IRC know how to find me if urgent. ***
#hmailserver on FreeNode IRC https://webchat.freenode.net/?channels=#hmailserver
*** ABSENT FROM hMail! Those in IRC know how to find me if urgent. ***