diff options
author | Stef Walter <stef@thewalter.net> | 2010-11-03 23:11:11 +0000 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2011-01-23 15:47:45 -0600 |
commit | 22162029e12b6c01e0802d743510adc91fd4d796 (patch) | |
tree | 5a19895ccae59e34caea979db4e115ed714033ef | |
parent | d7ffc57442e111f3bf4236fb03896c21cb1022a4 (diff) |
Add a default reject message
-rw-r--r-- | src/proxsmtpd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/proxsmtpd.c b/src/proxsmtpd.c index ed994cd..6be962f 100644 --- a/src/proxsmtpd.c +++ b/src/proxsmtpd.c @@ -82,6 +82,7 @@ enum { #define REJECTED "Content Rejected" +#define DEFAULT_REJECT "530 Email Rejected" #define DEFAULT_CONFIG CONF_PREFIX "/proxsmtpd.conf" #define DEFAULT_TIMEOUT 30 @@ -153,6 +154,7 @@ int main(int argc, char* argv[]) g_pxstate.directory = _PATH_TMP; g_pxstate.filter_type = FILTER_PIPE; g_pxstate.timeout.tv_sec = DEFAULT_TIMEOUT; + g_pxstate.reject = DEFAULT_REJECT; sp_init("proxsmtpd"); |