On Fri, 10 Oct 2025 13:48:00 +0200
"Sergey Poznyakoff" <[email protected]> wrote:
> Kevin Koster via Bug reports and feature requests for GNU mailutils
> ha escrit:
> 
> > In both Mailutils 3.17 and 3.20 (Linux OS) Putmail ignores multiple
> > ";to=" addresses separated by commas
> 
> Thanks for reporting.  Please apply the attached fix.

Thank you, now the email is sent to both recipients listed after ";to="
in the previous example. However ";recipient-headers=" ignores addresses
listed after the first non-empty "recipient-header":

With "To: [email protected],[email protected]" and
"Cc: [email protected]", only [email protected] and
[email protected] get sent the email when using
";recipient-headers=To,Cc,Bcc":

$ echo -e 'From: Kevin Koster <[email protected]>\nTo: 
[email protected],[email protected]\nCc: 
[email protected]\nSubject: Test\n\nTesting 1,2,3,4' | putmail 
--debug-level=all -f "[email protected]" 
"smtp://[email protected]:587;recipient-headers=To,Cc,Bcc" 
2>putmail_3.20patch1_recipient-headers_log2.txt
$ grep [email protected] putmail_3.20patch1_recipient-headers_log2.txt
putmail: C: RCPT TO:<[email protected]>
putmail: C: To: [email protected],[email protected]
$ grep [email protected] putmail_3.20patch1_recipient-headers_log2.txt
putmail: C: RCPT TO:<[email protected]>
putmail: C: To: [email protected],[email protected]
$ grep [email protected] putmail_3.20patch1_recipient-headers_log2.txt
putmail: C: Cc: [email protected]

But the "Cc" address works if there's no "To" address in the email:

$ echo -e 'From: Kevin Koster <[email protected]>\nTo: \nCc: 
[email protected]\nSubject: Test 2\n\nTesting 5,6,7,8' | putmail 
--debug-level=all -f "[email protected]" 
"smtp://[email protected]:587;recipient-headers=To,Cc,Bcc" 
2>putmail_3.20patch1_recipient-headers_log3.txt
$ grep [email protected] putmail_3.20patch1_recipient-headers_log3.txt
putmail: C: RCPT TO:<[email protected]>
putmail: C: Cc: [email protected]

Regards,
Kevin Koster.

  • Putmai... Kevin Koster via Bug reports and feature requests for GNU mailutils
    • M... Sergey Poznyakoff
      • ... Sergey Poznyakoff
        • ... Kevin Koster via Bug reports and feature requests for GNU mailutils
    • R... Sergey Poznyakoff
      • ... Kevin Koster via Bug reports and feature requests for GNU mailutils
        • ... Sergey Poznyakoff
          • ... Sergey Poznyakoff
            • ... Kevin Koster via Bug reports and feature requests for GNU mailutils

Reply via email to