Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: CC with sendmail?

by pryrt (Prior)
on Mar 23, 2020 at 01:27 UTC ( #11114555=note: print w/replies, xml ) Need Help??

in reply to CC with sendmail?

Did you look at rfc822 4.1, where it shows all lower case for cc: and bcc: ?

Replies are listed 'Best First'.
Re^2: CC with sendmail?
by haukex (Chancellor) on Mar 23, 2020 at 07:39 UTC
    Did you look at rfc822 4.1, where it shows all lower case for cc: and bcc: ?

    The same RFC also has section 3.4.7. CASE INDEPENDENCE, which says:

    When matching any other syntactic unit, case is to be ignored. For example, the field-names "From", "FROM", "from", and even "FroM" are semantically equal and should all be treated identically.
      Sorry, it's been 15+ years since I last used sendmail directly. :-)

      In skimming the rfc, I thought that

      The only syntactic units which requires preservation of case information are: text, qtext, ..., quoted-pair, ...
      implied that it was case sensitive, because quoted-string quoted-string = <"> *(qtext/quoted-pair) <"> includes quoted-pair, and "cc" was defined with quotes, so I assumed it was quoted-string, and thus required case sensitivity. Plus every instance of `cc:` in the rfc was all lower-case. But if `"From"` is explicitly not in that exception, and `"From"` and `"cc"` are defined with similar syntax, I obviously mis-remembered how to interpret those.

      And, after reading the rest of the replies, it's now readily apparent that the sendmail problem was really not specifying the other recipients where sendmail wants them, and the perl problem was not using a modern mail-sending module that are the root causes of the problem. :-) Thanks for the correction.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11114555]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2020-06-06 14:32 GMT
Find Nodes?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?

    Results (41 votes). Check out past polls.