From 0b980b1d7414c3c56906af376f3961531ce4c175 Mon Sep 17 00:00:00 2001 From: Gilles Chehade Date: Thu, 27 Dec 2018 15:41:51 +0000 Subject: 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@ --- usr.sbin/smtpd/smtpd-defines.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/smtpd/smtpd-defines.h') 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 @@ -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" -- cgit v1.2.3