Re: [AMaViS-user] how to check an email from the command line?
Tomasz, > > Did I forget to mention that I don't have any MTA running on the machine > > where amavisd-new sits? > Otherwise, you can use telnet. > # telnet 127.0.0.1 10024 > (or better yet, write a perl script to that...). Right, or use mini_sendmail, e.g.: $ mini_sendmail -s127.0.0.1 -p10024 [EMAIL PROTECTED] And sending it from somewhere else gets me the message delivered - still > with no clue if it was SPAM, SPAMMY etc. See the amavisd log for its verdict. Forwarding can be disabled (mail will go to a bit bucket) by setting: $forward_method = undef; Mark - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/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/
Re: [AMaViS-user] how to check an email from the command line?
Tomasz Chmielewski wrote: > Wazir Shpoon schrieb: > >> Try: >> >> sendmail -i [EMAIL PROTECTED] < virusmail.eml >> > > Did I forget to mention that I don't have any MTA running on the machine > where amavisd-new sits? > > # sendmail -i [EMAIL PROTECTED] < spam-3+qujZLjJ2Sg > postdrop: warning: unable to look up public/pickup: No such file or > directory > > where does amavisd-new get mail from? that's probably the place to submit your mail. Otherwise, you can use telnet. # telnet 127.0.0.1 10024 EHLO localhost MAIL FROM:<> RCPT TO:<[EMAIL PROTECTED]> DATA (paste your message here) . QUIT (or better yet, write a perl script to that...). > And sending it from somewhere else gets me the message delivered - still > with no clue if it was SPAM, SPAMMY etc. > probably because mail doesn't go through amavsid-new? > > > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/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/
Re: [AMaViS-user] how to check an email from the command line?
Wazir Shpoon schrieb: > Try: > > sendmail -i [EMAIL PROTECTED] < virusmail.eml Did I forget to mention that I don't have any MTA running on the machine where amavisd-new sits? # sendmail -i [EMAIL PROTECTED] < spam-3+qujZLjJ2Sg postdrop: warning: unable to look up public/pickup: No such file or directory And sending it from somewhere else gets me the message delivered - still with no clue if it was SPAM, SPAMMY etc. -- 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/vse012070mrt/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/
Re: [AMaViS-user] how to check an email from the command line?
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/vse012070mrt/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/vse012070mrt/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/
[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/vse012070mrt/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/