<?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 Sendmail in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/sendmail/m-p/3379840#M14085</link>
    <description>can some help me how to generate a script file to move the mails from  queue to specified path automatically .</description>
    <pubDate>Wed, 15 Sep 2004 15:34:47 GMT</pubDate>
    <dc:creator>Choppa Kumar</dc:creator>
    <dc:date>2004-09-15T15:34:47Z</dc:date>
    <item>
      <title>Sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail/m-p/3379840#M14085</link>
      <description>can some help me how to generate a script file to move the mails from  queue to specified path automatically .</description>
      <pubDate>Wed, 15 Sep 2004 15:34:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail/m-p/3379840#M14085</guid>
      <dc:creator>Choppa Kumar</dc:creator>
      <dc:date>2004-09-15T15:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail/m-p/3379841#M14086</link>
      <description>Hello Choppa Kumar,&lt;BR /&gt;&lt;BR /&gt;Use the following commands&lt;BR /&gt;&lt;BR /&gt;#mkdir /tmp/mymailqueue&lt;BR /&gt;#mv /var/spool/mqueue/* /tmp/mymailqueue&lt;BR /&gt;&lt;BR /&gt;This will move all your mail queue to the /tmp/mymailqueue Directory. You can also specify your own directory&lt;BR /&gt;&lt;BR /&gt;Put it in the crontab. &lt;BR /&gt;&lt;BR /&gt;#crontab -e&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;There you specify&lt;BR /&gt;&lt;BR /&gt;30 10 * * * mv /var/spool/mqueue/* /tmp/mymailqueue&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This will move the mail queue every day at 10:30 AM&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Senthil Murugan&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Sep 2004 23:06:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail/m-p/3379841#M14086</guid>
      <dc:creator>Senthilmurugan</dc:creator>
      <dc:date>2004-09-15T23:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail/m-p/3379842#M14087</link>
      <description>Mail queues are stored on /var/spool/mqueue/* directory there. You can view the queued mail's as,&lt;BR /&gt;&lt;BR /&gt; mailq&lt;BR /&gt;&lt;BR /&gt;Try to move the content's /var/spool/mqueue directory to your path with script as,&lt;BR /&gt;&lt;BR /&gt; mkdir 700 /tmp/mailqueue&lt;BR /&gt; while true;&lt;BR /&gt; do&lt;BR /&gt;&lt;BR /&gt;  mv /var/spool/mqueue/* /tmp/mailqueue/.&lt;BR /&gt; &lt;BR /&gt;  # sleep time for 10 hours&lt;BR /&gt;  sleep 36000&lt;BR /&gt;&lt;BR /&gt; done&lt;BR /&gt;&lt;BR /&gt;or as simple use cronjob for this.&lt;BR /&gt;  &lt;BR /&gt;</description>
      <pubDate>Thu, 16 Sep 2004 01:50:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail/m-p/3379842#M14087</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-09-16T01:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail/m-p/3379843#M14088</link>
      <description>Thanks ton</description>
      <pubDate>Thu, 16 Sep 2004 14:05:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail/m-p/3379843#M14088</guid>
      <dc:creator>Choppa Kumar</dc:creator>
      <dc:date>2004-09-16T14:05:04Z</dc:date>
    </item>
  </channel>
</rss>

