Operating System - HP-UX
1833729 Members
2664 Online
110063 Solutions
New Discussion

Re: HP-UX not send e-mail

 
SOLVED
Go to solution

HP-UX not send e-mail

I using Data Protector A.05.50 on HP-UX and i will send reports by e-mail, the system return this message:

/etc/mail/sendmail.cf: line 692: fileclass: cannot open /etc/mail/sendmail.cw: World writable directory

what I can make?
5 REPLIES 5
Patrick Wallek
Honored Contributor
Solution

Re: HP-UX not send e-mail

Well, it is actually telling you what the problem is. The /etc/mail directory has the world-write permission bit set. This is a no-no.

Do the following:

# chmod 755 /etc/mail

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

Then try sending mail again.
J. Bravo
Respected Contributor

Re: HP-UX not send e-mail

Hi!

Are your /etc permissions well?, normally it should be 555:

Regards;

J. Bravo.

Re: HP-UX not send e-mail

i have restarted the sendmail and this message returns:

K7-5470:/etc>/sbin/init.d/sendmail start
/etc/mail/sendmail.cf: line 692: fileclass: cannot open /etc/mail/sendmail.cw: W
orld writable directory
WARNING: World writable directory /var
451 /etc/mail/sendmail.cf: line 692: fileclass: cannot open /etc/mail/sendmail.c
w: World writable directory
K7-5470:/etc>
Johnny Moya
Esteemed Contributor

Re: HP-UX not send e-mail

Another way to do that is with SMTP:
1. Change the parameter in /etc/opt/omni/server/options/
vi global

SMTP server=smtp server
SMTPSERVER=smtp-
SMTPSenderAddress=username_cell_manager@hostname


# SMTP server for sending emails.
# default:
# SMTP sender address also acts as reply-to address. If you want
# to control replies to reporting or notification mails, change
# sender address to some fixed controlled address.

2. Just change the e-mail to use e-mail(SMTP

Good luck
Regards,
Johnny M.

Re: HP-UX not send e-mail

The SMTP festure dont work in my DP version, only on the new 6.0.

Thanks to all, and i resolve this problem setting the 555 permission on the /etc