Difference between revisions of "Qpsmtpd:content log"

From SME Server
Jump to navigationJump to search
(Created page with "<span id="_top">Qpsmtpd#Plugins</span> = NAME = content_log - record incoming mail to a file = DESCRIPTION = A simple example of a plugin that l...")
 
 
Line 28: Line 28:
 
-->
 
-->
 
----
 
----
[[Category:Qpsmtpd]]
+
[[Category:Qpsmtpd|content_log]]

Latest revision as of 12:26, 18 July 2017

Qpsmtpd#Plugins

NAME

content_log - record incoming mail to a file

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.

CONFIG

content_log_enabled <true|false>

Used to enable and disable content logging

Default: true

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