From 22162029e12b6c01e0802d743510adc91fd4d796 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 3 Nov 2010 23:11:11 +0000 Subject: Add a default reject message --- src/proxsmtpd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/proxsmtpd.c') 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"); -- cgit v1.2.3