Would another option be to pass the spam directory as an option to
vdelivermail in the .qmail-default file for a domain? Granted it
wouldn't address making the spam folder settable on a per user basis but
then again I guess it doesn't really need to be. Check the
pw_gid/pw_uid to see if it's enabled. If so, put spam in the place
specified when vdelivermail was called.
That's a good idea. The postmaster for a domain could easily edit the pref using QmailAdmin, and it wouldn't add any open/read/close file overhead to vdelivermail.
How about making it an environment variable that could be set via tcpserver?
I don't think that would work, since the environment variables only flow through to qmail-smtpd. I don't think there's a way for the variables to flow through to qmail-local.
Tom Collins - [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: sniffter.com