procmail
[Top] [All Lists]

Re: No To Line

2002-12-16 01:07:17
Steve Semple asked,

| I have noticed mail coming to me with no To line.
|
| What recipe would I use to get this?
|
| Would the following be sufficient?
|
| :0 H:
| * !To:
| In_NO_TO

Almost.  Mail that has no To: header but has Reply-To: or Errors-To: or
In-Reply-To: would be excused by it.  Also, `H' without `B' is the default,
and there have been some versions of procmail where once specified it stuck
irreversibly for the rest of your .procmailrc, so I would, you should pardon
the expression, get the H out of there.

 :0:
 * ! ^To:
 In_NO_TO


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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