diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2011-08-31 18:56:31 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2011-08-31 18:56:31 +0000 |
commit | 765bc1b5fffe5b0e2f82f824bc4a91bba12073cc (patch) | |
tree | 3c456ecef8ff07cd9845866125edf40ae731e6a7 /usr.sbin/smtpd/smtp.c | |
parent | 88fbf193fd2f3dc7446ff2da1e7d9f50366a84d1 (diff) |
add support for per-line DATA callbacks, this allows filters to take their
decisions *while* the message is being received by the client.
Diffstat (limited to 'usr.sbin/smtpd/smtp.c')
-rw-r--r-- | usr.sbin/smtpd/smtp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/smtp.c b/usr.sbin/smtpd/smtp.c index 9e20da78869..7614ca1344b 100644 --- a/usr.sbin/smtpd/smtp.c +++ b/usr.sbin/smtpd/smtp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smtp.c,v 1.88 2011/08/29 18:49:29 chl Exp $ */ +/* $OpenBSD: smtp.c,v 1.89 2011/08/31 18:56:30 gilles Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org> @@ -83,6 +83,7 @@ smtp_imsg(struct imsgev *iev, struct imsg *imsg) case IMSG_MFA_HELO: case IMSG_MFA_MAIL: case IMSG_MFA_RCPT: + case IMSG_MFA_DATALINE: log_debug("smtp: got imsg_mfa_helo/mail/rcpt/quit"); ss = imsg->data; s = session_lookup(ss->id); |