summaryrefslogtreecommitdiffstats
path: root/proto/MAILLOG_README.html
diff options
context:
space:
mode:
Diffstat (limited to 'proto/MAILLOG_README.html')
-rw-r--r--proto/MAILLOG_README.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/proto/MAILLOG_README.html b/proto/MAILLOG_README.html
index da1c1a8..13c1091 100644
--- a/proto/MAILLOG_README.html
+++ b/proto/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 maillog_file_permissions 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 maillog_file=/var/log/postfix.log
+# postconf maillog_file_permissions=0644 # (Postfix 3.9 and later)
# postfix start
</pre>
</blockquote>
@@ -124,6 +130,10 @@ old logfile. </p>
program is configured with the maillog_file_compressor parameter
(default: gzip). </p>
+<li> <p> The next time it logs an event, postlogd(8) will create a
+new logfile, with permissions specified with the maillog_file_permissions
+parameter (default: 0600). </p>
+
</ul>
<p> Notes: </p>