Salvatore Toribio wrote:

At 9:08 +0100 23-02-2005, Arvinn Løkkebakken wrote:

Kyle Wheeler wrote:

In a shell script, you mean? Nah, it's easy - qmail-scanner always adds
6 lines to the end of the mail, so if you're processing the mail itself,
just look for X-Qmail-Scanner-Mail-From and X-Qmail-Scanner-Rcpt-To in
the last 6 lines. Something like:


 >    cat mailfile | tail -6 | grep X-Qmail-Scanner-Mail-From


 >should be sufficient.
 >
Yeah, I agree.


Hi Arvinn

I think that you are using 1.24st. Be aware that if you enable sa_alt and sa_debug, sa_report will be write in the quarantined file so 'X-Qmail-Scanner-Mail-From' won't be in the 6 last lines.

Regards

ST


Thanks Salvatore. I do use sa_alt and sa_debug, but I didn't feel it was necessary to mention the details.
I think "grep '^X-Qmail-Scanner-Mail-From' | tail -1" should be sufficient for me and others trying to do the same :)


Arvinn


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Qmail-scanner-general mailing list Qmail-scanner-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to