diff options
Diffstat (limited to 'src/libserver')
-rw-r--r-- | src/libserver/milter.c | 1 | ||||
-rw-r--r-- | src/libserver/milter.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/libserver/milter.c b/src/libserver/milter.c index aa19ada33..8d8f0e9b3 100644 --- a/src/libserver/milter.c +++ b/src/libserver/milter.c @@ -1134,6 +1134,7 @@ rspamd_milter_send_action (struct rspamd_milter_session *session, case RSPAMD_MILTER_REPLYCODE: case RSPAMD_MILTER_ADDRCPT: case RSPAMD_MILTER_DELRCPT: + case RSPAMD_MILTER_CHGFROM: /* Single GString * argument */ value = va_arg (ap, GString *); SET_COMMAND (cmd, value->len + 1, reply, pos); diff --git a/src/libserver/milter.h b/src/libserver/milter.h index 2a07cef99..c8bd18a4f 100644 --- a/src/libserver/milter.h +++ b/src/libserver/milter.h @@ -28,6 +28,7 @@ enum rspamd_milter_reply { RSPAMD_MILTER_ACCEPT = 'a', RSPAMD_MILTER_CONTINUE = 'c', RSPAMD_MILTER_DISCARD = 'd', + RSPAMD_MILTER_CHGFROM = 'e', RSPAMD_MILTER_ADDHEADER = 'h', RSPAMD_MILTER_CHGHEADER = 'm', RSPAMD_MILTER_REJECT = 'r', |