diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2018-12-27 15:41:51 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2018-12-27 15:41:51 +0000 |
commit | 0b980b1d7414c3c56906af376f3961531ce4c175 (patch) | |
tree | d18006efe19412f96ebf5e972ee2c27679e8b41a /usr.sbin/smtpd/smtpd-defines.h | |
parent | 5ad1bbdbdc081ee2d9d820e8f4edafc1d05dbacc (diff) |
extract subaddress from last resolved node, not from dest or rcpt address
which was incorrect and can lead to ambiguous cases, this will affect the
people who were using subaddresses within aliases themselves AND expected
deliveries to a maildir subdir of the recipient user.
ok eric@
Diffstat (limited to 'usr.sbin/smtpd/smtpd-defines.h')
-rw-r--r-- | usr.sbin/smtpd/smtpd-defines.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/smtpd-defines.h b/usr.sbin/smtpd/smtpd-defines.h index eba3ddd2196..3b9038cdbf6 100644 --- a/usr.sbin/smtpd/smtpd-defines.h +++ b/usr.sbin/smtpd/smtpd-defines.h @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd-defines.h,v 1.9 2018/05/24 13:03:11 gilles Exp $ */ +/* $OpenBSD: smtpd-defines.h,v 1.10 2018/12/27 15:41:50 gilles Exp $ */ /* * Copyright (c) 2013 Gilles Chehade <gilles@poolp.org> @@ -30,6 +30,7 @@ /* buffer size for virtual username (can be email addresses) */ #define SMTPD_VUSERNAME_SIZE (255 + 1) +#define SMTPD_SUBADDRESS_SIZE (255 + 1) #define SMTPD_USER "_smtpd" #define PATH_CHROOT "/var/empty" |