procmail
[Top] [All Lists]

Re: What exactly does \< expand to?

2004-07-28 21:13:05


Justin Gombos wrote:

* David W. Tamkin <dattier(_at_)panix(_dot_)com> [2004-07-28 20:13]:

but AFAIK any <CR><LF> pair has been reduced to <LF> by the time a
message gets to procmail.

I don't believe that.

First, I did say "AFAIK," and that's not very far.

At least in the case of processing old Wintel
Eudora Pro archives, mail that has a <CR><LF> persists through both
formail and procmail, and ends up getting delivered that way.

Neither formail nor procmail will remove the CR's; as I understand, the receiving MTA usually does before procmail gets its fingers on the message.

I don't like testing against "true" in the above recipe, because I
know procmail has defined a constant that includes: true, on, yes, 1,
etc.

Only for reserved booleans.

Anyone know if that's purely internal to procmail, or can I
declare a boolean and make use of it somehow?

If you use an unreserved variable, 1/on/yes/true could mean different things from one another, as could 0/off/no/false.

BTW- thanks for clearing things up on the \< metacharacter.

You're welcome.

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