1 /* Copyright (C) 2009 Trend Micro Inc.
4 * This program is a free software; you can redistribute it
5 * and/or modify it under the terms of the GNU General Public
6 * License (version 2) as published by the FSF - Free Software
12 #include "config/config.h"
15 /* Read the Mail configuration */
16 int MailConf(int test_config, const char *cfgfile, MailConfig *Mail)
23 Mail->reply_to = NULL;
26 Mail->smtpserver = NULL;
27 Mail->heloserver = NULL;
30 Mail->maxperhour = 12;
33 Mail->gran_level = NULL;
34 Mail->gran_location = NULL;
35 Mail->gran_group = NULL;
36 Mail->gran_set = NULL;
37 Mail->gran_format = NULL;
39 Mail->strict_checking = 0;
40 #ifdef LIBGEOIP_ENABLED
44 if (ReadConfig(modules, cfgfile, NULL, Mail) < 0) {
50 verbose(MAIL_DIS, ARGV0);