924 bytes added
, 11:19, 18 July 2017
<span id="_top">[[Qpsmtpd#Plugins]]</span>
= [[#___top|NAME]] =
content_log - record incoming mail to a file
= [[#___top|DESCRIPTION]] =
A simple example of a plugin that logs all incoming mail to a file. Useful for debugging other plugins or keeping an archive of things.
= [[#___top|CONFIG]] =
== [[#___top|content_log_enabled <true|false>]] ==
Used to enable and disable content logging
Default: true
== [[#___top|content_log_file <pattern>]] ==
Path to the content log file.
This option is passed through strftime(); see http://man7.org/linux/man-pages/man3/strftime.3.html or the appropriate documentation for your operating system)
Default: mail/%Y%m%d
<!-- Generated Tue Jul 18 06:09:32 EDT 2017 using
perldoc -T -ohtml /usr/share/qpsmtpd/plugins/content_log |pandoc -f html -t mediawiki |sed 1 i\\n\n\n<span id="_top">[[Qpsmtpd#Plugins]]</span> |sed -e s#</d.>##
-->
----
[[Category:Qpsmtpd]]