procmail
[Top] [All Lists]

Re: recipe not being honored.

2008-06-30 08:40:21
* Christpher Barnard <cbarnard(_at_)rush(_dot_)edu> [06-30-08 11:30]:

I think I need another set of eyes.  I have not found the solution in the
archives, but I'm not sure what I am doing wrong so I do not know what to
search for.

 ...

The rule:

:0:
* ^To:(_dot_)root(_at_)dmznb-b(_dot_)dmzbbus(_dot_)rpslmc(_dot_)edu
* ^Subject:.Backup
* succeeded
/opt/home/cbarnard/mail/backups


You will not find it because you are only searching in the headers.
By default procmail searches headers.  You must set the "body" flag in
the recipe, :0b

:0:
* ^To:(_dot_)root(_at_)dmznb-b(_dot_)dmzbbus(_dot_)rpslmc(_dot_)edu
* ^Subject:.Backup
 {:0b
 * succeeded
 }
/opt/home/cbarnard/mail/backups


if my syntax is correct

-- 
Patrick Shanahan         Plainfield, Indiana, USA        HOG # US1244711
http://wahoo.no-ip.org     Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535                    @ http://counter.li.org
____________________________________________________________
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>