Decided to ditch sendmail on my Slackware box and go with Courier since I was already using maildrop and have heard good things about Courier.
Long story short, I installed it and everything works superbly. Couldn't be happier with the performance of the daemon and it's layout.
However, I have just one problem: maildrop does not seem to be reading it's configuration file (/etc/maildroprc). I set etc/courierd to use maildrop as the DEFAULTDELIVERY variable. Mail gets dropped into the user's ~/Maildir folder and it seems to work. Yet when I put something into /etc/maildroprc I get no difference.
I currently have this in my maildroprc:
Code:
if ( $SIZE < 26144 ) {
exception {
xfilter "/usr/bin/spamassassin"
}
}
if (/^X-Spam-Flag: *YES/) {
exception {
to "$HOME/Maildir/.Spam/"
}
} else {
exception {
to "$HOME/Maildir/"
}
}
I want maildrop to filter the mail through spamassassin and then if it's spam, drop it into the .Spam directory of the user's Maildir.
If anyone can offer any help, I'd be more than grateful.
Thanks.