diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2019-01-19 22:28:54 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2019-01-19 22:28:54 +0000 |
commit | 1fa1333ca1a744ce7fa8af3fc73872b082631fe3 (patch) | |
tree | 248a16ed5a77a3a2eec04011f83f76ae887bb65d /src | |
parent | f0be4dfa19120173aa76001d31b2cd90284ecd07 (diff) |
Events: log a non-success when a client connect is denied by an event
Diffstat (limited to 'src')
-rw-r--r-- | src/src/deliver.c | 1 | ||||
-rw-r--r-- | src/src/log.c | 1 | ||||
-rw-r--r-- | src/src/macros.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/src/deliver.c b/src/src/deliver.c index 1baf7d371..307989d40 100644 --- a/src/src/deliver.c +++ b/src/src/deliver.c @@ -856,6 +856,7 @@ if (action) { DEBUG(D_deliver) debug_printf("Event(%s): event_action returned \"%s\"\n", event, s); + errno = ERRNO_EVENT; return s; } } diff --git a/src/src/log.c b/src/src/log.c index 4905b6d54..0aaf94a31 100644 --- a/src/src/log.c +++ b/src/src/log.c @@ -112,6 +112,7 @@ static const uschar * exim_errstrings[] = { US"Local-only delivery", US"Domain in queue_domains", US"Transport concurrency limit", + US"Event requests alternate response", }; diff --git a/src/src/macros.h b/src/src/macros.h index e797615a1..185ea6aff 100644 --- a/src/src/macros.h +++ b/src/src/macros.h @@ -570,6 +570,7 @@ table exim_errstrings[] in log.c */ #define ERRNO_LOCAL_ONLY (-54) /* Local-only delivery */ #define ERRNO_QUEUE_DOMAIN (-55) /* Domain in queue_domains */ #define ERRNO_TRETRY (-56) /* Transport concurrency limit */ +#define ERRNO_EVENT (-57) /* Event processing request alternate response */ |