Send variables to AV and altermime

Marius Gologan marius.gologan at gmail.com
Mon Jul 20 14:59:24 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/1d4ac3e9/attachment.html>


More information about the amavis-users mailing list