Operating System - HP-UX
1753926 Members
9580 Online
108810 Solutions
New Discussion юеВ

Unable to send mail from ux server

 
subodhbagade
Regular Advisor

Unable to send mail from ux server

Hi Experts...

I having hp-ux 11.11 server with sap appln running on it and need your help for following--

(1) I am not able to send mail from unix server to any user ,

I had check the sendmail services it is working fine ,that is

# ps -ef |grep sendmail
root 4204 1 0 12:52:07 ? 0:18 sendmail: accepting connections on port 25
root 15608 15604 0 11:31:01 pts/1 0:00 grep sendmail

(2)so i had made the chnages to /etc/mail/sendmail.cf ....initialy it was

# who I masquerade as (null for no masquerading) (see also $=M)
DM

i modify to

# who I masquerade as (null for no masquerading) (see also $=M)
DMdomain.com

(3)And then restarted the sendmail services.

(4)Then I tried with

mailx -s "test" abc@domain.com

but user not able to receive the mail.

what I should I do to resolve this or

(5) should i edit in /etc/mail/sendmail.cf for

# who I send unqualified names to (null means deliver locally)
DR

can i change it to

# who I send unqualified names to (null means deliver locally)
DRdomain.com

How to rectify this?

Thanks in advance.

Regards,
subodh.





2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: Unable to send mail from ux server

Shalom,

Most corporate environments do not permit direct send of mail.

Try the DS directive.

DSrelay_host

where relay_host is a smtp relay server.

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
yulianto piyut
Valued Contributor

Re: Unable to send mail from ux server

try to edit smtp relay at your sendmail config (/etc/mail/sendmail.cf):

# "Smart" relay host (may be null)
DSyour_smtp_relay