Hi, maildrop works just fine with vpopmail! Mails are delivered to the Maildirs and spam-mails are delivered to the Maildir/.Spam folder.
but if the mailbox goes over quota, the following happens: if maildrop is compiled with --enable-use-dotlock=0 \ --enable-maildirquota no bounce is send to the sender of the mail which is too big for the full mailbox, but the mail is delivered to "/var/spool/mail/vpopmail" in the mbox-format In the Logfile /var/log/maillog I get: Oct 23 17:39:48 mail qmail: 1066923588.399511 delivery 43930: success: maildrop:_maildir_over_quota./did_0+0+1/ if maildrop is compiled with --enable-use-dotlock=1 \ --enable-lockext-def=.lock \ --enable-maildirquota NO mail is delvered to "/var/spool/mail/vpopmail" and no bounce is resend to the sender. in the Logfile /var/log/maillog I get: Oct 23 17:31:27 mail qmail: 1066923087.502439 delivery 43879: deferral: maildrop:_maildir_over_quota.//usr/local/bin/maildrop:_Unable_to_create_a_dot-lock./ I use qmail-1.03, vpopmail 5.21, maildrop 1.6.2, qmail-scanner-1.16 (spamassassin is invoked by qmail-scanner) for this domain "domain.test.local", my .qmail-default looks like this: ######### 8< Schnipp 8< ######### | /usr/local/bin/maildrop /home/vpopmail/domains/domain.test.local/mailfilter ######### 8< Schnapp 8< ######### my /home/vpopmail/domains/domain.test.local/mailfilter looks like this: ######### 8< Schnipp 8< ######### SHELL="/bin/sh" import EXT import HOST VPOP="| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox" VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED] logfile "mailfilter.log" if ( $VHOME eq "" ) { log "========" log "ERROR: VHOME isn't set!" to "$VPOP" } else { # Make sure the quota file is in place. # Vpopmail does not create it by default. # Vpopmail also removes it when you change the quota. `test -s "$VHOME/Maildir/maildirsize"` if ( $RETURNCODE == 1 ) { `/home/vpopmail/bin/vuserinfo -Q [EMAIL PROTECTED] `test -s "$VHOME/Maildir/maildirsize"` if ( $RETURNCODE == 0 ) { `/bin/chown vpopmail:vchkpw $VHOME/Maildir/maildirsize` `/bin/chmod 640 $VHOME/Maildir/maildirsize` } } if (/^X-Spam-Flag: *YES/) { `test -d $VHOME/Maildir/.Spam` if( $RETURNCODE == 1) { `maildirmake -f Spam $VHOME/Maildir` } exception { to "$VHOME/Maildir/.Spam/" } } # default delivery exception { to "$VHOME/Maildir/" } } ######### 8< Schnapp 8< ######### Where is my failure? Thanks Alexander Bruns