Qpsmtpd:content log

From SME Server
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