Qpsmtpd:content log

From SME Server
Revision as of 12:26, 18 July 2017 by Mmccarn (talk | contribs) (→‎content_log_file <pattern>)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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