> -----Original Message----- > From: Chris Mason > Sent: Wednesday, February 05, 2003 4:38 PM > Subject: RE: Mail is refused due to domain > > > Thanks, Steve, hopefully that will work. > Short of using a smarthost, which I can do, how do other > people configure mailservers so that they deliver internal > mail internally and can relay to external MTA's also?
with regards to using sendmail... you have a choice of using the mailertable feature or the local-host-names file to determine where mail for your domain is delivered. If you want e-mail delivered locally on the same system that sendmail is running on, then add: mydomain.com to /etc/mail/local-host-names. If you want sendmail to relay all e-mail for mydomain.com to another masq'd system for final delivery (like an exchange server), then add: mydomain.com: esmtp:[ip of other mail server] to /etc/mail/mailertable. > I know most mail servers are not so anal about reverse > lookups, so my setup will generally work, but I want to > have it perfect if possible. I also run a masq'd mail server behind my firewall. I had to add the confDOMAIN_NAME entry to my sendmail.mc file to get certain MTA's to accept e-mail from my mail server. Steve Cowles -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list