- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Sendmail disabled, message queue in /var/spool...
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
07-05-2004 09:32 PM
07-05-2004 09:32 PM
			
				
					
						
							Sendmail disabled, message queue in /var/spool/mqueue
						
					
					
				
			
		
	
			
	
	
	
	
	
I disabled "S540sendmail" when server boot up for seversal years.
Recently, /var is full, I found many files in /var/spool/mqueue. These files have same
sender (root) and subject (cron).
Refer to other posts, I run "mailq". There are also many files queueing. I think "mailq" got QID from filename in /var/spool/mqueue.
The /var/adm/syslog/mail.log keep to be updated
In /var/mail/
1. Why root send mail (with subject cron) to user?
2. Why system is not retry to send again. Some mail queued for seversal years in mqueue !!
3. Any suggestion for stopping mail generated in mqueue ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2004 09:42 PM
07-05-2004 09:42 PM
			
				
					
						
							Re: Sendmail disabled, message queue in /var/spool/mqueue
						
					
					
				
			
		
	
			
	
	
	
	
	
Find the doc attached, should answer all of your questions.
All the best.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2004 09:54 PM
07-05-2004 09:54 PM
			
				
					
						
							Re: Sendmail disabled, message queue in /var/spool/mqueue
						
					
					
				
			
		
	
			
	
	
	
	
	
To disable sendmail service you must set SENDMAIL_SERVER=0 into /etc/rc.config.d/mailservs file.
Then run:
#/sbin/init.d/sendmail stop
But this just disable incoming mail capability, always send capability keep active.
All cron activity, by default, is updated in the corresponding user in /var/mail directory. Of course, this needs Administrator's maintenance.
About your bigger pending queue, may be you have a procedure that is trying to send mails to external domains. In this case you must configure your /etc/mail/sendmail.cf file.
Pls test your send capability via a very simple comand:
#echo "Test"|sendmail -v your_name@your_domain.
For outstandind mails to externals domains you need make reference to your smtp engine mail server (Relay Server). So, you need define in /etc/mail/sendmail.cf the DS variable with a reachable Realy Serner name, in your case:
DS
To ensure that
Then you need restart sendmail service:
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start (if your sendmail service are disable an error message will be prompted)
Also ensure that your resolution path defined in /etc/nsswitch.conf is appropriate.
After this, pls try again the command:
#echo "Test"|sendmail -v your_name@your_domain
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2004 11:54 PM
07-05-2004 11:54 PM
			
				
					
						
							Re: Sendmail disabled, message queue in /var/spool/mqueue
						
					
					
				
			
		
	
			
	
	
	
	
	
You can reward the many people who have assisted you by assigning points to their posts.
For steps how to assign points see:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2004 12:39 AM
07-06-2004 12:39 AM
			
				
					
						
							Re: Sendmail disabled, message queue in /var/spool/mqueue
						
					
					
				
			
		
	
			
	
	
	
	
	
To flush your queue, add this to cron:
# Make sure any queued mail is delivered, as sendmail isn't a daemon anymore
39 * * * * /usr/lib/sendmail -q
Cron sends to users stnd error...make sure you have a "> /dev/null 2>&1" at the end of your cron jobs.
Rgds...Geoff
