<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: sendmail -q - What does it do? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/sendmail-q-what-does-it-do/m-p/3443166#M86600</link>
    <description>Linux:&lt;BR /&gt;&lt;BR /&gt;If the sendmail daemon is set to run, mail will automatically be pushed regularly.&lt;BR /&gt;&lt;BR /&gt;chkconfig --level 12345 sendmail on&lt;BR /&gt;service sendmail start&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;That will run the daemon, enabling inbound mail and pushing mail out the door regularly.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Sendmail daemon settings are controlled in sendmail.cf The behavior of the daemon can be controlled with the sendmail.mc file.&lt;BR /&gt;&lt;BR /&gt;There is a wealth of information on this subject at &lt;A href="http://www.sendmail.org" target="_blank"&gt;http://www.sendmail.org&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Tue, 14 Dec 2004 12:03:25 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2004-12-14T12:03:25Z</dc:date>
    <item>
      <title>sendmail -q - What does it do?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-q-what-does-it-do/m-p/3443157#M86591</link>
      <description>I've been asked to have sendmail -q run every hour as a task for Sarbanes-Oxley compliance.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What will the command do for me?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;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?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks ... jack...</description>
      <pubDate>Tue, 14 Dec 2004 08:34:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-q-what-does-it-do/m-p/3443157#M86591</guid>
      <dc:creator>Jack C. Mahaffey</dc:creator>
      <dc:date>2004-12-14T08:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail -q - What does it do?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-q-what-does-it-do/m-p/3443158#M86592</link>
      <description>sendmail -q force sendmail server to send letters from mail queue.&lt;BR /&gt;&lt;BR /&gt;In order to run this command every hour, you should open your crontab for editing [crontab -e] and add the following line:&lt;BR /&gt;&lt;BR /&gt;0 * * * *  /usr/sbin/sendmail -q&lt;BR /&gt;&lt;BR /&gt;Regarding second q. - it depends on distro you use. In modern RH distros you have to run  sendmail.</description>
      <pubDate>Tue, 14 Dec 2004 08:50:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-q-what-does-it-do/m-p/3443158#M86592</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2004-12-14T08:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail -q - What does it do?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-q-what-does-it-do/m-p/3443159#M86593</link>
      <description>Under what situation will the mail queue be queued with letters to send?&lt;BR /&gt;&lt;BR /&gt;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?</description>
      <pubDate>Tue, 14 Dec 2004 09:04:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-q-what-does-it-do/m-p/3443159#M86593</guid>
      <dc:creator>Jack C. Mahaffey</dc:creator>
      <dc:date>2004-12-14T09:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail -q - What does it do?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-q-what-does-it-do/m-p/3443160#M86594</link>
      <description>Letters  "queuened" when sendmail cannot delivery them immediately - for example, MX server of recipient is down, DNS problem, etc...&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Dec 2004 09:39:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-q-what-does-it-do/m-p/3443160#M86594</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2004-12-14T09:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail -q - What does it do?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-q-what-does-it-do/m-p/3443161#M86595</link>
      <description>Sendmail automatically wake up and process the queue at a certain interval. There is not really a need to run "sendmail -q" every hour. That command is to process the queue for out-bound mails. If your system is runnning Red Hat linux, the default interval to process the queue is 1000 seconds as sepecified in queue_run_delay = 1000s in the main.cf.default config file. Sendmail service must be running for that to work. Check your sendmail by using "service sendmail status".&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Tue, 14 Dec 2004 10:09:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-q-what-does-it-do/m-p/3443161#M86595</guid>
      <dc:creator>Chris Xu</dc:creator>
      <dc:date>2004-12-14T10:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail -q - What does it do?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-q-what-does-it-do/m-p/3443162#M86596</link>
      <description>If you are running an older Red Hat, i.e. AS 2.1, the interval is set in /etc/sysconfig/sendmail, and it is 1 hour by default.&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Tue, 14 Dec 2004 11:13:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-q-what-does-it-do/m-p/3443162#M86596</guid>
      <dc:creator>Chris Xu</dc:creator>
      <dc:date>2004-12-14T11:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail -q - What does it do?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-q-what-does-it-do/m-p/3443163#M86597</link>
      <description>No...  Just HP-UX 11.00.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I'm also tempted to shut sendmail down since the server doesn't receive inbound mail but does send outgoing mail.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;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?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The crontab job to resend queued messages will remain.&lt;BR /&gt;&lt;BR /&gt;jack...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Dec 2004 11:22:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-q-what-does-it-do/m-p/3443163#M86597</guid>
      <dc:creator>Jack C. Mahaffey</dc:creator>
      <dc:date>2004-12-14T11:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail -q - What does it do?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-q-what-does-it-do/m-p/3443164#M86598</link>
      <description>Just set SENDMAIL_SERVER=0 /etc/rc.config.d/mailservs. You should be fine to turn off the mail server as you don't receive any in-bound mails. However, you can run sendmail as a mail client, which will actually do the same work as the "sendmail -q" in your crontab. &lt;BR /&gt;&lt;BR /&gt;Chris&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Dec 2004 11:42:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-q-what-does-it-do/m-p/3443164#M86598</guid>
      <dc:creator>Chris Xu</dc:creator>
      <dc:date>2004-12-14T11:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail -q - What does it do?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-q-what-does-it-do/m-p/3443165#M86599</link>
      <description>Chris,  thanks... That's what I thought.  Didn't know if changing the setting in /etc/rc.config.d/namesrvrs would cause the sendmail command to fail when it's not running in background.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Dec 2004 12:02:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-q-what-does-it-do/m-p/3443165#M86599</guid>
      <dc:creator>Jack C. Mahaffey</dc:creator>
      <dc:date>2004-12-14T12:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail -q - What does it do?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-q-what-does-it-do/m-p/3443166#M86600</link>
      <description>Linux:&lt;BR /&gt;&lt;BR /&gt;If the sendmail daemon is set to run, mail will automatically be pushed regularly.&lt;BR /&gt;&lt;BR /&gt;chkconfig --level 12345 sendmail on&lt;BR /&gt;service sendmail start&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;That will run the daemon, enabling inbound mail and pushing mail out the door regularly.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Sendmail daemon settings are controlled in sendmail.cf The behavior of the daemon can be controlled with the sendmail.mc file.&lt;BR /&gt;&lt;BR /&gt;There is a wealth of information on this subject at &lt;A href="http://www.sendmail.org" target="_blank"&gt;http://www.sendmail.org&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 14 Dec 2004 12:03:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-q-what-does-it-do/m-p/3443166#M86600</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-12-14T12:03:25Z</dc:date>
    </item>
  </channel>
</rss>

