Operating System - HP-UX
1752795 Members
6144 Online
108789 Solutions
New Discussion юеВ

Re: Sendmail problem on hp-ux server

 
SOLVED
Go to solution
Bill Hassell
Honored Contributor

Re: Sendmail problem on hp-ux server

This is probably the most useful message:

> sendmail -v feisal.gaffar@getronics.com > getronics.com: Name server timeout

Your DNS server is refusing to talk to you. sendmail is tied to very closely to DNS for MX (mail delivery) records. sendmail has a little known file to define the local host name: /etc/mail/sendmail.cw and it should look like this:

localhost
myname
myname.mydomain.com

It also has it's own version of the /etc/nsswitch.conf file: /etc/mail/service.switch which defines how sendmail handles name resolution. Change it to:

hosts files
aliases files

Note that with nsswitch.conf and service.switch sett to files (only), your email capability is limited to hosts and IP addresses found in your /etc/hosts file.


Bill Hassell, sysadmin
CFI-beheer
Advisor

Re: Sendmail problem on hp-ux server

Hi All,

Hip Hip Hurray.

I finally get my sendmail working.

The answer of Srini Jay helped to solve my problem
mail problem. Srini Jay thanks very very much.

I have commented the following entry in my sendmail
configuration file and voila sendmail start working like a charm

Here is the line that cause the mailproblem. I have commented it.

# pass to name server to make hostname canonical
#R$* $| $* < @ $* > $* $: $2 < @ $[ $3 $] > $4

I Also wanna thank all the others who tried help me
with there answers.

Greetings
CFI-beheer
Advisor

Re: Sendmail problem on hp-ux server

Hi Srini Javan,

Just for my understanding why does this entry means.

# pass to name server to make hostname canonical
#R$* $| $* < @ $* > $* $: $2 < @ $[ $3 $] > $4

Does this entry mean that sendmail now does not look at the dns servers and only looks at the/etc/hosts file?

Could you explain what this entry means?

Regards,

pcjorge
Regular Visitor

Re: Sendmail problem on hp-ux server

thank I have solve it with your solution!!! Good solution