Re: [Qmail-scanner-general]Trouble with alerts

2005-02-23 Thread John Mandeville
On Wed, 23 Feb 2005 01:46:41 +1300, Jason Haar wrote: I'm afraid the message you responded to was both unclear and inaccurate. Sorry about that. >John Mandeville wrote: > >>I'm having trouble getting Qmail-Scanner to send alerts to either the >>admin or the sender. When I first ran contrib/test

Re: [Qmail-scanner-general]missing header in quarantine

2005-02-23 Thread Salvatore Toribio
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

Re: [Qmail-scanner-general]missing header in quarantine

2005-02-23 Thread Arvinn Løkkebakken
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-Sca

Re: [Qmail-scanner-general]missing header in quarantine

2005-02-23 Thread Salvatore Toribio
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

Re: [Qmail-scanner-general]missing header in quarantine

2005-02-23 Thread Arvinn Løkkebakken
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 -