procmail
[Top] [All Lists]

Re: all those unwanted congratulations

1996-12-18 12:50:49
On Wed, 18 Dec 1996, Tim wrote:

A PROCMAIL related question:  I was reading the PROCMAILRC MAN page and 
was wondering -- If I stick in a:

      :0
      * ^FROM_DAEMON
      $DEFAULT

do I need to stick a:

      :0
      * ^FROM_MAILER
      $DEFAULT

after it?  I mean is there anything that "FROM_MAILER" would catch that 
"FROM_DAEMON" wouldn't?  From analyzing the REGEXP of both, it doesn't 
appear to.

        No you don't.  As a matter of fact, He'res the part of the man
page that says so:

       If  the regular expression contains `^FROM_MAILER' it will
       be substituted by `(^(((Resent-)?(From|Sender)|X-Envelope-
        <<<snip regex>>>
       z0-9].*)?$[^>])' (a stripped down version of `^FROM_DAEMON'), 
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

So if you have the ^FROM_DAEMON before the ^FROM_MAILER than the mailer
isn't nessary. 

================================================================  /| |\
James V. Di Toro III            | "I've got a bad feeling        / |_| \/\
System Administrator, GATS, Inc.|   about This" -various        |()\ /  ||
W: 757/865-7491  F:757/865-1021 |------------------------------ |---0---_|
   karrde(_at_)gats(_dot_)hampton(_dot_)va(_dot_)us     |  
www.gats.hampton.va.us        \ / \ /
webmaster(_at_)gats(_dot_)hampton(_dot_)va(_dot_)us     |                       
          ^:::^