Mercurial > masqmail
changeset 152:dfb6143e7832
mail_dir defaults to /var/mail now
hence one usually does not need to specify it in masqmail.conf
author | meillo@marmaro.de |
---|---|
date | Wed, 07 Jul 2010 13:34:19 +0200 |
parents | e20fe8c9936a |
children | 51d8eadf3c79 |
files | man/masqmail.conf.5 src/conf.c |
diffstat | 2 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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));