Operating System - HP-UX
1748138 Members
3578 Online
108758 Solutions
New Discussion юеВ

Sendmail config in HPUX server

 
SOLVED
Go to solution
jeevanandham
Frequent Advisor

Sendmail config in HPUX server

Dear All,

can anyone help me to understand about sendmail config, as i have a case to work on the same...

for : eg i have two Production servers and lotous server,

here my requirement is i need to configure sendmail in two HP ux servers,

can anyone explain about how to go with this ?
15 REPLIES 15
Jeeshan
Honored Contributor

Re: Sendmail config in HPUX server

See the following documents

http://docs.hp.com/en/B2355-90685/ch04.html
a warrior never quits
Sunny Jaisinghani
Trusted Contributor

Re: Sendmail config in HPUX server

Hi,

Set the sendmail parameter in /etc/rc.config.d to 1
and
start the sendmail service

/sbin/init.d/sendmail start

Sendmail will start with default settings.


Regards
Sunny
P Muralidhar Kini
Honored Contributor

Re: Sendmail config in HPUX server

Hi jeevanandham,

* Configuring Sendmail
http://docs.hp.com/en/5991-6611/ch02s01.html

* Chapter 2 Configuring and Administering Sendmail
http://docs.hp.com/en/5991-6611/ch02.html

Hope this helps.

Regards,
Murali
Let There Be Rock - AC/DC
AnthonySN
Respected Contributor

Re: Sendmail config in HPUX server

Before starting the sendmail deamon
edit the DS line in the /etc/mail/sendmail.cf file to specify the host name of the mail gateway:

DSmailgw.xyz.com
nightwich
Valued Contributor
Solution

Re: Sendmail config in HPUX server

Hi jeevanandham

If the only think you trying is to do relay of your mails to a mail server.

The setup is very simple.

Edit the sendmail.cf and put you mails server in the DS line ex:

DSmy_mail_server.domain

Best Regards
jeevanandham
Frequent Advisor

Re: Sendmail config in HPUX server

Dear all,

i have done the changes as suggested

i have excuted a test mail, cmd executed successfully, but there i sno mail sent to the give email id.

can any one help he to trouble shoot this
AnthonySN
Respected Contributor

Re: Sendmail config in HPUX server

attach your sendmail.conf file
Elmar P. Kolkman
Honored Contributor

Re: Sendmail config in HPUX server

On HP-UX, sendmail needs to be able to resolve the hostname you are sending the mail to, even if you have a smart-relay. The resolving might be bogus, as long as it gives a response. We, for instance, have hosts files containing lines like:
1.1.1.1 logistic.com
1.1.1.2 provider.com

As long as the IP addresses are not in use by anything you really need to contact, this works fine. (You might even use the real-world addresses to be sure it works fine)

Also, check out /var/adm/syslog/mail.log for messages regarding your message.

Every problem has at least one solution. Only some solutions are harder to find.
jeevanandham
Frequent Advisor

Re: Sendmail config in HPUX server

i have seen the error log in
/var/adm/syslog/mail.log
Jun 30 13:17:13 tcidb03 sendmail[17512]: o5U7lD917512: from=root, size=149, class=0, nrcpts=0, msgid=<201006300747.o5U7lD917512@tcidb03.telcon.co.in>, relay=root@localhost
Jun 30 13:17:13 tcidb03 sendmail[17512]: o5U7lD917512: to=username@domain.com, delay=00:00:00, mailer=relay, pri=149, dsn=4.4.3, stat=queued
hereby i am attaching the sendmail.cf file also.