summaryrefslogtreecommitdiffstats
path: root/html/MAILLOG_README.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/MAILLOG_README.html')
-rw-r--r--html/MAILLOG_README.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/html/MAILLOG_README.html b/html/MAILLOG_README.html
index be58e33..ab751f4 100644
--- a/html/MAILLOG_README.html
+++ b/html/MAILLOG_README.html
@@ -63,10 +63,16 @@ Postfix version. </p>
/var/log/postfix.log. See also the "<a href="#logrotate">Logfile
rotation</a>" section below for logfile management. </p>
+<p> In the example below, specifying <a href="postconf.5.html#maillog_file_permissions">maillog_file_permissions</a> is
+optional (Postfix 3.9 and later). The default value is 0600, i.e.,
+only the super-user can access the file; the value 0644 also
+adds 'group' and 'other' read access. </p>
+
<blockquote>
<pre>
# postfix stop
# postconf <a href="postconf.5.html#maillog_file">maillog_file</a>=/var/log/postfix.log
+# postconf <a href="postconf.5.html#maillog_file_permissions">maillog_file_permissions</a>=0644 # (Postfix 3.9 and later)
# postfix start
</pre>
</blockquote>
@@ -124,6 +130,10 @@ old logfile. </p>
program is configured with the <a href="postconf.5.html#maillog_file_compressor">maillog_file_compressor</a> parameter
(default: gzip). </p>
+<li> <p> The next time it logs an event, <a href="postlogd.8.html">postlogd(8)</a> will create a
+new logfile, with permissions specified with the <a href="postconf.5.html#maillog_file_permissions">maillog_file_permissions</a>
+parameter (default: 0600). </p>
+
</ul>
<p> Notes: </p>