Re: Sendmail whitelists
Brian Collins <[email protected]>
| Newsgroups | gmane.comp.security.intrusions |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2004-07-01 at 11:11, Robert Wagner wrote: > I was wondering if anyone has come up with a good method for creating a > whitelist on a sendmail gateway? > > -Background: I have been running sendmail successfully for a while. I am > interested in > locking down a mail gateway a bit further. Currently, mail comes in from > the outside, through a gateway, then on to a final mailserver. The problem > is with spam, since the gateway just looks at the domain and then relays > (access file) the mail inside. If the user doesn't exist, the internal > server then tries to return the mail. > > I would like to create a whitelist of known email addresses, so only they > get passed through. Bad email addresses are stopped/rejected at the > gateway. I see how to reject bad addresses, but there are an unlimited > amount of these. > > The problem is the relay command in the access file only works for the > entire domain. Is there a simple method for doing this? > > Someone mentioned: define(`_RELAY_FULL_ADDR_', `1') > But I cannot find any information on where this will work and what exactly > it does. Have you considered switching to Postfix? It does it fairly easily. -- Brian Collins <[email protected]> _______________________________________________ Intrusions mailing list [email protected] http://www.dshield.org/mailman/listinfo/intrusions