> -----Original Message-----
> From: Troy Piggins
> Subject: [AMaViS-user] how to retrieve a false positive spam
>
> I have a message that was falsely detected as spam[1]. I
> have found the gzipped file in /var/virusmails/spam-xxxx.gz.
>
> Is there a simple way to retrieve it or pass it on to the
> intended recipient, or do I just have to manually process it?
>
> I gunzipped it and tried to read it with mutt, but it does
> not appear to be a legitimate email format. How do I make it so?
>
> [1] It was given a score of 8, but was legitimate mail! Not
> the fault of amavis or spamassassin - the mail was extremely
> poorly formed and included many spam-like words.
>
> --
Troy,
If you have a recent version of amavis, you can use the amavisd-release
script that comes with amavisd-new.
I have a little bash function that does the work:
function requeue {
if [ $# -ne 1 ] ; then
echo 'Usage: requeue <message>'
return 1
fi
/usr/local/sbin/amavisd-release $(basename $1) && mv "$1"
/var/spool/amavis/quarantine/delivered/
}
Alternatively, you can use a simple smtp client such as smtpclient to inject
back into your post-queue smtpd (assuming postfix).
Be sure to read up on the amavisd-release mechanism, and search the archives
for "release" and/or "requeue".
MrC
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/