summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.h
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2009-10-19 20:00:47 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2009-10-19 20:00:47 +0000
commit913f9b32e1e3deef921cf5d7877a162de81506be (patch)
tree2c1171b8cccd997d87c13c47701a81a3122e8c7d /usr.sbin/smtpd/smtpd.h
parent33991ec8b7ad1633b5172fb0e73bd827cd6e77b2 (diff)
users within virtual domains do not necessarily map to a real user account,
teach smtpd how to deliver using specific user permissions: accept for virtual map "foo" deliver to maildir "/m/%d/%u" user foo will deliver mail under /m/domain/user as user foo idea and initial diff discussed with jacekm@
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-rw-r--r--usr.sbin/smtpd/smtpd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index d8b3c83f3a3..2b7920f9b24 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.147 2009/10/12 22:34:37 gilles Exp $ */
+/* $OpenBSD: smtpd.h,v 1.148 2009/10/19 20:00:46 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -332,6 +332,8 @@ struct rule {
char command[MAXCOMMANDLEN];
} r_value;
TAILQ_HEAD(optlist, opt) r_options;
+
+ char *r_user;
};
enum path_flags {