Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sendmail.cf v10 and local delivery for root only

Status
Not open for further replies.

csgonan

MIS
May 2, 2007
118
US
I just upgraded to sendmail v 8.163.2.8 with a v10 sendmail.cf file. I have the submit.cf linked to the sendmail.cf. On my other servers I"m running v9 of the configuration, with the same configuration.

I have both entries in the configuration file for smart relay host for outgoing mail. I do not accept incoming mail. On the other servers, unqualified email addresses are delivered to my smarthost, except for root. But this server is trying to be deliver all unquallified addresses locally instead of to the relay host. (ie) "mail user" is trying to deliver to a local account but mail user@domain.com delivers to the smarthost. I only want root to be delivered to the locally.

DSsmarthost.domain.com
DRsmarthost

C{E}root
CL root
CE root

How can I get the same results before the upgrade to v10, to deliver the unqualified names to the smarthost.

Thanks
 
I discovered that if I just sent email to userA
(ie) cat file | mail userA

It is appending the fully qualified host name to the address before relaying, which is being rejected by the mail server, so it >>> RCPT To:<userA@hostA.domain.com> instead of just userA@domain.com.

If have these set up without luck. sendmail v 8.163.2.8 with a v10 sendmail.cf file. I did not build the submit.cf with an MC, but I just added these. Sendmail is not running as a daemon. If I append send as userA@domain.com, it delivers fine.

Dj$w.domain.com
D{MTAHost}[mailhost.domain.com]
DRmailhost.domain.com
DHmailhost.domain.com
DMdomain.com
CMdomain.com

Thanks for any help.
 
I built a new submit.cf file and everything works.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top