<?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: Removing mails more than 1 day in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/removing-mails-more-than-1-day/m-p/4000800#M28309</link>
    <description>Hi,&lt;BR /&gt;...or you might want to change your sendmail behavior by set the Timeout.queuereturn to 1 day in your sendmail.mc or sendmail.cf. This behavior will send bounced message to sender if the message stay in the queue after 1 day.&lt;BR /&gt;&lt;BR /&gt;for sendmail.mc:&lt;BR /&gt;   dnl define('confTO_QUEUERETURN', '1d')dnl&lt;BR /&gt;then run m4 macro to regenerate sendmail.cf and put it in the right location (/etc/sendmail.cf ?).&lt;BR /&gt;&lt;BR /&gt;for sendmail.cf:&lt;BR /&gt;   O Timeout.queuereturn=1d&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;either way, don't forget to restart sendmail daemon.&lt;BR /&gt;&lt;BR /&gt;EF</description>
    <pubDate>Wed, 16 May 2007 12:10:13 GMT</pubDate>
    <dc:creator>Emir Faisal</dc:creator>
    <dc:date>2007-05-16T12:10:13Z</dc:date>
    <item>
      <title>Removing mails more than 1 day</title>
      <link>https://community.hpe.com/t5/operating-system-linux/removing-mails-more-than-1-day/m-p/4000797#M28306</link>
      <description>Hi guys, &lt;BR /&gt;&lt;BR /&gt;  I am using sendmails in my box, is there a way to remove mails more than a specified period of time? Thanks.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Henry</description>
      <pubDate>Wed, 16 May 2007 00:55:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/removing-mails-more-than-1-day/m-p/4000797#M28306</guid>
      <dc:creator>Henry Chua</dc:creator>
      <dc:date>2007-05-16T00:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Removing mails more than 1 day</title>
      <link>https://community.hpe.com/t5/operating-system-linux/removing-mails-more-than-1-day/m-p/4000798#M28307</link>
      <description>Shalom Henry,&lt;BR /&gt;&lt;BR /&gt;That depends how you store them. If they are sitting in a file in /var/spool/mail raw, its difficult. You'd need to write a script to edit that file.&lt;BR /&gt;&lt;BR /&gt;Need to know a little more about how the mail is stored to assist you.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 16 May 2007 03:50:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/removing-mails-more-than-1-day/m-p/4000798#M28307</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-05-16T03:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Removing mails more than 1 day</title>
      <link>https://community.hpe.com/t5/operating-system-linux/removing-mails-more-than-1-day/m-p/4000799#M28308</link>
      <description>The important thing here is which MTA are you using (qmail, sendmail, postfix, exim, etc).&lt;BR /&gt;&lt;BR /&gt;See this page:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://ftp.ccs.neu.edu/pub/CPAN/scripts/mailstuff/expire_mail.pl" target="_blank"&gt;http://ftp.ccs.neu.edu/pub/CPAN/scripts/mailstuff/expire_mail.pl&lt;/A&gt;</description>
      <pubDate>Wed, 16 May 2007 10:33:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/removing-mails-more-than-1-day/m-p/4000799#M28308</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-05-16T10:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Removing mails more than 1 day</title>
      <link>https://community.hpe.com/t5/operating-system-linux/removing-mails-more-than-1-day/m-p/4000800#M28309</link>
      <description>Hi,&lt;BR /&gt;...or you might want to change your sendmail behavior by set the Timeout.queuereturn to 1 day in your sendmail.mc or sendmail.cf. This behavior will send bounced message to sender if the message stay in the queue after 1 day.&lt;BR /&gt;&lt;BR /&gt;for sendmail.mc:&lt;BR /&gt;   dnl define('confTO_QUEUERETURN', '1d')dnl&lt;BR /&gt;then run m4 macro to regenerate sendmail.cf and put it in the right location (/etc/sendmail.cf ?).&lt;BR /&gt;&lt;BR /&gt;for sendmail.cf:&lt;BR /&gt;   O Timeout.queuereturn=1d&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;either way, don't forget to restart sendmail daemon.&lt;BR /&gt;&lt;BR /&gt;EF</description>
      <pubDate>Wed, 16 May 2007 12:10:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/removing-mails-more-than-1-day/m-p/4000800#M28309</guid>
      <dc:creator>Emir Faisal</dc:creator>
      <dc:date>2007-05-16T12:10:13Z</dc:date>
    </item>
  </channel>
</rss>

