Send variables to AV and altermime

Marius Gologan marius.gologan at gmail.com
Mon Jul 20 15:03:58 CEST 2015


Hi,

 

Is it possible to send variables such as $sender and $recipient (I don't
know which are the real ones) to AV and altermime as described below?

AV Example:

@av_scanners = (

  ['MY CONTENT FILTER', '/path/to/myscript', '$sender -- $recipient {}',
[2],

  qr/\bFOUND/m ],

);

 

Altermime example:
$altermime = '/path/to/myscript $sender -- $recipient';

 


I don't want to use From: or To: values - these can be forged.

I need to record these values in a databases and recall them later from the
same scripts.

 

Thank you.

 

Marius Gologan.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20150720/5f16d95d/attachment.html>


More information about the amavis-users mailing list