diff --git a/src/lib-sieve/plugins/enotify/sieve-ext-enotify.h b/src/lib-sieve/plugins/enotify/sieve-ext-enotify.h index 188f8e6cd3ed1871e8565220ce1d9961148ca09e..3de11294039c2af66959d053f5d82a298c8d188f 100644 --- a/src/lib-sieve/plugins/enotify/sieve-ext-enotify.h +++ b/src/lib-sieve/plugins/enotify/sieve-ext-enotify.h @@ -180,6 +180,11 @@ struct sieve_enotify_action { LOG_TYPE_INFO, (ENV)->location, \ SIEVE_ERROR_FLAG_GLOBAL, __VA_ARGS__ ) +#define sieve_enotify_event_log(ENV, EVENT, ...) \ + sieve_event_log((ENV)->svinst, (ENV)->ehandler, (EVENT), \ + LOG_TYPE_INFO, (ENV)->location, \ + SIEVE_ERROR_FLAG_GLOBAL, __VA_ARGS__ ) + #define sieve_enotify_global_log_error(ENV, ...) \ sieve_event_log((ENV)->svinst, (ENV)->ehandler, (ENV)->event, \ LOG_TYPE_ERROR, (ENV)->location, \