when receiving mail for user+tag@ and maildir is setup, we create a .tag
authorgilles <gilles@openbsd.org>
Sat, 19 Apr 2014 12:55:23 +0000 (12:55 +0000)
committergilles <gilles@openbsd.org>
Sat, 19 Apr 2014 12:55:23 +0000 (12:55 +0000)
commite28cb3f0a15067d46f35011d5520f1ec976936be
tree08e111b6254f2b01c7b5610d7b8f8109ad90f998
parente64646704e6e72e5866c94c69622a4ce415cbc57
when receiving mail for user+tag@ and maildir is setup, we create a .tag
subdirectory in the maildir, add missing check to strlcat() so that if path
with .tag exceeds SMTPD_MAXPATHLEN we fail instead of creating a .tag dir
that's truncated.

(void) cast strlcpy()/strlcat() that cannot truncate
usr.sbin/smtpd/lka_session.c