[TriLUG] simple mail filter. best option?

Jason jason at monsterjam.org
Sat Jul 22 17:01:40 EDT 2006


On Sat, Jul 22, 2006 at 04:45:57PM -0400, Cristobal Palmer wrote:
> I have a site, bar.com,

you LIAR!

jason at monsterjam jason $ whois bar.com
   Domain Name: BAR.COM
   Registrar: NETWORK SOLUTIONS, LLC.
   Whois Server: whois.networksolutions.com
   Referral URL: http://www.networksolutions.com
   Name Server: NS3.CENTRALNIC.CO.UK
   Name Server: NS2.CENTRALNIC.CO.UK
   Name Server: NS1.CENTRALNIC.CO.UK
   Name Server: NS0.CENTRALNIC.CO.UK
   Name Server: NS3.CENTRALNIC.NET
   Name Server: NS2.CENTRALNIC.NET
   Name Server: NS1.CENTRALNIC.NET
   Name Server: NS0.CENTRALNIC.NET
   Status: REGISTRAR-LOCK
   EPP Status: clientTransferProhibited
   Updated Date: 21-Jun-2006
   Creation Date: 21-Apr-1994
   Expiration Date: 22-Apr-2009

Registrant:
O'Connor, Mike
   The O'Connor Company of St Paul
   2168 W. Hoyt Ave.
   St. Paul, MN 55108
   US

   Domain Name: BAR.COM

;)


> that will be receiving mail from clients such
> as foo and baz who have their own domains, foo.com and baz.com.
> 
> I want to set things up such that mail to foo at bar.com only gets
> through if it came from *@foo.com, likewise mail to baz at bar.com should
> be dropped if it didn't come from *@baz.com.
> 
> What's the _best_ way to do this if I'm using postfix? Something
> directly in postfix? Procmail?

are you trying to say you want to want to disable being an open relay?
http://www.spamhelp.org/shopenrelay/

or do you REALLY only want to accept smtp email from your users in your own domain? 
anyway, this sounds like a function of your smtp server.. you using postfix or sendmail or qmail or what?

Jason

-- 
================================================
|    Jason Welsh   jason at monsterjam.org        |
| http://monsterjam.org    DSS PGP: 0x5E30CC98 |
|    gpg key: http://monsterjam.org/gpg/       |
================================================




More information about the TriLUG mailing list