- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Many files in /var/spool/mqueue
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
06-17-2004 05:05 PM
06-17-2004 05:05 PM
Many files in /var/spool/mqueue
I supposed the mail cannot be sent out as the sendmail is disabled, so they queued in /var/spool/mqueue.
However, in /var/mail/
Why users can received new mail from cron jobs?
Is any relateship to queued file in /var/spool/mqueue ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2004 05:19 PM
06-17-2004 05:19 PM
Re: Many files in /var/spool/mqueue
what does mailq gives??
sendmail is an MTA (mail transfer agent) and needs to be run in the system only if you want to send some mails outside of your server. I strongly feel that your system loggind daemons, syslogd and scheduling daemon, crond doesn't uses any of the MTA, if the logs are not to be send on to any other host/domain.
With best wishes
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2004 05:19 PM
06-17-2004 05:19 PM
Re: Many files in /var/spool/mqueue
1) mail will continue to be received internally on the local system.
2) no
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2004 05:24 PM
06-17-2004 05:24 PM
Re: Many files in /var/spool/mqueue
As already mentioned, you don't need to have sendmail running on the box to send the mail out.
If you looked the output of 'mailq' command you would have seen the errors. Like connection refused, hostname lookup failure etc.,. Users can do a lot of mischevious things and all those mails will get queued. If you are not running sendmail daemon, then there will be nothing on the system that will attempt to resend the mails in the queue.
So, it is a good idea to setup a cronjob every hour or so to actually run sendmail in client mode (sendmail -q) so that the mailq will be flushed out.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2004 05:24 PM
06-17-2004 05:24 PM
Re: Many files in /var/spool/mqueue
sendmail can only take you out from that system.
I assume that the reason the /var/mail/mqueue filling up is because you might have some cron job scripts which are calling sendmail and mailing users outside the system.
As the sendmail is not running,they are queued under /var/mail/mqueue.
Please check it out~!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2004 05:37 PM
06-17-2004 05:37 PM
Re: Many files in /var/spool/mqueue
Running 'sendmail -q' might help in the latter case. Also check out the rights of /var/mail and /var/mail/*. All should be writable to group mail !!! Otherwise the delivery agent won't be able to deliver mail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 10:32 AM
06-21-2004 10:32 AM
Re: Many files in /var/spool/mqueue
If you want to get rid of all the output from the crontab entries you should consider piping it.
Example:
55 23 * * * /var/minime/night_jobs.sh >> /tmp/minime.log 2>&1
Or:
55 23 * * * /var/minime/night_jobs.sh > /dev/null 2>&1
/Tor-Arne