Displaying 1 result from an estimated 1 matches for "nnotspam".
Did you mean:
notspam
2007 Oct 09
1
SpamAssassin and Public Namespace
...+)
{
$imap->message_to_file("/tmp/salearn",$msgs[$i]);
# execute sa-learn w/data
# if ($debug) { $salearn = `/usr/bin/sa-learn -D --no-sync --showdots
--ham /tmp/salearn`; }
# else
{ $salearn = `/usr/bin/sa-learn --no-sync --showdots --ham /tmp/salearn`; }
print "-------\nNotSpam: ",$salearn,"\n-------\n" if $debug;
# delete processed message
$imap->delete_message($msgs[$i]);
unlink("/tmp/salearn");
}
$imap->expunge();
$imap->close();
$imap->logout();
# integrate learned stuff
my $sarebuild = `/usr/bin/sa-learn --sync`;
print &q...