Re: [vchkpw] maildrop & quota & forward & autoresponder
and my others questions how with this configuration can we make work the .qmail file inside the directory ? to make feature from qmailadmin worked (the autorespond , the forwaders etc) thanks see the maildrop script in my post 'Re: [vchkpw] possible bug in vdelivermail' of March 4. It should be possible to solve your problem with a line to "| /path/to/vdelivermail '' bounce-no-mailbox" that starts standard vpopmail/qmail delivery and takes the .qmail file in the mailuser home into account. However, in my case it doesnt work properly. It does all qmailadmin features fine except forwarding! I was not able to solve the issue and so far nobody came up with a solution. It seems not to be a maildrop problem as some .qmail features work. From looking at the vdelivermail source I see no obvious bug as well. So my guess is some interaction thing, a system wide parameter that is lost while using maildrop (that is maybe also the answer to your other question). At the moment I found no better way than to scan the .qmail file from maildrop and check for a forward address and do the forwrd thing from within maildrop (yuck!). andrej
[vchkpw] maildrop & quota & forward & autoresponder
Hi i have the following maildrop file to put spam on different folders : SHELL="/bin/sh" VHOME="/usr/local/vpopmail/domains/$USER/$EXT/Maildir" if ( $SIZE < 262144 ) { exception { xfilter "/usr/local/bin/spamassassin" } } if (/^X-Spam-Status: *Yes/) { # try to deliver to the spam folder exception { xfilter "/usr/local/bin/deliverquota $VHOME/.Spam" exit } } # default delivery exception { xfilter "/usr/local/bin/deliverquota $VHOME" } ### check if our message was deliverd - returncode 77 means that out maildir was overquota - bouce mail if( $RETURNCODE == 77) { to "|/var/qmail/bin/bouncesaying 'user is over quota'" } for the spam it seem to work well but when my user is over quota the mail is rejected (that s great) but i don t get the email bounce back so what s the problem in : was overquota - bouce mail if( $RETURNCODE == 77) { to "|/var/qmail/bin/bouncesaying 'user is over quota'" } in my log i have : delivery 1484: deferral: user_is_over_quota/maildrop:_error_writing_to_mailbox.//usr/local/bin/maildr op:_Unable_to_deliver_to_mailbox./ but nothing send back to me :( and my others questions how with this configuration can we make work the .qmail file inside the directory ? to make feature from qmailadmin worked (the autorespond , the forwaders etc) thanks