Mercurial > masqmail
comparison src/conf.c @ 153:51d8eadf3c79
local_hosts defaults to `localhost' now
this is a very basic setting
you really should set it to something like "localhost;foo;foo.example.org"
author | meillo@marmaro.de |
---|---|
date | Wed, 07 Jul 2010 13:38:33 +0200 |
parents | dfb6143e7832 |
children | b5ab9cb2f18a |
comparison
equal
deleted
inserted
replaced
152:dfb6143e7832 | 153:51d8eadf3c79 |
---|---|
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.local_hosts = parse_list("localhost", FALSE); | |
437 conf.mail_dir = "/var/mail"; | 438 conf.mail_dir = "/var/mail"; |
438 | 439 |
439 if ((in = fopen(filename, "r")) == NULL) { | 440 if ((in = fopen(filename, "r")) == NULL) { |
440 fprintf(stderr, "could not open config file %s: %s\n", filename, strerror(errno)); | 441 fprintf(stderr, "could not open config file %s: %s\n", filename, strerror(errno)); |
441 return FALSE; | 442 return FALSE; |