mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 19:20:12 +01:00
piler daemon reload fix
This commit is contained in:
parent
70d4db53b7
commit
f048e5c4e7
@ -12,9 +12,9 @@
|
|||||||
#define PROGNAME "piler"
|
#define PROGNAME "piler"
|
||||||
#define PILERGETD_PROGNAME "pilergetd"
|
#define PILERGETD_PROGNAME "pilergetd"
|
||||||
|
|
||||||
#define VERSION "1.2.0-pre"
|
#define VERSION "1.1.1-pre"
|
||||||
|
|
||||||
#define BUILD 888
|
#define BUILD 889
|
||||||
|
|
||||||
#define HOSTID "mailarchiver"
|
#define HOSTID "mailarchiver"
|
||||||
|
|
||||||
|
@ -315,8 +315,6 @@ void initialise_configuration(){
|
|||||||
initrules(data.archiving_rules);
|
initrules(data.archiving_rules);
|
||||||
initrules(data.retention_rules);
|
initrules(data.retention_rules);
|
||||||
|
|
||||||
memset(data.starttls, 0, sizeof(data.starttls));
|
|
||||||
|
|
||||||
#ifdef HAVE_STARTTLS
|
#ifdef HAVE_STARTTLS
|
||||||
if(cfg.tls_enable > 0 && data.ctx == NULL && init_ssl() == OK){
|
if(cfg.tls_enable > 0 && data.ctx == NULL && init_ssl() == OK){
|
||||||
snprintf(data.starttls, sizeof(data.starttls)-1, "250-STARTTLS\r\n");
|
snprintf(data.starttls, sizeof(data.starttls)-1, "250-STARTTLS\r\n");
|
||||||
@ -383,6 +381,7 @@ int main(int argc, char **argv){
|
|||||||
initrules(data.retention_rules);
|
initrules(data.retention_rules);
|
||||||
data.ctx = NULL;
|
data.ctx = NULL;
|
||||||
data.ssl = NULL;
|
data.ssl = NULL;
|
||||||
|
memset(data.starttls, 0, sizeof(data.starttls));
|
||||||
|
|
||||||
|
|
||||||
initialise_configuration();
|
initialise_configuration();
|
||||||
|
Loading…
Reference in New Issue
Block a user