From 067837645045c6dec90312b54d8a8e60c920ed05 Mon Sep 17 00:00:00 2001 From: Rocco Rutte Date: Mon, 1 Jun 2009 10:29:54 +0200 Subject: [PATCH] Weed out address groups for SMTP the same way we do for sendmail --- ChangeLog | 18 ++++++++++++++++++ smtp.c | 4 ++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 30733f7a6..97c0c41d0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,21 @@ +2009-05-31 19:19 -0700 Brendan Cully (0024860ab03e) + + * doc/Makefile.am: Allow chunked and unchunked manuals to build in + parallel. + +2009-05-31 19:07 -0700 Brendan Cully (fd18d0d6f3d0) + + * mutt_ssl_gnutls.c: Remove trailing whitespace + +2009-05-31 14:46 +0200 Rocco Rutte (8e591e80cd48) + + * ChangeLog, smtp.c: SMTP: Don't send "undisclosed-recipients" in RCPT + TO + + This happened for Bcc only messages. "undisclosed-recipients" is + added in To: as guard against MTAs that leak BCCs if no To:/Cc: + header is given. See Debian #529090. + 2009-05-31 13:19 +0200 Rocco Rutte (9594f10d2038) * init.h: Document that $pager_context affects searching, too diff --git a/smtp.c b/smtp.c index dd05d8ae5..f6be5ee83 100644 --- a/smtp.c +++ b/smtp.c @@ -125,8 +125,8 @@ smtp_rcpt_to (CONNECTION * conn, const ADDRESS * a) while (a) { - if (!a->mailbox || ascii_strcasecmp (a->mailbox, - "undisclosed-recipients") == 0) + /* weed out group mailboxes, since those are for display only */ + if (!a->mailbox || a->group) { a = a->next; continue; -- 2.40.0