Robert Penz writes:
Hi!I'm looking for a way to count the number of undeliverable mails a user sends. If the amount goes over a given limit I want to deactivate the user for sending as it looks like the user account got cracked and is used for sending spam. This kind of attack seems to be on the rise and don't want my mail servers on blacklists. (a little bit more info about that kind of spam can be found at my blog: http://robert.penz.name/39/spamming-goes-to-new-level/ )has anyone an idea how to do this? thx
This will require some scripting. Turn on the ARCHIVEDIR setting, and run an hourly script that deletes the archived data files, then reads the control files. The control file should have the sender's IP address recorded, and the delivery status of each message's recipient. You'll skip the control files from the bounces themselves, and other meaningless messages. You should be able to put together something that keeps track of the running count of rejections, per sender.
pgpDMIAwNw5Vr.pgp
Description: PGP signature
------------------------------------------------------------------------- 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/
_______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
