Perhaps this is a strange request, but here goes...
It would be nice to have a template .qmail file that gets coppied into the vpopmail user's directory when creating a new user. This would work sort of like how useradd takes /etc/skel and copies those files into the new user's home dir.
Reason for this?
I want to be able to use the .qmail file to call a script that filters spam (using the spamassassin spamc/spamd)
Perhaps there's a better way to do this using qmail (filtering at the queue level perhaps)? Any suggestions are more than welcome.
Anyways, the .qmail file will work for now. I was able to hack the user.c addusernow() function so that it copies a .qmail file into the new user's directory. If anybody is interested in how I did this let me know... its a pretty ugly hack though.
Ryan / Plastic Portal
M&M Recordings http://www.mmrecordings.com
Tired of spam? Get advanced junk mail protection with MSN 8.
