-------------------- Start of forwarded message --------------------
Date: Wed, 25 Sep 2002 09:09:04 +0200
To: [EMAIL PROTECTED]
Subject: TMDA from maildrop
From: Kirill Miazine <[EMAIL PROTECTED]>
Hi Jason,
It's me experimenting with TMDA again :)
Relevant part of .mailfilter:
<quote>
import SENDER;
import RECIPIENT;
import EXTENSION;
cc "|/local/tmda/bin/tmda-filter";
if ($EXITCODE == 111)
{
EXITCODE = 75;
exit;
}
if ($EXITCODE != 0)
{
EXITCODE = 0;
exit;
}
#
# take care of the final delivery here
#
</quote>
By calling tmda-filter from maildrop rather than maildrop from TMDA,
user can select what mail he wants to protect by TMDA and what mail he
wants to get in all cases. In my case, I want to scan all @krot.org
mail, but let my university mail (which is forwarded to @krot.org) go
unscanned.
My MTA is Exim, but I *didn't* specify "exim" as my MTA in ~/.tmdarc. I
let maildrop deal with exit codes.
Bye,
--
Kirill
-------------------- End of forwarded message --------------------
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users