Sam Clippinger wrote:
There is a sample script for deleting old spamdyke graylist files in the spamdyke FAQ. It works on Linux -- you may need to adjust it slightly if you're using a different OS.

As for deleting folders for nonexistent users... I'm open to suggestions. I want to eventually extend spamdyke to reject email to invalid addresses but I have a problem. How can you tell if an address is invalid? I haven't studied this question closely yet, so I don't have a good answer.

I have a script around here somewhere to remove email accounts that are stale - I'll have to dig for it. As for rejecting if not a valid user - you would have to query the mysql table like chkuser does to determine this. Might want to dig in it's code to see how it makes the call exactly to save some time. Otherwise I think you'd be stuck checking for a real directory for the user and building a DB (maybe even using cdb from the Qmail package) to query against to save on the wear and tear on the drive. Seems more trouble than it's worth though, versus just querying the DB.
My 2-cents.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to