I am having problems trying to get maildrop working in my mail server.
Have been using this configuration on a Redhat box for over a year and
recently moved to a Gentoo solution. Getting maildrop to work is the only
part that is failing.

To build the server, I have used the following gentoo documentation:

Everything is running well but I get permission problems when I try to
introduce maildrop. I am getting the following errors in the qmail-send

@4000000042bdac521ae5d764 new msg 1109815
@4000000042bdac521ae5e704 info msg 1109815: bytes 1568 from
<[EMAIL PROTECTED]> qp 2638 uid 210
@4000000042bdac521d5d0954 starting delivery 4890: msg 1109815 to local
@4000000042bdac521d5dfb84 status: local 1/10 remote 0/20
@4000000042bdac522a5dbdc4 delivery 4890: deferral:
@4000000042bdac522a5dcd64 status: local 0/10 remote 0/20

I have checked the permissions of all the maildrop related files and the

xen2 qmail-send # ls -la /usr/bin/maildrop
-rwxr-x---  1 vpopmail mail 166816 May 18 19:25 /usr/bin/maildrop
xen2 qmail-send # ls -la /etc/maildrop/mailfilter
-rw-------  1 vpopmail vpopmail 545 May 18 20:28 /etc/maildrop/mailfilter

This is my .qmail-default and corresponding mailfilter.

xen2 qmail-send # cat /var/vpopmail/domains/hippotje.com/.qmail-default |
/usr/bin/maildrop /etc/maildrop/mailfilter

xen2 qmail-send # cat /etc/maildrop/mailfilter
import EXT
import HOST
import HOME
MAX = 15
VHOME=`/var/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]
VPOP="| /var/vpopmail/bin/vdelivermail '' bounce-no-mailbox"
if ($VHOME)
   `test -d "$VHOME/.maildir/$JUNKFOLDER"`
   if( $RETURNCODE != 1 )
      if ( $SIZE < 262144 )
         exception {
            xfilter "/usr/bin/spamc -f -u [EMAIL PROTECTED]"
   if (/^X-Spam-Flag: *YES/)
      to "$VHOME/.maildir/$JUNKFOLDER/"
      to "$VHOME/.maildir/"
   to $VPOP

And finally -v output from maildrop.

xen2 root # maildrop -v
maildrop 1.8.0 Copyright 1998-2004 Double Precision, Inc.
GDBM extensions enabled.
Courier Authentication Library extension enabled.
Maildir quota extension enabled.
This program is distributed under the terms of the GNU General Public
License. See COPYING for additional information.
xen2 root #

Does anybody have any advice? This is the key to my complete mail server!!
I don't know if this is maildrop or vpopmail or qmail causing me the

Kind regards,


Reply via email to