testing Amavisd results by command-line with a source message
Noel Jones
njones at megan.vbhcs.org
Mon Apr 18 13:16:31 CEST 2011
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
More information about the amavis-users
mailing list