Re: [vchkpw] auto create dir for spam email

2004-03-08 Thread Frankie Wong
Sorry, it is caused by a blank line at the beginning of script file. Best Regards, Frankie > The error message still exist after I installed qmailadmin-1.2.1 that download from > http://qmailadmin.sf.net. > > I am sure that it is not caused by the cache of my brower. > > Will it caused by some

Re: [vchkpw] auto create dir for spam email

2004-03-08 Thread Frankie Wong
The error message still exist after I installed qmailadmin-1.2.1 that download from http://qmailadmin.sf.net. I am sure that it is not caused by the cache of my brower. Will it caused by some special default setting of Mandrake ? Regards, Frankie > On Mar 7, 2004, at 10:03 AM, Frankie Wong wr

Re: [vchkpw] auto create dir for spam email

2004-03-07 Thread Jeremy Kitchen
http://scriptkitchen.com/godkills.jpg <-- please, think of the kittens! On Sun, 2004-03-07 at 11:08, Frankie Wong wrote: > I tried it many times but it really works only after I change apache > user to vpopmail:vchkpw under Mandrake 9.2. mandrake has a daemon that likes to change permissions unde

Re: [vchkpw] auto create dir for spam email

2004-03-07 Thread Tom Collins
On Mar 7, 2004, at 10:03 AM, Frankie Wong wrote: On Mar 7, 2004, at 5:04 AM, Frankie Wong wrote: After I success to set automatically add spam directory by qmailadmin-hooks, I try to set automatically delete any user.pref file in the data directory of squirrelmail when del user in qmailadmin. Howev

Re: [vchkpw] auto create dir for spam email

2004-03-07 Thread Frankie Wong
qmailadmin-1.2.1 was download from shupp.org. Should I turn back to version 1.2.0 ? Regards, Frankie > My version is the updated one (1.2.1). Is there any setting I should highlight ? > > Regards, > > Frankie > >> On Mar 7, 2004, at 5:04 AM, Frankie Wong wrote: >>> After I success to set automat

Re: [vchkpw] auto create dir for spam email

2004-03-07 Thread Frankie Wong
I tried it many times but it really works only after I change apache user to vpopmail:vchkpw under Mandrake 9.2. Regards, Frankie > On Mar 6, 2004, at 8:23 PM, Frankie Wong wrote: >> It works after I change the apache user from apache:apache to >> vpopmail:vchkpw. > > That should be unnecessary

Re: [vchkpw] auto create dir for spam email

2004-03-07 Thread Frankie Wong
My version is the updated one (1.2.1). Is there any setting I should highlight ? Regards, Frankie > On Mar 7, 2004, at 5:04 AM, Frankie Wong wrote: >> After I success to set automatically add spam directory by >> qmailadmin-hooks, >> I try to set automatically delete any user.pref file in the da

Re: [vchkpw] auto create dir for spam email

2004-03-07 Thread Tom Collins
On Mar 6, 2004, at 8:23 PM, Frankie Wong wrote: It works after I change the apache user from apache:apache to vpopmail:vchkpw. That should be unnecessary, as qmailadmin is a suid binary and will run as user vpopmail:vchkpw on a properly configured system. If you can authenticate with qmailadmin,

Re: [vchkpw] auto create dir for spam email

2004-03-07 Thread Tom Collins
On Mar 7, 2004, at 5:04 AM, Frankie Wong wrote: After I success to set automatically add spam directory by qmailadmin-hooks, I try to set automatically delete any user.pref file in the data directory of squirrelmail when del user in qmailadmin. However , error message appears in qmailadmin when

Re: [vchkpw] auto create dir for spam email

2004-03-07 Thread Frankie Wong
After I success to set automatically add spam directory by qmailadmin-hooks, I try to set automatically delete any user.pref file in the data directory of squirrelmail when del user in qmailadmin. However , error message appears in qmailadmin when del user: Error 8 Where the parameters are: "/home

Re: [vchkpw] auto create dir for spam email

2004-03-06 Thread Frankie Wong
It works after I change the apache user from apache:apache to vpopmail:vchkpw. Regards, Frankie > If you have .qmailadmain-hooks in either the /home/vpopmail/etc or > /home/vpopmail/domains/domain_name/ directories and the ownerships are > right then it should be working. > > Unfortunately I don

Re: [vchkpw] auto create dir for spam email

2004-03-06 Thread Tom Collins
On Mar 6, 2004, at 8:13 AM, Barry Solof wrote: If you have .qmailadmain-hooks in either the /home/vpopmail/etc or /home/vpopmail/domains/domain_name/ directories and the ownerships are right then it should be working. Unfortunately I don't know a good way to debug this. Make sure you're running Qma

Re: [vchkpw] auto create dir for spam email

2004-03-06 Thread Barry Solof
If you have .qmailadmain-hooks in either the /home/vpopmail/etc or /home/vpopmail/domains/domain_name/ directories and the ownerships are right then it should be working. Unfortunately I don't know a good way to debug this. Is there anyone else on the list who works with the hooks who can help?

Re: [vchkpw] auto create dir for spam email

2004-03-06 Thread Frankie Wong
Yes, sure both .qmailadmin-hooks and make_dirs.sh are owned by vpopmail:vchkpw and mode of make_dirs.sh is 755. .qmailadmin-hooks seems not work and not execute make_dirs.sh even I insert something into make_dirs.sh like this: touch /tmp/test but nothing is created in /tmp. Since I direct use

[vchkpw] Re:?vchkpw] Auto create dir for spam email

2004-03-04 Thread Frankie Wong
I have tried the follows but it can't work .qmailadmin-hooks: /adduser /home/vpopmail/domains/mkspamdirs.sh mkspamdirs.sh: USERNAME=$1 DOMAIN=$2 SPAMFOLDER=".Spam" THEDIR=`/home/vpopmail/domains/$DOMAIN/$USERNAME` exec /usr/local/bin/maildirmake `$THEDIR/Maildir/$SPAMFOLDER` Please point out

Re: [vchkpw] auto create dir for spam email

2004-03-04 Thread Barry Solof
Hi, qmailadmin has "hooks" that will allow you to send info to other places when you add, delete or modify a user. Read the document /var/src/qmailadmin-x/README.hooks for details. Basically, it'll tell you to create a .qmailadmin-hooks file, what to put in it and the various places you m