- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- General
- >
- Unable to start sendmail due to permission issues
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-27-2012 01:41 AM
09-27-2012 01:41 AM
Unable to start sendmail due to permission issues
Hi Everyone,
I am having problems starting my sendmail.
# /sbin/init.d/sendmail start
451 4.0.0 /etc/mail/sendmail.cf: line 740: fileclass: cannot open '/etc/mail/sendmail.cw': World writable directory
Unable to start Sendmail
For more information see /var/adm/syslog/mail.log
syslog contents:
# tail /var/adm/syslog/mail.log
Sep 27 16:30:01 sendmail[18540]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 740: fileclass: cannot open '/etc/mail/sendmail.cw': World writable directory
Sep 27 16:31:00 sendmail[18554]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 740: fileclass: cannot open '/etc/mail/sendmail.cw': World writable directory
And my file permissions:
# ls -ld /etc/mail/sendmail.cw /etc/mail/ /etc/
dr-xr-xr-x 37 bin bin 8192 Sep 27 11:10 /etc/
dr-xr-xr-x 2 root sys 8192 Sep 27 10:14 /etc/mail/
-rwxr-xr-x 1 bin bin 685 Mar 28 2012 /etc/mail/sendmail.cw
Would you guys know what could be the culprit here and how to have a permanent fix for this?
TIA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-27-2012 02:48 AM
09-27-2012 02:48 AM
Re: Unable to start sendmail due to permission issues
World writable directory
Have you already tried to open permissions for 'world'?
'chmod 777 /etc/mail/sendmail.cw'
maybe also:
'chmod 777 /etc/mail'
Just test it ...
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-27-2012 02:59 AM
09-27-2012 02:59 AM
Re: Unable to start sendmail due to permission issues
okay I was just able to solve it.
Now my problem is after successfully starting the sendmail service the mailx command just hangs
myserver:/# mailx -s "TEST" name@domainmail.com
(Interrupt -- one more to kill letter)
myserver:/#
- Tags:
- mailx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-27-2012 03:14 AM
09-27-2012 03:14 AM
Re: Unable to start sendmail due to permission issues
The mailx command is not hanging - it is waiting for you to type (or pipe in) the content of the mail message!
Type something, then press Control-D to send the message and end the mailx command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-27-2012 03:15 AM
09-27-2012 03:15 AM
Re: Unable to start sendmail due to permission issues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-27-2012 03:20 AM
09-27-2012 03:20 AM
Re: Unable to start sendmail due to permission issues
thanks sorry kinda new to sendmail
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP