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 sen...@example.com > recipi...@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. --