- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- sendmail -q - What does it do?
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
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
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-14-2004 12:34 AM
тАО12-14-2004 12:34 AM
What will the command do for me?
Another question. Does the sendmail daemon even need to be running if the extent of mail being used is to used mailx to send mail to non-UNIX servers and local UNIX accounts?
thanks ... jack...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2004 12:50 AM
тАО12-14-2004 12:50 AM
Re: sendmail -q - What does it do?
In order to run this command every hour, you should open your crontab for editing [crontab -e] and add the following line:
0 * * * * /usr/sbin/sendmail -q
Regarding second q. - it depends on distro you use. In modern RH distros you have to run sendmail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2004 01:04 AM
тАО12-14-2004 01:04 AM
Re: sendmail -q - What does it do?
For example, I run mailx on a regular basis to send an e-mail, it's my understanding that the mail would only temporarily reside in the queue. Does the -q option force 'resends' if the orginal sends did not work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2004 01:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2004 02:09 AM
тАО12-14-2004 02:09 AM
Re: sendmail -q - What does it do?
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2004 03:13 AM
тАО12-14-2004 03:13 AM
Re: sendmail -q - What does it do?
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2004 03:22 AM
тАО12-14-2004 03:22 AM
Re: sendmail -q - What does it do?
I'm also tempted to shut sendmail down since the server doesn't receive inbound mail but does send outgoing mail.
Will there be any problems of not starting sendmail in the rc scripts. If okay to not start, should I remove the sendmail startup sendmail link in /sbin/rc2.d or just update SENDMAIL_SERVER=0 in /etc/rc.config.d/mailservs?
The crontab job to resend queued messages will remain.
jack...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2004 03:42 AM
тАО12-14-2004 03:42 AM
Re: sendmail -q - What does it do?
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2004 04:02 AM
тАО12-14-2004 04:02 AM
Re: sendmail -q - What does it do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2004 04:03 AM
тАО12-14-2004 04:03 AM
Re: sendmail -q - What does it do?
If the sendmail daemon is set to run, mail will automatically be pushed regularly.
chkconfig --level 12345 sendmail on
service sendmail start
That will run the daemon, enabling inbound mail and pushing mail out the door regularly.
I have no idea why sendmail -q is required for Sarbanes-Oxley compliance. If that law requires mail to be pushed out the door the sendmail daemon will do it just fine.
Sendmail daemon settings are controlled in sendmail.cf The behavior of the daemon can be controlled with the sendmail.mc file.
There is a wealth of information on this subject at http://www.sendmail.org
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com