RE: [vchkpw] vpopmail and spam folder

2005-12-27 Thread Charles J. Boening
mar Draz [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 27, 2005 8:21 AM > To: vchkpw@inter7.com > Subject: RE: [vchkpw] vpopmail and spam folder > > hi Charles > > thanks for your reply > > > `test -d ./Maildir/.SPAM` >if( $RETURNCODE == 1 ) >

RE: [vchkpw] vpopmail and spam folder

2005-12-27 Thread Umar Draz
hi CharlesĀ  thanks for your reply `test -d ./Maildir/.SPAM` if( $RETURNCODE == 1 ) { `/var/qmail/bin/maildirmake ./Maildir/.SPAM;chown -R vpopmail.vchkpw ./Maildir/.SPAM`where i put this script and how it will automatically run whenever is add a new user?Regards,Umar Draz"Charles J. Boening"

RE: [vchkpw] vpopmail and spam folder

2005-12-27 Thread Charles J. Boening
Here's the way I do it using maildrop. This is called from a .qmail file in the user's directory. An alternative way would be to write a little wrapper script around vadduser. Have it add the user then retrieve the directory and then make the spam folder. I'm also using simscan to run spamassas