Hi Mitchell,

> -----Original Message-----
> From: Mitchell Baker
>
> I am wanting to setup that any message from systems within 
> our domain don't get sent to spamd...  I have the following 
> in the /etc/procmailrc
> file:
> 
> :0:
> * [EMAIL PROTECTED]
> ${DEFAULT}
> # From system.rose-hulman.edu
> :0:
> * [EMAIL PROTECTED]
> ${DEFAULT}
> #

I don't know what MTA you are using.  Postfix allows me to obtain the
envelope sender/recipient which is nicer to work with than just the header
>From field.  I inject a custom X- field with the envelope information and
use that in my white list.

:0:
* ^X-My-MailFrom:[EMAIL PROTECTED]
* ^Received: from server\.rose-hulman\.edu
${DEFAULT}

Alternatively, you could use some unique combination of fields that would be
difficult to forge..

:0:
* ^Message-ID:[EMAIL PROTECTED]
* ^Received: from server\.rose-hulman\.edu
* ^Organization: Rose-Hulman Institute of Technology
${DEFAULT}


> This seems to work most of the time we when certian messages 
> have rose-hulman.edu burried in the Return-Path or From 
> before the "@" then it will not get send to spamd.. Any help 
> refining these would be greatly appreciated...

Hope this helps!

Regards,
Larry



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to