procmail
[Top] [All Lists]

how do I let internal email bypass rules?

2004-04-29 06:10:55
Can someone help me with the syntax?  I want internally sent mail to bypass
all procmail that is generated internally.  Something like:

:0 H
* ^From*.mydomain.com
* ^TO_*.mydomain.com
{
   :0 H
    if there's ONE and only ONE "^Received:" line in the header
    {
        ip_addr= "Received: from geolaw ([10.0.2.227])"  // somehow strip
the ip that's in [] brackets
        if ip_addr= "10." or ip_addr= "192.168", then deliver
        :0:
        $DEFAULT
     }
}

I know my procmail pseudo script is terrible but someone probably already
has this.

thanks!
-eric wood


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