1752782 Members
5770 Online
108789 Solutions
New Discussion юеВ

Re: Sendmail Issue

 
Avinash20
Honored Contributor

Re: Sendmail Issue

I believe you should post the last 50 lines of mail.log

# tail -n 50 /var/adm/syslog/mail.log > mail_now.log

Attach the mail_now.log
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Omprakash_2
Frequent Advisor

Re: Sendmail Issue

Sorry, by mistake i have removed and created a new mail.log file. Any suggestion pls
Omprakash_2
Frequent Advisor

Re: Sendmail Issue

Hi,

Kindly find the attached doc. for further reference hope it will usefull to check the difference, thanks in advance. Help me plssssssssss
VK2COT
Honored Contributor

Re: Sendmail Issue

Hello,

a) We still do not have any information from
your mail.log.

b) From your attachment, it is obvious
that your Fully-Qualified-Domain Name (FQDN)
is not set properly in your /etc/hosts
and/or /etc/mail/sendmail.cf.

Possibly the simplest way for you to fix it
is to copy /etc/mail/sendmail.cf from
the good host and make smaller changes.
Same applies to /etc/hosts.

c) As well, your version of sendmail 8.9.3
is very old, insecure, and primitive.

Cheers,

VK2COT
VK2COT - Dusan Baljevic
Omprakash_2
Frequent Advisor

Re: Sendmail Issue

Hi,

1. I have checked /etc/hosts & /etc/mail/sendmail.cf , i dont find any difference on these two files. Note: I have copied the sendmail.cf from the good working server.

2. I have already removed mail.log and created new mail.log file by mistake on past 5 days before.

3. checked the file permission for complete /etc/mail directory and mail.log file

4. compared /etc/hosts file from the good server. And found hostname like 111.222.333.44 puneqad

But in faulty server its looks like 111.222.333.55 md2080 mkjkjkj.kijuhy.com

when i edit the faulty server as 111.222.333.55 md2080
i am getting a msg like not "qualified domain name". So again i have modified it as 111.222.333.55 md2080 kjsdhks.kagkakk.com.

Now service has been started successfully, but cant able to receive mail.

If i run #mailq its shows like :
# mailq
Mail Queue (2 requests)
--Q-ID-- --Size-- -----Q-Time----- ------------Sender/Recipient------------
MAA27519 18 Wed Feb 4 12:08 qadadmin
(host map: lookup (visteon.com): deferred)
xxxxxxx@xxxxxxx.com
LAA25281 1 Wed Feb 4 11:33 qadadmin
(host map: lookup (visteon.com): deferred)
xxxxxxx@xxxxxxxx.com

And also i have checked sendmail.cw file its normal like good working server.

VK2COT
Honored Contributor

Re: Sendmail Issue

Hello,

This is a clue:

MAA27519 18 Wed Feb 4 12:08 qadadmin
(host map: lookup (visteon.com): deferred)

Your server is NOT RESOLVING this domain
or possibly any domain.

Fix hostname resolution.

Hint, in previous posts we suggested
checks for /etc/nsswitch.conf and /etc/resolv.conf.

Cheers,

VK2COT
VK2COT - Dusan Baljevic
Omprakash_2
Frequent Advisor

Re: Sendmail Issue

Hi,

Understood problem with domain resolving.

There is any service required to start for resolving domain.

I have checked hosts file. But nsswitch.conf is not there in mentioned location for both working and faulty server
Omprakash_2
Frequent Advisor

Re: Sendmail Issue

Hi,

Kindly check the below mentioned and suggest me.

Working server Output:

# sendmail -bv ohelpde4@visteon.com
ohelpde4@visteon.com... deliverable: mailer esmtp, host visteon.com., user ohelm


Faulty server Output:

# sendmail -bv ohelpde4@visteon.com
ohelpde4@visteon.com... deliverable: mailer relay, host 136.18.202.42, user ohel
pde4@visteon.com


There is a difference between these two (mailer estmp / mailer relay, Think it may be an issue
Avinash20
Honored Contributor

Re: Sendmail Issue

nslookup 136.18.202.42
nslookup viseton.com

Provide the output on working and non-working server
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: Sendmail Issue

You have opened many threads but forgot to assign points

Please assign point so that you could get more response.

http://forums11.itrc.hp.com/service/forums/helptips.do?#33
"Light travels faster than sound. That's why some people appear bright until you hear them speak."