diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2012-01-18 13:41:55 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2012-01-18 13:41:55 +0000 |
commit | 8b26bf89ccbe3141f9bfc2d16068ae00b9eb9bba (patch) | |
tree | 22a1c61ff718530c0e6cdc5b538b73f253291831 /usr.sbin/smtpd/smtpd.c | |
parent | 995a30821cb802c22d14b470790cc8111b506a31 (diff) |
Add new filters callbacks for:
- network events (CONNECT/CLOSE)
- commands (QUIT/RSET)
ok gilles@ eric@
Diffstat (limited to 'usr.sbin/smtpd/smtpd.c')
-rw-r--r-- | usr.sbin/smtpd/smtpd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/smtpd.c b/usr.sbin/smtpd/smtpd.c index 4a97c923f04..2f98c62de04 100644 --- a/usr.sbin/smtpd/smtpd.c +++ b/usr.sbin/smtpd/smtpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.c,v 1.147 2012/01/13 14:01:58 eric Exp $ */ +/* $OpenBSD: smtpd.c,v 1.148 2012/01/18 13:41:54 chl Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org> @@ -1183,10 +1183,14 @@ imsg_to_str(int type) CASE(IMSG_MDA_SESS_NEW); CASE(IMSG_MDA_DONE); + CASE(IMSG_MFA_CONNECT); CASE(IMSG_MFA_HELO); CASE(IMSG_MFA_MAIL); CASE(IMSG_MFA_RCPT); CASE(IMSG_MFA_DATALINE); + CASE(IMSG_MFA_QUIT); + CASE(IMSG_MFA_CLOSE); + CASE(IMSG_MFA_RSET); CASE(IMSG_QUEUE_CREATE_MESSAGE); CASE(IMSG_QUEUE_SUBMIT_ENVELOPE); |