Consider this 3 line test message:
From: ted@example.com
To: (foo)
Bcc: ted@example.com
Sendmail is ok with it, to test, try:
mailaddr=SOMEVALID_ADDR; printf "From: $mailaddr\nTo: (foo)\nBcc:
$mailaddr\n" |/usr/lib/sendmail -t -oi -oem
nmh 1.6 however, empties out the To: header.
I got the idea of using ( something here ) in the To: header as a way of
refering to
a Dcc or Bcc list of addresses from:
https://serverfault.com/questions/743538/sendmail-support-of-empty-group-addresses-aka-list-syntax
Would be nice if nmh would preserve the
To: (foo)
header.
--
Thanks!
Tom
--
(Obviously a minor issue.)
--
Those sendmail switches I used:
-t Read message for recipients. To:, Cc:, and Bcc: lines will be
scanned for recipient addresses. The Bcc: line will be deleted
before transmission.
-oi Do *not* consider a line with only a period to indicate EOT/eof.
34.8.32 IgnoreDots (i):
http://www.diablotin.com/librairie/networking/sendmail/ch34_08.htm
-oem Mail error notification to the sender no matter what
34.8.24
--
Nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers