Hello,

I'm using File Scan Command on ASSP2 to run an external Perl script to then
run a virus scanner and a number of other rule-based checks. 

I pass the filename to the external script to find the correct file, but
also need to know what recipient the message has been sent to within the
SMTP commands in order to apply the external rules correctly. I can look
into the header of the email, but the header 'To' field is not always the
same as the 'To' of the actual SMTP sender.

Is there a way to correlate the email file with the actual recipient address
during the File Scan Command process  - either a cross reference with the
filename, or a way to push the recipient as one of the parameters in the
File Scan Command? Alternatively, is there a way to write the SMTP recipient
address to the headers before the file is written to the virusscan
directory, and then I can parse through the file and get it this way.

Any ideas?

Thanks
Nick



______________________________________________
Giacom email security by www.messagestream.com




------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to