era eriksson <era(_at_)iki(_dot_)fi> writes:
Here's what they would like to see:
1. If a message is for user(_at_)iki(_dot_)fi, proceed to 3.
2. If a message is for user(_at_)nospam(_dot_)iki(_dot_)fi, run it through
some sort
of content filtering, and generate a bounce if warranted.
3. Do normal /etc/aliases alias expansion etc and proceed with mail
processing as usual.
I guess the easiest is to use a mailertable entry like
spam.iki.fi procmail:/etc/procmailrcs/spamcheck
assuming they are using sendmail+procmail. Then in spamcheck, you can do the
checking and if the mail "succeeds", procmail can send it further to
<user>@iki.fi. Of course, you have to be careful to pass the right "-f"
flag to sendmail, etc...
Stefan