procmail
[Top] [All Lists]

Re: change X-priority in header

2004-08-09 06:59:45
Bill McCormick wrote:

Hello,

I'd like to check for key words in the body and if found change the X_priority to high and then deliver. Something like this:

 :0E
 * ^Subject:.*log
 {
   :0Bc
   * (authentication failures|invalid users)
   change header action????
     :0
     .billinux.Logs/new
 }

Thanks :)

I'm trying this without any success:

 :0E
 * ^Subject:.*log
 {
   :0Bc
   * (authentication failures|invalid users)
   | formail -i "X-Priority: 1 (Highest)"

   :0

   .billinux.Logs/new
 }


I get no errors. I see the message in the Logs folder but the priority is not set.

???

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