1759636 Members
3197 Online
108886 Solutions
New Discussion юеВ

configure mail on HPUX

 
Pasha Shaik
Frequent Advisor

configure mail on HPUX

I am using HPUX 11.11 and 11.23. I have MS Exchange 2003 server for mailing. How can I configure to send mail from my HPUX box to a client using Windows XP and Outlook.
7 REPLIES 7
James R. Ferguson
Acclaimed Contributor

Re: configure mail on HPUX

Hi:

'sendmail' relys on a viable DNS running, so first, verify that.

You need to setup the smart relay macro in '/etc/mail/sendmail.cf'. You should have something like:

DSadmin.exchange.com

...for the DS macro which should be commented-out.

Then, add your server's hostname and FQDN to '/etc/mail/sendmail.cw' if they're not already there.

You do *not* need to have the 'sendmail' daemon running to send out-going mails. If you wish, set SENDMAIL_SERVER=0 in ' /etc/rc.config.d/mailservs'.

Regards!

...JRF...
Pasha Shaik
Frequent Advisor

Re: configure mail on HPUX

I don't have a clear concept of this mail on UX how it works. Pl describe in details

regadrs
Steven E. Protter
Exalted Contributor

Re: configure mail on HPUX

Shalom,

the Exchange server must explicitly permit relay from the HP-UX box or all mail will be rejected.

diagnostics:

sendmail -v -d8.99 -d38.99 someone@your.net

type some text

.


also: /var/adm/syslog/mail.log

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Pasha Shaik
Frequent Advisor

Re: configure mail on HPUX

Shalom,
I checked with my mail admin he says not restrictions are there on the mail server. Still I am unable to send the mail. Any further clues

thanks
Pasha Shaik
Frequent Advisor

Re: configure mail on HPUX

This is the message in the /var/adm/syslog/mail.log

-------------------------------------------
Aug 27 19:31:01 HOSTNAME sendmail[17823]: TAA17823: to=mymailid@mydomain.com, d
elay=00:00:00, mailer=esmtp, relay=mydomain.com, stat=Transient parse error -- message queued for future delivery
-------------------------------------------

any further clues??
Pasha Shaik
Frequent Advisor

Re: configure mail on HPUX

there are no more responses.
PAVIC Thierry
Frequent Advisor

Re: configure mail on HPUX

make thoses changes to /etc/mail/sendmail.cf

#Dj$w.Foo.COM
Dj$w.

# DS
DS

Change this line with the following
# R$* $| $* < @ $* > $* $: $2 < @ $[ $3 $] > $4
R$* $| $* $: $2


Change F=mDFMuX par F=0DFMuX in this line
Msmtp, P=[IPC], F=0DFMuX, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\
n, L=990,



and it should be work