#720472 add amavis-inject script to amavisd-new package

#720472#5
Date:
2013-08-22 11:40:17 UTC
From:
To:
Hi

I suggest to add the old amavis-inject script from the amavis-ng package to amavisd-new.  I have taken the script contained in the latest released version of amavis-ng and adjusted it to work with amavisd-new.  The fixed version is attached to this mail.

I have also fixed the POD documentation in the script so that pod2man produces a proper man page.

Regards     -- Elmar

#720472#10
Date:
2013-08-23 14:59:38 UTC
From:
To:
While I was at it, I refactored the script to use Email::Simple from CPAN.  This makes the handling of headers more reliable.  There is an additional dependency on libemail-simple-perl.

The new version is attached.

Regards     -- Elmar