testing Amavisd results by command-line with a source message
david touzeau
david.touzeau at fr.kaspersky.com
Mon Apr 18 19:22:30 CEST 2011
Le lundi 18 avril 2011 à 06:16 -0500, Noel Jones a écrit :
> On 4/18/2011 4:29 AM, david touzeau wrote:
> > Dear all
> > Is there a tool or a command line in order to test amavisd results by
> > giving a source message in the same way of spamassassin (eg spamassassin
> > -D< /tmp/message.txt ?
> >
> > best regards
> >
> >
>
> amavisd doesn't have a "test mode", but you can manually
> inject messages using a command-line SMTP tool such as
> mini_sendmail. Something like:
>
> (on one line in case it gets mangled in transmission)
> mini_sendmail -p10025 -f sender at example.com
> recipient at example.org < testmail
>
> where testmail is a rfc822 message.
>
>
> -- Noel Jones
>
Thanks but the goal is to analyze/traps debug results in order to verify
rules without sending the message trough the MTA process.
--
More information about the amavis-users
mailing list