Try:

sendmail -i [EMAIL PROTECTED] < virusmail.eml

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tomasz
Chmielewski
Sent: Friday, May 16, 2008 8:09 AM
To: amavis-user@lists.sourceforge.net
Subject: [AMaViS-user] how to check an email from the command line?

Let's say I have four emails saved as files, with self-explanatory
names: 
virusmail.eml, spammail.eml, spammymail.eml and cleanmail.eml.

Is it possible to pass those emails from command line to amavis so that
I know 
if the message is INFECTED, SPAM, SPAMMY or CLEAN?


-- 
Tomasz Chmielewski
http://wpkg.org

------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
_________________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(r). 
For Information please see http://www.spammertrap.com
_________________________________________________________________________

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
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