diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2011-04-15 17:01:06 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2011-04-15 17:01:06 +0000 |
commit | 90577f3ea3ac8dd575ea47a6cab5ca32ea6f379e (patch) | |
tree | 3a4f7b0efe70331a6e8a0c5ab18b1325bf438032 /usr.sbin/smtpd/mfa.c | |
parent | b36a9bc6cf702ad5f5f043755f100e39d0db2a83 (diff) |
kill message_id and message_uid
smtpd now has an evpid associated to each delivery message, the evpid is an
u_int64_t where the upper 32 bits are the msgid, and the 32 bits are the
envelope unique identifier for that message. this results in lots of space
saved in both disk-based and ram-based queues, but also simplifies a lot of
code.
change has been stressed on my desktop, and has ran on my MX for the entire
afternoon without a regression.
Diffstat (limited to 'usr.sbin/smtpd/mfa.c')
-rw-r--r-- | usr.sbin/smtpd/mfa.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/smtpd/mfa.c b/usr.sbin/smtpd/mfa.c index e983086ce8e..72dac373691 100644 --- a/usr.sbin/smtpd/mfa.c +++ b/usr.sbin/smtpd/mfa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mfa.c,v 1.54 2010/11/28 14:35:58 gilles Exp $ */ +/* $OpenBSD: mfa.c,v 1.55 2011/04/15 17:01:05 gilles Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org> @@ -206,9 +206,6 @@ mfa_test_rcpt(struct smtpd *env, struct message *m) { struct submit_status ss; - if (! valid_message_id(m->message_id)) - fatalx("mfa_test_rcpt: received corrupted message_id"); - ss.id = m->session_id; ss.code = 530; ss.u.path = m->session_rcpt; |