Operating System - HP-UX
1752374 Members
6248 Online
108787 Solutions
New Discussion юеВ

Re: Need help with Sendmail configuration

 
Scott Lokuta
New Member

Need help with Sendmail configuration

root@tcd5007 / # sendmail -v scott@hotmail.com
this is a test
.
slokuta@hotmail.com... Connecting to eccmfw6a.ford.com. (tcp)...
slokuta@hotmail.com... trying address 192.28.163.30...
220 eccmfw6.ford.com ESMTP InterLock SMTP Gateway 4.2 ready at Wed, 21 Nov 2001)

Where do I go to change
eccmfw6a.ford.com to
vistsmtp.visteon.com

I've looked everywhere and can not find where eccmfw6.ford.com is defined.
I'll figure it out somehow.
11 REPLIES 11
S.K. Chan
Honored Contributor

Re: Need help with Sendmail configuration

It should be in /etc/mail/sendmail.cf file, make sure you restart sendmail after changing it.
Uday_S_Ankolekar
Honored Contributor

Re: Need help with Sendmail configuration

Hi,

check /etc/mail/sendmail.cf file
This perticular "ford" entry would be infront of DS flag in sendmail.cf
DS would be the mail relay host server. Change it to your messaging server name to send mail outside your domain

Goodluck
-USA..
Good Luck..
Craig Rants
Honored Contributor

Re: Need help with Sendmail configuration

Scott,
You could also try changing:
# who I masquerade as (null for no masquerading) (see also $=M)
DM

This way you could look like whoever you wanted to.

Good Luck,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Scott Lokuta
New Member

Re: Need help with Sendmail configuration

Here is the DS entry in my sendmail.cf file.

# SMTP relay for unresolved @ addresses
#DSgtwy.ford.com
DSvistsmtp.visteon.com

If I send mail to slokuta@visteon.com it works fine. If I send it to slokuta@hotmail.com is uses eccmfw1.ford.com and does not work.

Does a MX record have to be added somewhere for slokuta@hotmail.com? Where would this be done at?
I'll figure it out somehow.
someone_4
Honored Contributor

Re: Need help with Sendmail configuration

do nslookup on eccmfw1.ford.com

also did you check ect/hosts?
Uday_S_Ankolekar
Honored Contributor

Re: Need help with Sendmail configuration

Hi,
Check the sendmail file of vistsmtp.visteon.com server. vistsmtp would be your local server.

-USA
Good Luck..
Steven Gillard_2
Honored Contributor

Re: Need help with Sendmail configuration

Check the MX records for vistsmtp.visteon.com:

$ nslookup
> set query=mx
> vistsmtp.visteon.com

I suspect you'll find the eccmfw1.ford.com is listed.

Regards,
Steve
Scott Lokuta
New Member

Re: Need help with Sendmail configuration

Checked /etc/hosts for eccmfw1.ford.com and could not find it.

Tried the following:

root@tcd5007 /etc # nslookup
Default Name Server: eth171.vtcdb.visteon.com
Address: 136.17.156.28

> set query=mx
> vistsmtp.visteon.com
Name Server: eth171.vtcdb.visteon.com
Address: 136.17.156.28

vistsmtp.visteon.com canonical name = vsmtp02.vcs.visteon.com
> exit

Is it possible that if slokuta@hotmail.com is not found on vistsmtp.visteon.com it is routed to eccmfw1.ford.com?

Would a solution be to add a MX record for slokuta@hotmail.com on vistsmtp.visteon.com?
I'll figure it out somehow.
Uday_S_Ankolekar
Honored Contributor

Re: Need help with Sendmail configuration

Hi

What's the result of nslookup ee.... ford.com?
Is that getting resolve..??
Check your /etc/resolv.conf and /etc/nsswitch.conf.
Are you able to send mails to outside domain from this sever??
Good Luck..