# HG changeset patch # User meillo@marmaro.de # Date 1278502459 -7200 # Node ID dfb6143e7832018401dbe9184a3da0f90a85f7d8 # Parent e20fe8c9936a1e19b4470d0d14ada2706017f485 mail_dir defaults to /var/mail now hence one usually does not need to specify it in masqmail.conf diff -r e20fe8c9936a -r dfb6143e7832 man/masqmail.conf.5 --- a/man/masqmail.conf.5 Wed Jul 07 10:32:00 2010 +0200 +++ b/man/masqmail.conf.5 Wed Jul 07 13:34:19 2010 +0200 @@ -77,6 +77,8 @@ The directory where local mail is stored, usually \fI/var/spool/mail\fR or \fI/var/mail\fR. \fIfile\fR must be an absolute path. +Default: \fI/var/mail\fR + .TP \fBspool_dir = \fIfile\fR diff -r e20fe8c9936a -r dfb6143e7832 src/conf.c --- a/src/conf.c Wed Jul 07 10:32:00 2010 +0200 +++ b/src/conf.c Wed Jul 07 13:34:19 2010 +0200 @@ -434,6 +434,7 @@ conf.max_msg_size = 0; /* no limit on msg size */ conf.spool_dir = SPOOL_DIR; conf.log_dir = LOG_DIR; + conf.mail_dir = "/var/mail"; if ((in = fopen(filename, "r")) == NULL) { fprintf(stderr, "could not open config file %s: %s\n", filename, strerror(errno));