- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail fileclass: cannot open /etc/mail/sendmail...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
- Report Inappropriate Content
тАО10-01-2004 02:17 AM
тАО10-01-2004 02:17 AM
Sendmail fileclass: cannot open /etc/mail/sendmail.cw: Group writable directory
/etc/mail/sendmail.cf: line 668: fileclass: cannot open /etc/mail/sendmail.cw: Group writable directory
Also, when trying to find the version using sendmail -bs
i get the same error message.
The box is a K380 running HP-UX 11.00
Thanks
Tariq
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2004 02:20 AM
тАО10-01-2004 02:20 AM
Re: Sendmail fileclass: cannot open /etc/mail/sendmail.cw: Group writable directory
Athos:/etc/mail> ll -d /etc/mail
dr-xr-xr-x 2 bin bin 8192 Sep 27 17:35 /etc/mail
Athos:/etc/mail> ll /etc/mail
total 336
-rw-r----- 1 root bin 907 Feb 20 2004 aliases
-rw-r----- 1 root bin 24576 Sep 28 07:29 aliases.db
-r--r--r-- 1 bin bin 10222 Nov 14 2000 mailcap
-r--r--r-- 1 bin bin 94333 May 12 17:49 sendmail.cf
-r--r--r-- 1 bin bin 734 Mar 10 2004 sendmail.cw
-rw------- 1 root mail 34 Sep 28 07:29 sendmail.pid
-r--r--r-- 1 bin bin 1012 Nov 14 2000 service.switch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2004 02:27 AM
тАО10-01-2004 02:27 AM
Re: Sendmail fileclass: cannot open /etc/mail/sendmail.cw: Group writable directory
rgpss01# ll
total 928
-rw-r----- 1 root bin 915 Apr 24 2002 aliases
-rw-r----- 1 root bin 24576 Sep 26 2003 aliases.db
-rw-r--r-- 1 root mail 0 Jan 28 1999 aliases.dir
-rw-r--r-- 1 root mail 1024 Jan 28 1999 aliases.pag
-r--r--r-- 1 bin bin 10203 Oct 27 1997 mailcap
-rw-r--r-- 1 root sys 86685 Sep 1 10:36 rdwrk01-sendmail.cf
-rw-r--r-- 1 bin bin 86685 Aug 3 11:48 sendmail.cf
-rw-r--r-- 1 root users 86671 Jan 7 2003 sendmail.cf.05082004
-r--r--r-- 1 bin bin 86693 Apr 24 2002 sendmail.cf.bak
-r--r--r-- 1 bin bin 86575 May 28 1999 sendmail.cf.orig
-r--r--r-- 1 bin bin 794 Jan 22 2002 sendmail.cw
-r--r--r-- 1 bin bin 1367 Sep 26 10:27 service.switch
The only different being the rw- on sendmail.cf as opposed to r-- on yours.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2004 02:41 AM
тАО10-01-2004 02:41 AM
Re: Sendmail fileclass: cannot open /etc/mail/sendmail.cw: Group writable directory
ll -d /etc/mail
what is there in /etc/mail/sendmail.cf 668 line??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2004 02:46 AM
тАО10-01-2004 02:46 AM
Re: Sendmail fileclass: cannot open /etc/mail/sendmail.cw: Group writable directory
Check if you correct relay server mentioned.
check
"sendmail -v myname@myhost.com"
How it goes?
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2004 02:46 AM
тАО10-01-2004 02:46 AM
Re: Sendmail fileclass: cannot open /etc/mail/sendmail.cw: Group writable directory
dr-xr-xr-x 2 bin bin 1024 Sep 26 10:27 /etc/mail
Also, line 668 consists of the following:
Fw/etc/mail/sendmail.cw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2004 02:51 AM
тАО10-01-2004 02:51 AM
Re: Sendmail fileclass: cannot open /etc/mail/sendmail.cw: Group writable directory
Output as follows
rgpss01# sendmail -v tariq.hasan@virgin.net
/etc/mail/sendmail.cf: line 0: WARNING: Group writable directory /etc
/etc/mail/sendmail.cf: line 668: fileclass: cannot open /etc/mail/sendmail.cw: Group writable directory
rgpss01#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2004 03:05 AM
тАО10-01-2004 03:05 AM
Re: Sendmail fileclass: cannot open /etc/mail/sendmail.cw: Group writable directory
And also check if you have correct relay server mentioned.
grep ^DS /etc/mail/sendmail.cf
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2004 03:08 AM
тАО10-01-2004 03:08 AM
Re: Sendmail fileclass: cannot open /etc/mail/sendmail.cw: Group writable directory
ls -ld /etc
dr-xr-xr-x 27 bin bin 6144 Sep 30 13:57 /etc
also
dr-xr-xr-x 2 bin bin 1024 Sep 30 13:04 /etc/mail
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2004 03:11 AM
тАО10-01-2004 03:11 AM
Re: Sendmail fileclass: cannot open /etc/mail/sendmail.cw: Group writable directory
Fw -o /etc/mail/sendmail.cw
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2004 05:35 AM
тАО10-01-2004 05:35 AM
Re: Sendmail fileclass: cannot open /etc/mail/sendmail.cw: Group writable directory
run "mailq -v -d", it will tell you which directory it's complaining about. Probably /var/spool/mqueue, or something in that path.
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-03-2004 07:55 PM
тАО10-03-2004 07:55 PM
Re: Sendmail fileclass: cannot open /etc/mail/sendmail.cw: Group writable directory
After running mailq -v -d
rgpss01# mailq -v -d
Version 8.9.3 (PHNE_29773)
Compiled with: LDAPMAP MAP_REGEX LOG MATCHGECOS MIME7TO8 MIME8TO7
NAMED_BIND NDBM NETINET NETUNIX NEWDB NIS NISPLUS QUEUE SCANF
SMTP USERDB XDEBUG
setoption Verbose (v).=T
/etc/mail/sendmail.cf: line 0: WARNING: Group writable directory /etc
/etc/mail/sendmail.cf: line 668: fileclass: cannot open /etc/mail/sendmail.cw: Group writable directory
syserr: ExitStat = 71
setoption SevenBitInput (7).=False
setoption EightBitMode (8).=pass8
setoption AliasWait (a).=10
setoption AliasFile (A).=/etc/mail/aliases
setoption MinFreeBlocks (b).=100
setoption BlankSub (B).=.
setoption HoldExpensive (c).=False
setoption DeliveryMode (d).=background
setoption TempFileMode (F).=0600
setoption HelpFile (H).=/usr/share/lib/sendmail.hf
setoption SendMimeErrors (j).=True
setoption ForwardPath (J).=$z/.forward.$w:$z/.forward
setoption ConnectionCacheSize (k).=2
setoption ConnectionCacheTimeout (K).=5m
setoption UseErrorsTo (l).=False
setoption LogLevel (L).=9
setoption CheckAliases (n).=False
setoption OldStyleHeaders (o).=True
setoption PrivacyOptions (p).=authwarnings
setoption QueueDirectory (Q).=/var/spool/mqueue
setoption Timeout (r).queuereturn=5d
setoption Timeout (r).queuewarn=4h
setoption SuperSafe (s).=True
setoption StatusFile (S).=/etc/mail/sendmail.st
setoption TimeZoneSpec (t).=
setoption DefaultUser (u).=1:1
setoption TryNullMXList (w).=T
setoption SmtpGreetingMessage (0x90).=$j Sendmail $v/$Z; $b
setoption UnixFromLine (0x91).=From $g $d
setoption OperatorChars (0x92).=.:%@!^/[]+
drop_privileges(0): Real[UG]id=0:3, RunAs[UG]id=0:0
getauthinfo: root@localhost
============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = rgpss01
(canonical domain name) $j = rgpss01.hs.pru.com
(subdomain name) $m = hs.pru.com
(node name) $k = rgpss01
========================================================
setoption HoldExpensive (c).=F
setoption DeliveryMode (d).=
====finis: stat 71 e_id=NOQUEUE e_flags=1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-03-2004 07:58 PM
тАО10-03-2004 07:58 PM
Re: Sendmail fileclass: cannot open /etc/mail/sendmail.cw: Group writable directory
I have this entry in sendmail.cf
Fw/etc/mail/sendmail.cw
Tariq
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-03-2004 11:01 PM
тАО10-03-2004 11:01 PM
Re: Sendmail fileclass: cannot open /etc/mail/sendmail.cw: Group writable directory
/etc is writable - it should not be, that is the problem.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2004 01:30 AM
тАО10-04-2004 01:30 AM
Re: Sendmail fileclass: cannot open /etc/mail/sendmail.cw: Group writable directory
Fw -o /etc/mail/sendmail.cw...this should be resolving your problem.
Thanks
Prashant