1751971 Members
4620 Online
108783 Solutions
New Discussion юеВ

Re: Sendmail Issue

 
Omprakash_2
Frequent Advisor

Re: Sendmail Issue

Hi,

Where i should the local inbox in server???

And i have checked all the points that you have mentioned.
Dennis Handly
Acclaimed Contributor

Re: Sendmail Issue

>Where I should the local inbox in server???

(should what?)

There are no inboxes with sendmail. There is /var/mail/ for each user. There is /var/spool/mqueue/ for outgoing mail.
Omprakash_2
Frequent Advisor

Re: Sendmail Issue

Hi,

I have checked the local inbox, mails is there. But my problem is mail is not going outside in the same domain. Can you pls suggest me for the same
Dennis Handly
Acclaimed Contributor

Re: Sendmail Issue

>But my problem is mail is not going outside in the same domain.

Have you done what VK2COT said?
Have you checked /var/adm/syslog/mail.log?
Omprakash_2
Frequent Advisor

Re: Sendmail Issue

Yes, i have checked
VK2COT
Honored Contributor

Re: Sendmail Issue

Hello Omprakash,

I had to smile at your last response.

Dennis asked you: Have you checked /var/adm/syslog/mail.log?

You responded: Yes, i have checked.

This short answer reminds me of a funny scene
in one of Pink Panther films where
the Inspector Cluso (sp?) asked a Swiss
person if he knew the current time. The guy
responded "Yes" and walked away :)

What Dennis meant by his question was:

What does the log file say?

Most probably, the message is deferred because the server cannot contact remote
mail server or it cannot resolve domain name
for the recipient.

Hence, as we said before, you need to
set up sendmail with Smarthost support.

Cheers,

VK2COT
VK2COT - Dusan Baljevic
Omprakash_2
Frequent Advisor

Re: Sendmail Issue

Smarthost support.

Can you provide me how to make this smarthost support setup. Hey I am new to HP UX servers, so required a huge support to solve a small issue.
VK2COT
Honored Contributor

Re: Sendmail Issue

Hello,

Sendmail setup is not specific to HP-UX.
It is common to many Unices and Linux.

Simplest method. Let's assume your smarthost
is hostname myhost.mydom.dom, or just
myhost, or its IP address is
192.168.5.20.

Edit /etc/mail/sendmail.cf and
look for line "DS" (CAPITALS ARE IMPORTANT!).

Replace:

DS

with

DSmyhost.mydom.dom

or

DSmyhost

or

DS192.168.5.20

Then, restart sendmail:

/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start

Note that myhost or myhost.mydom.dom MUST
be resolvable on your HP-UX server.
Hint: check /etc/nsswitch.conf
and probably /etc/resolv.conf (unless
you, for some reason use LDAP or NIS/NIS+).

If you have multiple smarthosts in your company, you can even do this:

DShostA:hostB:hostC

Or even

DS[hostA]:[hostB]:[hostC]

The entries with square brackets
mean "do not use DNS to resolve hostnames"...

Cheers,

VK2COT
VK2COT - Dusan Baljevic
Omprakash_2
Frequent Advisor

Re: Sendmail Issue

Hi,

As you said i have added the DS entries in sendmail.cf file, Still my problem is not resoloved.

I have compared the same file in another HP UX server, but i dont find any entery in DS.

One thing i like to share with you is, now i am getting msg like "you have a mail".

Dennis Handly
Acclaimed Contributor

Re: Sendmail Issue

>i am getting msg like "you have a mail".

Have you read this mail? It may be a bounce message?