denying email from your own domain but external IP's?

Ugo Bellavance ugob at CAMO-ROUTE.COM
Fri Jul 1 18:25:03 IST 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Matt Kehler wrote:
> I'd like to toss all email if the 'from' address is of my own domain
> (xyz.com), and it does NOT originate from my internal 192.168.1.0/24
> network.  Can I do this with MailScanner?  Or can I even do it with
> Sendmail itself instead?  
> 
> Basically in our environment, people can use our internal mail client
> while at work, or they can use our webmail, but thats IT.  (ie, no
> Outlook express clients at home :).  So essentially anything with the
> 'from' as xyz.com and NOT using our internal IP addressing would have to
> be forged.
> 
> thanks
> Matt
> 

And this is how I manage it

http://wiki.mailscanner.info/doku.php?id=documentation:anti_spam:spf:install:sendmail:spfmilter

Plus spf DNS records.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list