Hello everyone,
I have a running Courier MTA + Maildrop setup which reads /usr/lib/etc/maildirfilter in order to process all incoming messages and test them for spam.
This is the content"
Code:
exception {
xfilter "/usr/local/bin/spamassassin -x"
}
if ( /^X-Spam-Flag: YES/ )
{
to "$HOME/Maildir/.Spam/"
}
else
{
to "$HOME/Maildir/"
}
But now I would like to enable each user to further process his mail, so he could create auto-responders and the like.
I tried creating a .mailfilter file in the home directory, but that didin't work.
The maildrop man page says that the system-wide filter instructions are always processed first. And the "to" command lets maildrop deliver the message and shut down, so I guess it cannot reach the users .mailfilter at all.
So I could leave out the "to" command, but then every user would need a .mailfilter file?
How can I make this file optional?
I'd welcome any ideas.
Greetings
Marcus