summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.h
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2012-10-10 18:02:38 +0000
committerEric Faurot <eric@cvs.openbsd.org>2012-10-10 18:02:38 +0000
commitd206b820072d5c6650e115823681678f37232cc2 (patch)
treee42959ad66167230e37adae97acad7db9617c808 /usr.sbin/smtpd/smtpd.h
parent72dffe3754f92adefba1fd73c49c423ebbed554a (diff)
For each alias node, mark if it has been expanded from an alias map or
from a .forward file. Local deliveries for files and filters expanded from an alias map are run as user _smtpd. issue reported by tood@ ok gilles@ todd@
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 fedc1b5b0f7..eb2953ec413 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.382 2012/10/09 20:33:02 gilles Exp $ */
+/* $OpenBSD: smtpd.h,v 1.383 2012/10/10 18:02:37 eric Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -367,6 +367,7 @@ struct expandnode {
TAILQ_ENTRY(expandnode) tq_entry;
enum expand_type type;
int sameuser;
+ int alias;
struct rule *rule;
struct expandnode *parent;
unsigned int depth;
@@ -384,6 +385,7 @@ struct expandnode {
struct expand {
RB_HEAD(expandtree, expandnode) tree;
TAILQ_HEAD(xnodes, expandnode) *queue;
+ int alias;
struct rule *rule;
struct expandnode *parent;
};