dovecot: And call deliver_mail() with destaddr instead of user.

dovecot at dovecot.org dovecot at dovecot.org
Sun Sep 30 17:36:14 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/af3194cbd364
changeset: 6516:af3194cbd364
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Sep 30 17:36:10 2007 +0300
description:
And call deliver_mail() with destaddr instead of user.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/deliver/deliver.c |    2 +-

diffs (12 lines):

diff -r 95eb92b49d9c -r af3194cbd364 src/deliver/deliver.c
--- a/src/deliver/deliver.c	Sun Sep 30 17:32:12 2007 +0300
+++ b/src/deliver/deliver.c	Sun Sep 30 17:36:10 2007 +0300
@@ -815,7 +815,7 @@ int main(int argc, char *argv[])
 	if (deliver_mail == NULL)
 		ret = -1;
 	else {
-		if (deliver_mail(ns, &storage, mail, authuser, mailbox) <= 0) {
+		if (deliver_mail(ns, &storage, mail, destaddr, mailbox) <= 0) {
 			/* if message was saved, don't bounce it even though
 			   the script failed later. */
 			ret = saved_mail ? 0 : -1;


More information about the dovecot-cvs mailing list