At 10:35 +0100 23-02-2005, Arvinn Løkkebakken wrote:
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 :)
Yes, it should be
Or maybe this one that works with RedHat
# grep '^X-Antivirus-PUSC-Mail-From' apo135.usc.urbe.it11091468856947166 |\
tail -1 | sed 's/^X-Antivirus-PUSC-Mail-From: "\(.*\)" .*$/\1/'
# [EMAIL PROTECTED]
Cheers
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