comparison src/conf.c @ 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
comparison
equal deleted inserted replaced
151:e20fe8c9936a 152:dfb6143e7832
432 conf.alias_local_cmp = strcmp; 432 conf.alias_local_cmp = strcmp;
433 conf.max_defer_time = 86400 * 4; /* 4 days */ 433 conf.max_defer_time = 86400 * 4; /* 4 days */
434 conf.max_msg_size = 0; /* no limit on msg size */ 434 conf.max_msg_size = 0; /* no limit on msg size */
435 conf.spool_dir = SPOOL_DIR; 435 conf.spool_dir = SPOOL_DIR;
436 conf.log_dir = LOG_DIR; 436 conf.log_dir = LOG_DIR;
437 conf.mail_dir = "/var/mail";
437 438
438 if ((in = fopen(filename, "r")) == NULL) { 439 if ((in = fopen(filename, "r")) == NULL) {
439 fprintf(stderr, "could not open config file %s: %s\n", filename, strerror(errno)); 440 fprintf(stderr, "could not open config file %s: %s\n", filename, strerror(errno));
440 return FALSE; 441 return FALSE;
441 } 442 }