At 05:18 PM 1/29/2007, Troy Piggins wrote:
>[ Top-posting corrected ]
>* Paul Barbeau is quoted & my replies are inline below :
> >
> >> 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.
> >
> > What I do to release messages is the following (well something like it).
> >
> > zcat /var/virusmails/spam-xxxx.gz | sendmail [EMAIL PROTECTED]
>
>Thanks.  I just tried that, but that message got detected as spam
>again.  I have pretty much a default amavis setup, so guess I'll
>need to add someone to the whitelist :)  Now more reading to see
>how to do that.

It was detected as spam again because you have configured locally 
submitted mail to be scanned.  (that's a common enough configuration, 
not necessarily an error).

Rather than using sendmail, use a minimal smtp client.  I like mini_sendmail.

zcat /path/to/file | mini_sendmail -p 10025 [EMAIL PROTECTED]

Some notes:
- If the mail is multi-recipient, all the recipients will be listed 
in X-Envelope-To: headers in the quarantine file.  You might want to 
clean those up before releasing the mail to protect BCC: privacy.
- The above assumes postfix is listening on port 10025, which is the 
common setup.
- It's probably easier to use amavisd-release, which does the cleanup for you.

-- 
Noel Jones 


-------------------------------------------------------------------------
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/

Reply via email to