procmail
[Top] [All Lists]

Re: change X-priority in header

2004-08-09 07:29:03
Bill McCormick wrote:

And the answer is ...

 :0E
 * ^Subject:.*log
 {
   :0B
   * (authentication failures|invalid users)
   {
     :0Afhw

The `A' flag is meaningless on the first recipe inside a nesting level.

     | formail -i "X-Priority: 1 (Highest)"
   }

   :0

   .billinux.Logs/new
 }

All told, oy.  So much extra nesting.

  :0Efhw
  * ^Subject:.*log
  * B ?? authentication failures|invalid users
  | formail -i "X-Priority: 1 (Highest)"
  :0A
  .billinux.Logs/new

At the least, reduce it to this:

  :0Efhw
  * ^Subject:.*log
  * B ?? authentication failures|invalid users
  {
   :0fhw
   | formail -i "X-Priority: 1 (Highest)"

   :0A
   .billinux.Logs/new
  }

Note the absence of the "c" copy [flag.]

More importantly, note the presence of the `f' (filter) flag.


____________________________________________________________
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>