Procmail Question?

Dpk dpk@egr.msu.edu
Wed, 10 Jan 2001 11:40:52 -0500


On Wed, Jan 10, 2001 at 11:30:14AM -0500, Edward Glowacki wrote:

   I'm not a procmail guru by any means, but some of this might work
   to help organize yourself a bit, might help track down the problem.

Procmail can simplify destination addresses quite nicely:

* !^TO_(donahu16|pd|root|apps|page_paul|webmaster|hostmaster|donahue|linux-user)

>From the procmailrc manpage:

     If the regular expression contains `^TO_' it will be substi-
     tuted by `(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope
     |Apparently(-Resent)?)-To):(.*[^-a-zA-Z0-9_.])?)', which
     should catch all destination specifications containing a
     specific address.

Hope this helps.

dpk