<?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: /var/adm/syslog/mail.log in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-syslog-mail-log/m-p/2881167#M100962</link>
    <description>You can use the 'mailq' command to see what has not been delivered. To clear the mail log:&lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/sendmail stop&lt;BR /&gt;# cp /dev/null &amp;gt;/var/adm/syslog/mail.log&lt;BR /&gt;# /sbin/init.d/sendmail start&lt;BR /&gt;</description>
    <pubDate>Tue, 14 Jan 2003 09:11:18 GMT</pubDate>
    <dc:creator>Michael Tully</dc:creator>
    <dc:date>2003-01-14T09:11:18Z</dc:date>
    <item>
      <title>/var/adm/syslog/mail.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-syslog-mail-log/m-p/2881163#M100958</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Does the above mentioned file log success and failure activities related to email.&lt;BR /&gt;&lt;BR /&gt;Just recently noticed that this file in my system is growing too fast.&lt;BR /&gt;&lt;BR /&gt;please advise...</description>
      <pubDate>Tue, 14 Jan 2003 09:01:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-syslog-mail-log/m-p/2881163#M100958</guid>
      <dc:creator>Ricky B. Nino</dc:creator>
      <dc:date>2003-01-14T09:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: /var/adm/syslog/mail.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-syslog-mail-log/m-p/2881164#M100959</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;you are rigth .&lt;BR /&gt;&lt;BR /&gt;you can delete the file with this action :&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;     Note: You can manually run this procedure, or you can create&lt;BR /&gt;           a cron job to perform these commands.&lt;BR /&gt;&lt;BR /&gt;1. Stop the sendmail daemon:&lt;BR /&gt;&lt;BR /&gt;   /sbin/init.d/sendmail stop&lt;BR /&gt;&lt;BR /&gt;2. Clear the log (or copy the log to another location):&lt;BR /&gt;&lt;BR /&gt;        cp /dev/null /var/adm/syslog/mail.log&lt;BR /&gt;&lt;BR /&gt;3. Re-start the sendmail daemon:&lt;BR /&gt;&lt;BR /&gt;        /sbin/init.d/sendmail start&lt;BR /&gt;&lt;BR /&gt;'syslogd' actually writes to the mail.log file.  If the above operation&lt;BR /&gt;does not resolve the problem of writing to mail.log, then you should&lt;BR /&gt;signal syslogd to stop and re-start, forcing it to re-read its&lt;BR /&gt;configuration.  You can do this by sending a hangup signal to the&lt;BR /&gt;syslogd process.&lt;BR /&gt;&lt;BR /&gt;     For example: kill -HUP `cat /etc/syslog.pid</description>
      <pubDate>Tue, 14 Jan 2003 09:05:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-syslog-mail-log/m-p/2881164#M100959</guid>
      <dc:creator>eran maor</dc:creator>
      <dc:date>2003-01-14T09:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: /var/adm/syslog/mail.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-syslog-mail-log/m-p/2881165#M100960</link>
      <description>Yes, it should log whether the mail was transmitted, postponed, held etc.  In most cases of failure/delay it will give a reason why, although the actual details can be a little obscure.</description>
      <pubDate>Tue, 14 Jan 2003 09:06:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-syslog-mail-log/m-p/2881165#M100960</guid>
      <dc:creator>Chris Wilshaw</dc:creator>
      <dc:date>2003-01-14T09:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: /var/adm/syslog/mail.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-syslog-mail-log/m-p/2881166#M100961</link>
      <description>Hi Eran,&lt;BR /&gt;&lt;BR /&gt;Does the procedure you have mentioned is the best practice to manage the file? &lt;BR /&gt;&lt;BR /&gt;All,&lt;BR /&gt;&lt;BR /&gt;Is there a way to filter the activities that needs to be log. For instance only activities that fails?&lt;BR /&gt;&lt;BR /&gt;Thanks...</description>
      <pubDate>Tue, 14 Jan 2003 09:11:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-syslog-mail-log/m-p/2881166#M100961</guid>
      <dc:creator>Ricky B. Nino</dc:creator>
      <dc:date>2003-01-14T09:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: /var/adm/syslog/mail.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-syslog-mail-log/m-p/2881167#M100962</link>
      <description>You can use the 'mailq' command to see what has not been delivered. To clear the mail log:&lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/sendmail stop&lt;BR /&gt;# cp /dev/null &amp;gt;/var/adm/syslog/mail.log&lt;BR /&gt;# /sbin/init.d/sendmail start&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jan 2003 09:11:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-syslog-mail-log/m-p/2881167#M100962</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-01-14T09:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: /var/adm/syslog/mail.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-syslog-mail-log/m-p/2881168#M100963</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;yes , it is the best method to do it . &lt;BR /&gt;&lt;BR /&gt;the issue is that you must shutdown the sendmail deamon .&lt;BR /&gt;&lt;BR /&gt;if you shutdown it you can trim the file also with SAM with the option : &lt;BR /&gt;SAM -&amp;gt; routine Task -&amp;gt; system log files &lt;BR /&gt;and choose to trim .&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jan 2003 09:20:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-syslog-mail-log/m-p/2881168#M100963</guid>
      <dc:creator>eran maor</dc:creator>
      <dc:date>2003-01-14T09:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: /var/adm/syslog/mail.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-syslog-mail-log/m-p/2881169#M100964</link>
      <description>I think the level of detail that sendmail places in the log file is configurable in sendmail:&lt;BR /&gt;&lt;BR /&gt;O LogLevel=9&lt;BR /&gt;&lt;BR /&gt;There's a comment header in my sendmail.cf that explains it in some detail.&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jan 2003 11:21:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-syslog-mail-log/m-p/2881169#M100964</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2003-01-14T11:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: /var/adm/syslog/mail.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-syslog-mail-log/m-p/2881170#M100965</link>
      <description>Hi Fred,&lt;BR /&gt;&lt;BR /&gt;Have read the logging level in sendmail.cf. The configuration file does not have detailed discussion on the log level except for loglevel=9. &lt;BR /&gt;&lt;BR /&gt;Just in case you have a better documention related to this let me know thru here.&lt;BR /&gt;&lt;BR /&gt;Many Thanks...</description>
      <pubDate>Tue, 14 Jan 2003 23:59:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-syslog-mail-log/m-p/2881170#M100965</guid>
      <dc:creator>Ricky B. Nino</dc:creator>
      <dc:date>2003-01-14T23:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: /var/adm/syslog/mail.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-syslog-mail-log/m-p/2881171#M100966</link>
      <description>Hi Ricky,&lt;BR /&gt;&lt;BR /&gt;Another way to manage the mail.log files (and others as well) is to use SAM as follows:&lt;BR /&gt;&lt;BR /&gt;Routine Tasks -&amp;gt; System Log Files &lt;BR /&gt;&lt;BR /&gt;There you can set a recommended size &amp;amp; trim to that size or a percentage of it or even a line number. Of course you can trim it to zero as well. If sendmail is running SAM will mv the current file &amp;amp; create a zero size new mail.log &amp;amp; then you can do what you will with that copy.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 15 Jan 2003 00:32:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-syslog-mail-log/m-p/2881171#M100966</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-01-15T00:32:29Z</dc:date>
    </item>
  </channel>
</rss>

