[Mimedefang] Relaying denied

David Korpiewski davidk at cs.umass.edu
Fri Jul 23 11:48:10 EDT 2004


[snip]
> If forwarding to an MS Exchange server, md_check_against_smtp_server()
> won't work as
> exchange will always accept recipients and then send out seperate "user
> not found" emails after the fact.  since this is the case, you'll want
> to look into using either LDAP lookups to validate users or use some
> scripts to export your valid AD users into a local user table on the
> mail gateway.  Both solutions have been discussed on this list.
> 
> hope this helps
> 
> alan

Hi Alan et al,
   I'm new to the list, so hello everyone!  I've beaten Exchange into
submission so that it doesn't accept mail and then reject, instead it
Does-The-Right-Thing and checks the recipient at the time it gets a
"rcpt to". It is a basically undocumented how to turn off this
"accept-then-reject feature" that only the Exchange writers seem to
know.  However, here is a link to how it is done:

http://blogs.gotdotnet.com/dlemson/PermaLink.aspx/f8b0ed0a-b586-40a1-ad1b-15e8a7c95dda

   Furthermore, any exchange admins may want to lock down their exchange
server so that it only accepts mail from either authenticated users
(through outlook) or from specific hosts.  I was able to configure my
EX2003 server to do this yesterday and can provide more information if
anyone is interested.  If you don't lock it down, anyone/anything can
inject a mail or virus if they connect directly on port 25.

David





- 
--------------------------------------------------------
David Korpiewski                     Phone: 413-545-4319
Associate Software Specialist II       Fax: 413-577-2285
Department of Computer Science         ICQ: 7565766
University of Massachusetts Amherst    
--------------------------------------------------------



More information about the MIMEDefang mailing list