procmail
[Top] [All Lists]

Re: empty body

2006-06-21 09:30:04
On Tue, Jun 20, 2006 at 01:32:03AM +0200, Dallman Ross wrote:
Since H is the default action, there is no need to ever specify it.
Well, but that's not quite correct.
E.g., if you want to match both body and header, you need it.
  :0 HB
  * foo
  action

Something like that, yes.

However, that would invoke the bug we are trying to avoid.
The H-flag would get stuck "on."  So, instead, we do this:
  :0
  * HB ?? foo
  action

To be precise, I had this:
:0HB:
* -1^0
* -20^0 ^From (_dot_)*(_at_)sgh\(_dot_)waw\(_dot_)pl
* 1^0 ^Subject:.*(v|w)irus
* 1^0 (w|v)irus
* 2^0 V I R U S  A L E R T
* 2^0 VIRUS ALERT
* 1^1 infected
* 1^1 check your system for viruses
* 1^0 raport skanera antywirusowego
* 1^0 avp report
* 1^0 antivirus.*(report|system)
* 1^0 zainfekowany wirusem
* 1^0 win32.sobig.f
* 1^0 \<sobig\>
* 1^0 \<reteras\>
* 1^0 \<worm_sobig\>
virus.crap

Will
* 1^0 HB ?? infected
work too?

If so, I can rewrite that. If not, I am stuck with moving "empty body recipe"
above this one.

p.

-- 
Beware of he who would deny you access to information, for in his
heart he dreams himself your master.   -- Commissioner Pravin Lal

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>