Mercurial > masqmail
comparison src/conf.c @ 120:cd59a5b4d3dd
added support for SMTP SIZE 0 (unlimited)
author | meillo@marmaro.de |
---|---|
date | Thu, 01 Jul 2010 13:30:30 +0200 |
parents | 5ec5e6637049 |
children | d68f0cab0be5 |
comparison
equal
deleted
inserted
replaced
119:1e2fd87d58ea | 120:cd59a5b4d3dd |
---|---|
429 conf.log_max_pri = 7; | 429 conf.log_max_pri = 7; |
430 conf.remote_port = 25; | 430 conf.remote_port = 25; |
431 conf.do_relay = TRUE; | 431 conf.do_relay = TRUE; |
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 = 100*1024*1024; /* in bytes (100MB are probably enough) */ | 434 conf.max_msg_size = 0; /* no limit on msg size */ |
435 | 435 |
436 if ((in = fopen(filename, "r")) == NULL) { | 436 if ((in = fopen(filename, "r")) == NULL) { |
437 fprintf(stderr, "could not open config file %s: %s\n", filename, strerror(errno)); | 437 fprintf(stderr, "could not open config file %s: %s\n", filename, strerror(errno)); |
438 return FALSE; | 438 return FALSE; |
439 } | 439 } |