- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: problem with mail of user
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
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
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
12-19-2001 10:44 AM
12-19-2001 10:44 AM
the mail.log is:
Dec 19 15:43:31 nms1 sendmail[22222]: NOQUEUE: SYSERR(netrangr): queuename: Cannot create "qfPAA22222" in "/var/spool/mqueue" (euid=103): Permission denied
that it can be happening
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 10:49 AM
12-19-2001 10:49 AM
Re: problem with mail of user
/var/spool/mqueue:
ll -d /var/spool/mqueue
show who UID 103 is:
grep :103: /etc/passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 10:51 AM
12-19-2001 10:51 AM
Re: problem with mail of user
dr-xr-xr-x 20 bin bin 2048 Nov 7 09:25 /var
dr-xr-xr-x 13 bin bin 1024 Feb 5 2001 /var/spool
drwxr-xr-x 2 bin bin 1024 Dec 19 01:30 /var/spool/mqueue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 10:51 AM
12-19-2001 10:51 AM
Re: problem with mail of user
drwxr-xr-x 2 bin bin 5120 Dec 19 15:51 /var/spool/mqueue
nms1 # grep 103 /etc/passwd
netrangr:*:103:103::/usr/nr:/usr/bin/ksh
nms1 #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 10:53 AM
12-19-2001 10:53 AM
Re: problem with mail of user
dr-xr-xr-x 22 bin bin 1024 Jul 2 16:50 /var
nms1 # ll -d /var/spool
dr-xr-xr-x 15 bin bin 1024 Sep 20 11:13 /var/spool
nms1 # ll -d /var/spool/mqueue
drwxr-xr-x 2 bin bin 5120 Dec 19 15:55 /var/spool/mqueue
nms1 #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 10:53 AM
12-19-2001 10:53 AM
Re: problem with mail of user
# ps -ef | grep sendmail
to see if sendmail is running and to see which user is running sendmail.
It should be run as root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 10:54 AM
12-19-2001 10:54 AM
Re: problem with mail of user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 10:58 AM
12-19-2001 10:58 AM
Re: problem with mail of user
Change the mqueue directory permission to 777 and try. It should have worked with 755.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 10:58 AM
12-19-2001 10:58 AM
Re: problem with mail of user
root 19054 1 0 15:34:53 ? 0:00 sendmail: accepting connections on port 25
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 11:08 AM
12-19-2001 11:08 AM
Re: problem with mail of user
now it works ok . whit 777 mqueue
the problem now is the warnin writabla for world in /var/spool/mqueue
# /sbin/init.d/sendmail start
WARNING: World writable directory /var/spool/mqueue
/etc/mail/aliases: 6 aliases, longest 9 bytes, 76 bytes total
sendmail
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 11:32 AM
12-19-2001 11:32 AM
Re: problem with mail of user
The standard directory permission for /var/spoo/mqueue is 755. When you gave the permission 777 it became world writable. It should not be a problem if this is within your local network. You can still set your directory permission to 755 and try restarting the sendmail daemon.
chmod 755 /var/spool/mqueue
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
note : /var/spoo/mqueue and /usr/spool/mqueue are same.
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 12:00 PM
12-19-2001 12:00 PM
Solutionll /var/spool/mqueue
you should see things like
-rw------- 1 root mail 854 Dec 19 14:30 qfSAA26174
Also show us the perms on sendmail itself
ll /usr/sbin/sendmail
you should see something like
-r-sr-sr-t 1 root mail
It seems like either sendmail isn't setuid'ing or it's running as the wrong user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2001 05:10 AM
12-20-2001 05:10 AM
Re: problem with mail of user
/usr/sbin/sendmail have perms 555
# ll /usr/sbin/sendmail
-r-xr-xr-x 1 root mail 823296 May 10 2000 /usr/sbin/sendmail
that I can do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2001 05:35 AM
12-20-2001 05:35 AM
Re: problem with mail of user
# chmod ug+s,o+t /usr/sbin/sendmail
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2001 05:39 AM
12-20-2001 05:39 AM
Re: problem with mail of user
The file /usr/sbin/sendmail should have permission -r-sr-sr-t.
Hope this helps.
Regds