<?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: Change the size of MTA log (/var/log/maillog) and export it as syslog in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Change-the-size-of-MTA-log-var-log-maillog-and-export-it-as/m-p/48628#M13485</link>
    <description>Hi Albrecht,&lt;BR /&gt;&lt;BR /&gt;In the sk, part (3) troubleshooting,&lt;BR /&gt;log_rotation.conf has to be edited with the max size.&lt;BR /&gt;So I am not sure which file control the size of the /var/log/maillog&lt;BR /&gt;&lt;BR /&gt;Do I have any misunderstanding here?</description>
    <pubDate>Tue, 26 Mar 2019 10:46:32 GMT</pubDate>
    <dc:creator>Longson_Ho1</dc:creator>
    <dc:date>2019-03-26T10:46:32Z</dc:date>
    <item>
      <title>Change the size of MTA log (/var/log/maillog) and export it as syslog</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Change-the-size-of-MTA-log-var-log-maillog-and-export-it-as/m-p/48599#M13483</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;My end user is using TE250X (Gaia R77.30) with MTA enabled to receive email traffic and doing threat emulation for mail attachment.&lt;/P&gt;&lt;P&gt;It is found that the default size (5 MB) of /var/log/maillog&amp;nbsp; is not sufficient for high email volumes and can only store&amp;nbsp;logs for several minutes.&lt;BR /&gt;&lt;BR /&gt;End user&amp;nbsp;would like to&lt;/P&gt;&lt;P&gt;1. expand the size of /var/log/maillog&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. export the /var/log/maillog&amp;nbsp;as syslog&amp;nbsp;and forward to 3rd party syslog server.&lt;/P&gt;&lt;P&gt;For task 1, I have found sk93505 seems fit the requirement. However, the steps described in the sk is confusing. I am not sure which files (&lt;STRONG&gt;mta_log_file_size,&amp;nbsp;&lt;/STRONG&gt; &lt;EM&gt;&lt;STRONG&gt;log_rotation.conf)&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;should I edit according to the sk93505.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;For task 2,&amp;nbsp;, I have found sk122323 which describes the method to export Check Point logs over syslog. However, this KB applies to LOG SERVER ONLY. At the moment I have no idea the way to export /var/log/maillog over syslog.&lt;BR /&gt;&lt;BR /&gt;I have noticed that start from R80.20, MTA logging and monitoring&amp;nbsp;is supported in SmartLog. Definitely it is a really nice feature and looking forward to it.&lt;BR /&gt;&lt;BR /&gt;Anyway, is there any workaround or ways to fulfil the upper 2 tasks in R77.30 TE appliance environment?&lt;BR /&gt;&lt;BR /&gt;Remark: Management Server running R80.20, TE250X in R77.30&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 08:45:13 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Change-the-size-of-MTA-log-var-log-maillog-and-export-it-as/m-p/48599#M13483</guid>
      <dc:creator>Longson_Ho1</dc:creator>
      <dc:date>2019-03-26T08:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Change the size of MTA log (/var/log/maillog) and export it as syslog</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Change-the-size-of-MTA-log-var-log-maillog-and-export-it-as/m-p/48626#M13484</link>
      <description>sk93505 is clear.&lt;BR /&gt;Create the plain-text file called $FWDIR/conf/mta_log_file_size:&lt;BR /&gt;[Expert@GW_HostName]# touch $FWDIR/conf/mta_log_file_size&lt;BR /&gt;This file should contain the desired threshold size in MegaBytes (only the integer number):&lt;BR /&gt;[Expert@GW_HostName]# echo 'SIZE_in_MB' &amp;gt; $FWDIR/conf/mta_log_file_size&lt;BR /&gt;    Example - set a desired threshold size to 10 MB:&lt;BR /&gt;    [Expert@GW_HostName]# echo '10' &amp;gt; $FWDIR/conf/mta_log_file_size&lt;BR /&gt;&lt;BR /&gt;So what is the confusing part here?</description>
      <pubDate>Tue, 26 Mar 2019 10:39:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Change-the-size-of-MTA-log-var-log-maillog-and-export-it-as/m-p/48626#M13484</guid>
      <dc:creator>G_W_Albrecht</dc:creator>
      <dc:date>2019-03-26T10:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Change the size of MTA log (/var/log/maillog) and export it as syslog</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Change-the-size-of-MTA-log-var-log-maillog-and-export-it-as/m-p/48628#M13485</link>
      <description>Hi Albrecht,&lt;BR /&gt;&lt;BR /&gt;In the sk, part (3) troubleshooting,&lt;BR /&gt;log_rotation.conf has to be edited with the max size.&lt;BR /&gt;So I am not sure which file control the size of the /var/log/maillog&lt;BR /&gt;&lt;BR /&gt;Do I have any misunderstanding here?</description>
      <pubDate>Tue, 26 Mar 2019 10:46:32 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Change-the-size-of-MTA-log-var-log-maillog-and-export-it-as/m-p/48628#M13485</guid>
      <dc:creator>Longson_Ho1</dc:creator>
      <dc:date>2019-03-26T10:46:32Z</dc:date>
    </item>
  </channel>
</rss>

