Similar services like pop3 and imap already support this setting, but for
submission this was omitted.
smtp_set.max_recipients = set->submission_max_recipients;
smtp_set.max_client_idle_time_msecs = CLIENT_IDLE_TIMEOUT_MSECS;
smtp_set.max_message_size = set->submission_max_mail_size;
+ smtp_set.rawlog_dir = set->rawlog_dir;
smtp_set.debug = user->mail_debug;
if ((workarounds & WORKAROUND_WHITESPACE_BEFORE_PATH) != 0) {
static const struct setting_define submission_setting_defines[] = {
DEF(SET_BOOL, verbose_proctitle),
+ DEF(SET_STR_VARS, rawlog_dir),
DEF(SET_STR, hostname),
static const struct submission_settings submission_default_settings = {
.verbose_proctitle = FALSE,
+ .rawlog_dir = "",
.hostname = "",
struct submission_settings {
bool verbose_proctitle;
+ const char *rawlog_dir;
const char *hostname;