Honestly, I don't know.  Only about 10 users had it in their .qmail file.
This is hte maildroprc from the old mail server.

import EXT
import HOST
VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]
DOMDIR=`/home/vpopmail/bin/vdominfo -d $HOST`
JUNK="$VHOME/Maildir/.Spam/"
DELETESCORE=20


DUMMY=`test -d $VHOME/Maildir`
if ( $RETURNCODE == 1 )
{
    DUMMY=`grep bounce-no-mailbox $DOMDIR/.qmail-default`
    if ( $RETURNCODE == 0 )
    {
           echo "Sorry, no mailbox here by that name. (#5.1.1) - maildrop"
           EXITCODE=100
           exit
    }
    DUMMY=`grep ' delete$' $DOMDIR/.qmail-default`
    if ( $RETURNCODE == 0 )
    {
           echo "Deleted mail for non-existent user [EMAIL PROTECTED] - 
maildrop"
           EXITCODE=0
           exit
    }
    # else, it's either a Maildir or forward
    ARG4=`awk '{ print $4 }' $DOMDIR/.qmail-default`
    # check forward first
    DUMMY=`echo $ARG4 | grep '@'`
    if ( $RETURNCODE == 0 )
    {
        to '| /var/qmail/bin/qmail-inject'
    }
    # then check Maildir
    DUMMY=`echo $ARG4 | grep '^/'`
    if ( $RETURNCODE == 0 )
    {
        VHOME="$ARG4"
        JUNK="$ARG4/Maildir/.Spam/"
    }
}


#if ( $SIZE < 262144 )
#{
        #exception {
                #xfilter "/usr/bin/spamc -f -u [EMAIL PROTECTED]"
        #}
#}

if (/^X-Spam-Flag:\s*YES/)
{
        exception {
        /X-Spam-Status: Yes, score=(-*[0-9]+\.[0-9]+)/
        SCORE=$MATCH1
        if ($SCORE >= $DELETESCORE )
        {
            if ( /^From:\s+(.*)/ )
            {
                   ADDR=getaddr($MATCH1)
            }

                echo "auto-deleted spam from $FROM::$ADDR to [EMAIL PROTECTED] 
with
score of $SCORE"
            to /dev/null
        }
        }
    DUMMY=`test -d $JUNK`
    if ( $RETURNCODE == 1 )
    {
        `/var/qmail/bin/maildirmake $JUNK`
                 echo "created $JUNK"
    }
    to $JUNK
}
else
{
    echo "maildrop: non-filtered mail delivery"
        to $VHOME/Maildir/
}


On Thu, May 1, 2008 at 4:47 PM, Bill Shupp <[EMAIL PROTECTED]> wrote:

> On May 1, 2008, at 1:32 PM, JP Maxwell / Gmail wrote:
>
>  Got it!
> >
> > So, if creating a new account on this system does not seem to go through
> > maildrop - my guess is I don't need it anymore?  Is that right?
> >
>
> That depends.  Why are did you need maildrop in the first place?
>
> Bill
>

Reply via email to