I've found that sending mail to micah+te...@riseup.net results in the
message getting sent to maildrop, but then it silently disappears,
without a trace. Postfix sends the message to the maildrop service, but
it doesn't appear to be delivered and no logger messages from my maildrop
are triggered on it.
Dec 6 11:25:37 cormorant postfix/pipe[20262]: CD32B6036C7: to=<micah
+te...@riseup.net>, relay=maildrop, delay=0.22, delays=0.04/0.12/0/0.07,
dsn=2.0.0, status=sent (delivered via maildrop service)
I'm using 2.0.2 and my /etc/maildroprc looks like this:
SHELL="/bin/ash"
/To:.*/:h
TO="$MATCH"
/From:.*/:h
FR="$MATCH"
/Subject:.*/:h
SUB="$MATCH"
exception {
if ( $SIZE < 250000 )
{
`logger -t maildrop -pmail.info "Checking for spam: $FR $TO"`
xfilter "/usr/bin/spamc -d spamd2-pn -t 100 -u $LOGNAME"
}
if (/^X-Spam-Flag: YES/)
{
exception {
`logger -t maildrop -pmail.info "Found spam: $FR $TO ($SUB)"`
to "$DEFAULT/.Spam/"
}
}
else
{
`logger -t maildrop -pmail.info "Delivering: $FR $TO $DEFAULT"`
}
}
exception {
include "$DEFAULT/mailfilter"
}
Thanks for any ideas!
micah