F=h

Preserve uppercase in hostname All versions

Some delivery agents, such as those that deal with files, require that the recipient’s hostname be left as is. The hostname portion of the recipient’s address is ordinarily converted to lowercase before being tucked into $h. Specifying the F=h delivery agent flag tells sendmail to not convert that address to lowercase.[295]

The $h sendmail macro ($h on page 825) is usually used with the A= delivery agent equate of a delivery agent. For example:

Muucp, P=/usr/bin/uux, F=msDFMhuU, A=uux - -r $h!rmail ($u)
                              ↑
                            note

Here, the h in F=msDFMhuU tells sendmail to leave the $h alone and not to convert the hostname in that sendmail macro to lowercase.

[295] * This delivery agent flag was added specifically to handle the UUCP host named Shasta at Stanford University.

Get sendmail, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.