Hallo Michael!

Michael Dressel wrote in <20180605142910.98CD03C019F@mpslx35017>:
 |I tried to send the folleoing kind of message:
 |
 |===
 |$ mail -s test -c [email protected],[email protected],[email protected] -S expandaddr -S 
[email protected],\
 |[email protected],[email protected] -S [email protected] -r [email protected] [email protected] 
~/test.mail
 |Test
 |^D
 |-------
 |Envelope contains:
 |From: [email protected], [email protected], [email protected]
 |Sender: [email protected]
 |To: [email protected]
 |Cc: [email protected], [email protected], [email protected]
 |Subject: test
 |Send this message [yes/no, empty: recompose]? yes
 |===
 |
 |But the message does not send to the Cc:'s. I also send to a file and \
 |the file
 |contains the folloeing message:
 |
 |From xxxxxx Tue Jun  5 16:18:15 2018
 |Date: Tue, 05 Jun 2018 16:18:15 +0200
 |From: [email protected], [email protected], [email protected]
 |Sender: [email protected]
 |To: [email protected]
 |Subject: test
 |Message-ID: <[email protected]>
 |User-Agent: mail v14.9.10
 |
 |Test
 |===

Thank you very much for reporting this problem!
It unfortunately has something to do with -S "freezing" *from*, so
that -r cannot overwrite *from* with the desired value since
September 2017 or so.  I put the essential fix on [master] etc.,
and a nicer one with test to [next], because cherry-picking tests
is a bit hard at the moment.

Please let me continue to assume that the Desy laser Petra III has
set in a thaw.  Interesting link with the nano cellulose, too,
i have yet not heard that mankind has invented something stronger
and also more elastic than the spinning threads of spiders!  Just
a few days ago there was a tiny spider (maybe 3 millimeters)
beside my shower, and she (or he) managed to produce the thread so
fast that it looked as if she would be falling down from the
ceiling to the floor, almost two and a half meter.  Nonetheless,
very fascinating!

Should work as good as possible now:

  #?0[steffen@essex nail.git]$ </dev/null ./s-nail -:/ -d -s test \
    -c [email protected],[email protected],[email protected] \
    -S expandaddr \
    -S [email protected],[email protected],[email protected] \
    -S [email protected] \
    -r [email protected] \
    [email protected] /tmp/test.mail
  s-nail: P(seudo)R(andomNumber)G(enerator): arc4random
  s-nail: >>> Writing message via /tmp/test.mail
  s-nail: >>> MTA: /usr/sbin/sendmail, arguments: sendmail -i -f [email protected] -- 
[email protected] [email protected] [email protected]
  s-nail: >>> Date: Wed, 06 Jun 2018 00:49:38 +0200
  s-nail: >>> From: [email protected]
  s-nail: >>> Sender: [email protected]
  s-nail: >>> To: [email protected]
  s-nail: >>> Cc: [email protected], [email protected]
  s-nail: >>> Subject: test
  s-nail: >>> Message-ID: <[email protected]>
  s-nail: >>> User-Agent: s-nail v14.9.10-29-g92c49370-dirty
  s-nail: >>> 
  s-nail: memreset: freed 31 chunks/25205 bytes

Of course we are not where i want to be, TODO states since some
releases

  -r should be the Sender:, which should automatically propagate
  to From: if possible and/or necessary.  It should be possible to
  suppress -r stuff from From: and Sender:, but fallback to
  special -r arg as appropriate.

but that i wrote after giving up to implement this nicely, it has
to wait for now.

 |Cheers,
 |Michael
 --End of <20180605142910.98CD03C019F@mpslx35017>

Ciao, and thanks again!

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

Reply via email to