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 diff
     1.1 --- a/man/masqmail.conf.5	Wed Jul 07 10:32:00 2010 +0200
     1.2 +++ b/man/masqmail.conf.5	Wed Jul 07 13:34:19 2010 +0200
     1.3 @@ -77,6 +77,8 @@
     1.4  The directory where local mail is stored, usually \fI/var/spool/mail\fR or \fI/var/mail\fR.
     1.5  \fIfile\fR must be an absolute path.
     1.6  
     1.7 +Default: \fI/var/mail\fR
     1.8 +
     1.9  .TP
    1.10  \fBspool_dir = \fIfile\fR
    1.11  
     2.1 --- a/src/conf.c	Wed Jul 07 10:32:00 2010 +0200
     2.2 +++ b/src/conf.c	Wed Jul 07 13:34:19 2010 +0200
     2.3 @@ -434,6 +434,7 @@
     2.4  	conf.max_msg_size = 0; /* no limit on msg size */
     2.5  	conf.spool_dir = SPOOL_DIR;
     2.6  	conf.log_dir = LOG_DIR;
     2.7 +	conf.mail_dir = "/var/mail";
     2.8  
     2.9  	if ((in = fopen(filename, "r")) == NULL) {
    2.10  		fprintf(stderr, "could not open config file %s: %s\n", filename, strerror(errno));