David W. Tamkin wrote:
I made a typo in my advice to Bill McCormick:
:0Efhw
* ^Subject:.*log
* B ?? authentication failures|invalid users
| formail -i "X-Priority: 1 (Highest)"
:0A
.billinux.Logs/new
That was OK, but since he seems fond of nesting levels, I added,
It's less fondness and more newbie-ness :)
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
}
An `A' flag is superfluous when the preceding recipe is unconditional;
this is what I meant:
:0Efhw
* ^Subject:.*log
* B ?? authentication failures|invalid users
{
:0fhw
| formail -i "X-Priority: 1 (Highest)"
:0
.billinux.Logs/new
}
How about this?:
:0E
* ^Subject:.*log
{
:0Bfhw
* (authentication failures|invalid users)
| formail -i "X-Priority: 1 (Highest)"
:0
.billinux.Logs/new
}
This seems to work for me. May it could be more concise?
Still not sure what type of folder .billinux.Logs/new is or whether it
should have a local lockfile. Just about nobody -- perhaps absolutely
nobody -- uses classic procmail directories.
It's an IMAP folder. Specifically, courier IMAP. I probably don't know
what I'm doing there either. I do know this much however, it does work.
But as Larry Wall says ... TAMTOWTDI :)
Thanks
____________________________________________________________
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