nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nmh-workers] To: (foo)


From: nmh
Subject: [Nmh-workers] To: (foo)
Date: Sun, 26 Nov 2017 10:42:34 -0600

Consider this 3 line test message:

    From: address@hidden                                                        
                   
    To: (foo)                                                                   
                   
    Bcc: address@hidden           

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]