summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.h
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2011-06-09 17:41:53 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2011-06-09 17:41:53 +0000
commit1695c617c66490bcec742cf0e0b53dc1858b4982 (patch)
tree2561dcbd45d0779ce7b254be3964be6fc1f5e12d /usr.sbin/smtpd/smtpd.h
parente9d3ba74175b7b84330ac8f2e5579b257f768ffb (diff)
'relay as' and 'relay via as' rules allow smtpd to rewrite the user part,
the domain part or the entire address of the sender at the SMTP sesssion level. this is not masquerade but allows smtpd to communicate with hosts that do a check of SMTP sender fqdn. sent to tech@, a couple 'no regression' feedbacks
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 73c856f6752..f2a92a0e976 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.226 2011/05/21 19:57:34 gilles Exp $ */
+/* $OpenBSD: smtpd.h,v 1.227 2011/06/09 17:41:52 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -324,6 +324,7 @@ struct rule {
} r_value;
char *r_user;
+ struct mailaddr *r_as;
objid_t r_amap;
time_t r_qexpire;
};
@@ -376,6 +377,7 @@ struct delivery_mda {
struct delivery_mta {
struct relayhost relay;
+ struct mailaddr relay_as;
};
struct delivery {