procmail
[Top] [All Lists]

Re: problem with blank subject

2002-06-07 16:48:58
On  7 Jun, Edward Huang wrote:
| HI Martin,
| 
| loking at log file,  /etc/rejectf doesnt even get executed at all
| 
| therefore I believe  * ^Subject:\/.*  is failing (the rules are ANDed
| together) because it has nothing to put into $MATCH   ??
| 
| [...]

Sounds more like there is no Subject: header, than that there is a
blank Subject:.  Try:

  :0HBi
  * .*(.....)
  * 1^0
  * 1^0 ^Subject:\/.*
  | /etc/rejectf "$1" "$2" "${MATCH:-No Subject}"


-- 
Reply to list please, or append "6" to "procmail" in address if you must.
Spammers' unrelenting address harvesting forces me to this...reluctantly.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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