summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2011-07-04 19:44:32 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2011-07-04 19:44:32 +0000
commit6b5975df90ef00db56bd2152ef4c4db2386350f7 (patch)
tree277b8792c262c131b1f02d2c1f56de7df003b7f2 /usr.sbin/smtpd
parent2996db47911b2cd765f62a0dd251d8cb0195b3d5 (diff)
%u in format string is rcpt.user not rcpt.domain
From Tim van der Molen <tbvdm@xs4all.nl>
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r--usr.sbin/smtpd/lka_session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/lka_session.c b/usr.sbin/smtpd/lka_session.c
index 3870ed30fb0..1f7c202040f 100644
--- a/usr.sbin/smtpd/lka_session.c
+++ b/usr.sbin/smtpd/lka_session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lka_session.c,v 1.7 2011/06/09 17:41:52 gilles Exp $ */
+/* $OpenBSD: lka_session.c,v 1.8 2011/07/04 19:44:31 gilles Exp $ */
/*
* Copyright (c) 2011 Gilles Chehade <gilles@openbsd.org>
@@ -557,7 +557,7 @@ lka_session_expand_format(char *buf, size_t len, struct envelope *ep)
string = dlv->agent.mda.as_user;
break;
case 'u':
- string = dlv->rcpt.domain;
+ string = dlv->rcpt.user;
break;
case 'd':
string = dlv->rcpt.domain;