Kyle Wheeler wrote:
> cat mailfile | tail -6 | grep X-Qmail-Scanner-Mail-FromIn 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:
>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
------------------------------------------------------- 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_ide95&alloc_id396&op=click _______________________________________________ Qmail-scanner-general mailing list Qmail-scanner-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general