Operating System - HP-UX
1833875 Members
2061 Online
110063 Solutions
New Discussion

Sendmail configuration on HP-Ux 11.0

 
Naveen Shetty
Frequent Advisor

Sendmail configuration on HP-Ux 11.0

Hi All,

Kindly if someone can guide me the procedures to configure sendmail on HP-Ux 11.0. Expectations & setup is as listed below:

Wants to configure HP-Ux 11.0 server to send email to Lotus Notes email server working on WIN2K. Email server is not configured as DNS server. But the domain which this Lotus server belongs to is a DNS server.

Pls help..!

Thanks in advance..!
Naveen Shetty.
Queries
7 REPLIES 7
U.SivaKumar_2
Honored Contributor

Re: Sendmail configuration on HP-Ux 11.0

hi naveen,
You configure the HP server DNS resolver to
query the DNS server in the mentioned domain.
In the DNS server you can add a MX record for
your domain ( or ) for that specific lotus notes server.
And configure /etc/nsswitch.conf in the HP server to ask dns first .
And add the domain name to Cw macro in /etc/sendmail.cf file. This is all enough ,
if you are ready to use dns for HP also.

regards,
U.SivaKumar
Innovations are made when conventions are broken
RAC_1
Honored Contributor

Re: Sendmail configuration on HP-Ux 11.0

Put the ip of lotus notes server in /etc/hosts.

edit /etc/mail/sendmail.cf file and point
the realy host to the lotus sever.
stop, start the sendmail.

test mail and here you go.

Regards,
There is no substitute to HARDWORK
Vijeesh CTK
Trusted Contributor

Re: Sendmail configuration on HP-Ux 11.0


hi

Edit

/etc/hosts file:

190.9.200.203 mail1

edit /etc/mail/sendmail.cf change the DS line (after the line:
# "Smart" relay host (may be null))to read:

DSmail1


please check this link also.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xbfa4ee3e323bd5118fef0090279cd0f9,00.html



Vijeesh CTK

U.SivaKumar_2
Honored Contributor

Re: Sendmail configuration on HP-Ux 11.0

hi ,
Do you want to send mails and also receive mails in the HP server ?. In that case DS smart
host will not help.
regards,
U.SivaKumar
Innovations are made when conventions are broken
MAD_2
Super Advisor

Re: Sendmail configuration on HP-Ux 11.0

OK SivaKumar, if the DS does not help for send and receive, then what is the solution? Can you then point us in the right direction?

Thanks,
Contrary to popular belief, Unix is user friendly. It's just very particular about who it makes friends with
Michael Tully
Honored Contributor

Re: Sendmail configuration on HP-Ux 11.0

Make sure that you have these items:

Smart Relay host in you /etc/mail/sendmail.cf

DSmymail

Restart the sendmail daemon
# /sbin/init.d/sendmail stop
# /sbin/init.d/sendmail start

Have the mail server in you /etc/hosts file

mymail 10.20.30.40

Have your DNS localised where possible:

hosts: files [NOTFOUND=continue UNAVAIL=return TRYAGAIN=return] dns [NOTFO
UND=return UNAVAIL=continue TRYAGAIN=return]

# more /etc/resolv.conf
domain mydomain.com
nameserver 10.20.30.50
Anyone for a Mutiny ?
John de Villiers
Frequent Advisor

Re: Sendmail configuration on HP-Ux 11.0

Configuring sendmail will handle outgoing mail for you, but you still need to get the mail back to your unix box. The way to do this is to create a mailbox for your user account on the lotus notes server, and then to setup fetchmail on your ux box to fetch the mail from there and deliver it locally.

UX 11.00 doesnt have fetchmail in as a default, so you'll have to download and compile it.

John