[Mimedefang] Specifying valid users?
John Rudd
john at rudd.cc
Sat Aug 13 07:10:25 EDT 2005
On Aug 10, 2005, at 3:00 PM, Jim McCullars wrote:
>
>
> On Wed, 10 Aug 2005, Josh Graham wrote:
>
>> Thanks guys, I've been working with the Exchange 2003 version but
>> md_check_against_smtp_server doesn't log anything so I can't tell why
>> it's not working at the moment.
>
> I think some others have gotten around this by constructing an
> access
> db file to keep on the relaying host to accept mail for defined users
> and
> rejecting for everyone else. This would be feasible only if your valid
> user list were reasonably static. I haven't tried this myself, but
> something like:
>
> To:gooduser1 at domain.com RELAY
> To:gooduser2 at domain.com RELAY
> To:gooduser3 at domain.com RELAY
> To:domain.com REJECT
>
> might work. If it doesn't, you can do it with the virtusertable
> feature.
> HTH...
>
You can also accomplish the end goal with:
1) alias file entries that direct the local user address to the back
end server (in which case, the sendmail server needs to be set up in a
way that it thinks the destination mail domain is local)
2) a second milter, milter-ahead
http://www.snertsoft.com/sendmail/milter-ahead/index.shtml
(I'm currently using the alias method, but I'm considering using the
md_check_against_smtp_server method; but for me it's not for an
exchange server, it's for a communigate pro server; the only
complication is that the communigate pro server is running on the same
host as the sendmail service)
More information about the MIMEDefang
mailing list