Whenever my if statement in the filter below is matched,
maildrop saves the message to the specified maildir and
crashes with signal 0x0B (SIGSEGV), and I get tons of
duplicates of it.
syslog says "deferral: maildrop:_signal_0x0B/"
I tried two different maildrop versions with the same result
maildrop-1.3.7-1mdk.src.rpm (rpm --rebuild) and
maildrop-1.3.9.tar.gz (rpm -ta).
The maildir is created with maildirmake from qmail and I don't
see anything wrong with it:
$ l -d Maildir.spam Maildir.spam/*
drwx------ 5 tfj tfj 4096 May 23 11:43 Maildir.spam
drwx------ 2 tfj tfj 4096 May 25 09:32 Maildir.spam/cur
drwx------ 2 tfj tfj 8192 May 25 10:31 Maildir.spam/new
drwx------ 2 tfj tfj 4096 May 25 10:31 Maildir.spam/tmp
Here is my current ~/.mailfilter:
DEFAULT="$HOME/Maildir/"
logfile "$HOME/mail.log"
log "before spamassassin"
xfilter "/usr/bin/spamassassin -P"
log "before spam check"
if (/^X-Spam-Status: Yes/:h)
{
log "spam"
to "$HOME/Maildir.spam/"
}
log "before cc"
cc "!xxxx...@yyyyyyyyyyyyyyyyyyy.dk"
log "fall through to default"
exception {
log "Unmatched mail"
}
Here is the bottom of the generated mail.log after a spam just
was redelivered:
before spamassassin
before spam check
spam
Date: Sat May 25 10:31:31 2002
From: bmda-Ginger-X <nqar...@excite.com>
Subj: Napster Adult-X: Last Chance Offer - Ends in 24Hrs - 100% FREE!
File: /usr/tfj/Maildir.spam/ (2933)
Tlf./Phone +45 35 87 89 41 | UNI-C
Fax. +45 35 87 89 90 | Bygning 304
| DK-2800 Lyngby