procmail
[Top] [All Lists]

Re: recipe not being honored.

2008-06-30 08:34:59
Christpher Barnard wrote:
...  But I have been unable to get the
keyword in the body recognized.  I have tried searching on a longer
string, I have added .* wildcards on either side of the keyword, but it is
never caught.  If anyone has any suggestions I would be most grateful.  I
have included below the rule, the email, and the procmail log
corresponding to that email.
By default only the header is scanned, you can scan the body with the B flag:

H
   Egrep the header (default).
B
   Egrep the body.

So the recipe would become

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

--
Klaus Johannes Rusch
KlausRusch(_at_)atmedia(_dot_)net
http://www.atmedia.net/KlausRusch/

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