I'm running vpopmail 5.3.8 with spamassassin 2.55 (mysql for prefs). I'm having problems with maildrop performing a mailfilter I found on the vpopmail mailling list. I am also using courier-imap in conjunction with qmail.
[see http://bluedot.net/mail/archive/read.php?f=2&i=10377&t=10377] The .SPAM folder is not created, and I am left with the following error message: 2003-05-30 17:44:28.190244500 delivery 359: deferral: /usr/local/bin/maildrop:_Invalid_home_directory_permissions_-_world_writable./preline:_fatal:_unable_to_copy_input:_broken_pipe/ If I manually perform the maildirmake .SPAM, then chown -R vpopmail:vchkpw .SPAM, I get the same error. In my ~vpopmail/domains/realirc.org/.qmail-default I have: |preline /usr/local/bin/maildrop |/usr/local/vpopmail/bin/vdelivermail '' bounce-no-mailbox I'm doing it like this so I can just test it on one domain right now, so I don't break the whole box, heh. I had to slightly modify the script to fit my proper paths. I renamed it to maildroprc and placed it in /usr/local/etc (on a FreeBSD 5.0 machine) so it reads it by default as stated by maildrop's man page. Below is my maildroprc file: import EXT import HOST import HOME VHOME=`/usr/local/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED] if ((/^X-Spam-Flag:.*YES/)) { `test -d $VHOME/Maildir/.SPAM` if( $RETURNCODE == 1 ) { `maildirmake $VHOME/Maildir/.SPAM; chown -R vpopmail:vchkpw $VHOME/Maildir/.SPAM` } to "$VHOME/Maildir/.SPAM/" } The VPOP was omitted because of my previous statement of how vdelivermail is called. Below are the permissions for the files/dirs in question: -rwxr-xr-x 1 root mail 152696 May 29 00:44 /usr/local/bin/maildrop -rw-r--r-- 1 root wheel 388 May 30 17:42 /usr/local/etc/maildroprc In /usr/local/vpopmail/domains: drwx------ 9 vpopmail vchkpw 512 May 30 18:01 realirc.org In /usr/local/vpopmail/domains/realirc.org: -rw------- 1 vpopmail vchkpw 92 May 30 18:01 .qmail-default In /usr/local/vpopmail/domains/realirc.org/cyko: ./Maildir: total 22 drwx------ 8 vpopmail vchkpw 512 May 30 17:46 . drwx------ 4 vpopmail vchkpw 512 Apr 18 21:59 .. drwx------ 5 vpopmail vchkpw 512 May 30 17:46 .SPAM (**manually created**) drwx------ 5 vpopmail vchkpw 512 May 1 22:37 .Trash drwx------ 5 vpopmail vchkpw 512 May 30 17:30 .sent-mail -rw-r--r-- 1 vpopmail vchkpw 241 May 30 16:57 courierimapuiddb drwx------ 2 vpopmail vchkpw 1024 May 30 16:57 cur -rw------- 1 vpopmail vchkpw 3054 May 30 16:56 maildirsize drwx------ 2 vpopmail vchkpw 512 May 30 16:56 new drwx------ 2 vpopmail vchkpw 512 May 30 17:33 tmp ./Maildir/.SPAM: total 10 drwx------ 5 vpopmail vchkpw 512 May 30 17:46 . drwx------ 8 vpopmail vchkpw 512 May 30 17:46 .. drwx------ 2 vpopmail vchkpw 512 May 30 17:46 cur drwx------ 2 vpopmail vchkpw 512 May 30 17:46 new drwx------ 2 vpopmail vchkpw 512 May 30 17:46 tmp Any ideas are appreciated. Sorry for the immense amount of information. I just wanted to make sure I covered everything so I can resolve this quickly. Thanks, -Patrick Lahni [EMAIL PROTECTED] ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/