<?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: mail.log in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mail-log/m-p/2527405#M867792</link>
    <description>Hi David:&lt;BR /&gt;&lt;BR /&gt;If you removed /var/adm/syslog/mail.log instead of redirecting /dev/null to it, then restart sendmail:&lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/sendmail stop&lt;BR /&gt;# /sbin/init.d/sendmail start&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Fri, 11 May 2001 17:05:14 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2001-05-11T17:05:14Z</dc:date>
    <item>
      <title>mail.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mail-log/m-p/2527398#M867785</link>
      <description>Is there a way to create a new mail.log file? Ours has grown to the point where it is too large to open with vi. I tried copying it to a new file and then deleting the old one but when I stopped and started sendmail a new one was not created. I also tried creating a new file with the same name but it didn't appear that sendmail was writing to the log.</description>
      <pubDate>Fri, 11 May 2001 11:46:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mail-log/m-p/2527398#M867785</guid>
      <dc:creator>David Crowe</dc:creator>
      <dc:date>2001-05-11T11:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: mail.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mail-log/m-p/2527399#M867786</link>
      <description>David:&lt;BR /&gt;&lt;BR /&gt;The proper way to nullify an inuse file is this:&lt;BR /&gt;&lt;BR /&gt;# cat /dev/null &amp;gt; /var/adm/syslog/mail.log&lt;BR /&gt;&lt;BR /&gt;You can do this while the sendmail daemon is running.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 11 May 2001 11:55:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mail-log/m-p/2527399#M867786</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-05-11T11:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: mail.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mail-log/m-p/2527400#M867787</link>
      <description># &amp;gt; /var/adm/syslog/mail.log &lt;BR /&gt;or&lt;BR /&gt;#touch /var/adm/syslog/mail.log &lt;BR /&gt;</description>
      <pubDate>Fri, 11 May 2001 12:03:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mail-log/m-p/2527400#M867787</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-05-11T12:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: mail.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mail-log/m-p/2527401#M867788</link>
      <description>Does this just stop logging to the mail.log or does it create a new mail.log?</description>
      <pubDate>Fri, 11 May 2001 12:13:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mail-log/m-p/2527401#M867788</guid>
      <dc:creator>David Crowe</dc:creator>
      <dc:date>2001-05-11T12:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: mail.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mail-log/m-p/2527402#M867789</link>
      <description>No stop logging to the mail.log,you can create a new mail.log.</description>
      <pubDate>Fri, 11 May 2001 12:19:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mail-log/m-p/2527402#M867789</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-05-11T12:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: mail.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mail-log/m-p/2527403#M867790</link>
      <description>Nope, it does not stop logging to mail.log, but it cleans what you had inside the file until that point in time.&lt;BR /&gt;</description>
      <pubDate>Fri, 11 May 2001 12:22:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mail-log/m-p/2527403#M867790</guid>
      <dc:creator>Pedro Sousa</dc:creator>
      <dc:date>2001-05-11T12:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: mail.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mail-log/m-p/2527404#M867791</link>
      <description>Mail transactions are no longer being put into my mail.log file. Is there a simple way to correct this?</description>
      <pubDate>Fri, 11 May 2001 16:47:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mail-log/m-p/2527404#M867791</guid>
      <dc:creator>David Crowe</dc:creator>
      <dc:date>2001-05-11T16:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: mail.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mail-log/m-p/2527405#M867792</link>
      <description>Hi David:&lt;BR /&gt;&lt;BR /&gt;If you removed /var/adm/syslog/mail.log instead of redirecting /dev/null to it, then restart sendmail:&lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/sendmail stop&lt;BR /&gt;# /sbin/init.d/sendmail start&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 11 May 2001 17:05:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mail-log/m-p/2527405#M867792</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-05-11T17:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: mail.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mail-log/m-p/2527406#M867793</link>
      <description>You could stop and start sendmail:&lt;BR /&gt;/sbin/init.d/sendmail stop&lt;BR /&gt;/sbin/init.d/sendmail start&lt;BR /&gt;&lt;BR /&gt;and also give your syslog daemon a restart:&lt;BR /&gt;&lt;BR /&gt;kill -HUP `cat /var/run/syslog.pid`&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&lt;BR /&gt;&lt;BR /&gt;Jim</description>
      <pubDate>Fri, 11 May 2001 17:06:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mail-log/m-p/2527406#M867793</guid>
      <dc:creator>Jim Moffitt_1</dc:creator>
      <dc:date>2001-05-11T17:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: mail.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mail-log/m-p/2527407#M867794</link>
      <description>I have already tried stopping and starting sendmail but it did not fix the problem. I will try stopping the syslog daemon and see if that does the trick.&lt;BR /&gt;</description>
      <pubDate>Fri, 11 May 2001 17:16:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mail-log/m-p/2527407#M867794</guid>
      <dc:creator>David Crowe</dc:creator>
      <dc:date>2001-05-11T17:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: mail.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mail-log/m-p/2527408#M867795</link>
      <description>Hi,&lt;BR /&gt;Logging in /var/adm/syslog/mail.log is manipulated from SYSLOG daemon.&lt;BR /&gt;Would you try with:&lt;BR /&gt;1. mv /var/adm/syslog/mail.log /var/adm/syslog/mail.log.old&lt;BR /&gt;2. touch /var/adm/syslog/mail.log (may be a chmod command will be good)&lt;BR /&gt;3. kill -HUP `cat /var/run/syslog.pid`</description>
      <pubDate>Wed, 16 May 2001 14:54:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mail-log/m-p/2527408#M867795</guid>
      <dc:creator>Plamen SIMEONOV</dc:creator>
      <dc:date>2001-05-16T14:54:58Z</dc:date>
    </item>
  </channel>
</rss>

