Hello,
I currently use Email::Filter for my mail filtering (I don't use
procmail). I'd like to add tmda to my filters after spamassassin but I
need to know what tmda needs to work this way..
# Run through spamassassin. No point in using tmda if the message is obviously
# spam. (spamassassin conf: required_hits = 35)
my $spamtest = Mail::SpamAssassin->new();
my $spamstat = $spamtest->check($mail->simple);
if ($spamstat->is_spam()) {
$spamstat->rewrite_mail();
$mail->accept("$base/spam.mail");
}
# Ok, the message didn't get flagged as spam, send it to tmda.
# $mail->simple > io('| /usr/bin/tmda-filter');
Does tmda-filter need some env variables or will it just accept the
message and handle it the rest of the way?
Thanks,
Geoffeg
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users