procmail
[Top] [All Lists]

Re: Procmail uses wrong recipe for alias mail

1997-11-09 12:24:23
Jari Aalto asked about Jeremy Malcolm's question,

| Would this be the solution?
| 
|     :0
|     * ^TOcssa\>

No, because that would also catch mail to cssa-admin, one of the other
aliases.  This would work,

      * ^TOcssa([^-n]|$)

or maybe

      * ^TOcssa([>@, ]|$)

but it's better to change the recipe order (and add the local lockfiles) as
Aaron Schrab has already suggested.

| Would this be a general Lint rule I could use?
| 
|     "Warning, possibly missing \> at the end of ^TO condition."

Nope.

| In what cases we can't put \> to the end of ^TO ?

I think it's too hard to second-guess.  The only clear case is one where
it already ends in "$".

<Prev in Thread] Current Thread [Next in Thread>