F=B

Strip one leading backslash V8.13 and later

The F=s delivery-agent flag (F=s on page 779) causes sendmail to dequote the recipient’s address before passing it to the selected delivery agent. Dequoting causes all quotation marks (“) and all leading backslashes (\) to be removed. But when a lighter touch is needed, you may use this F=B flag instead, which just removes all leading backslashes. For example:

"\\\user"@relayhost    with F=s becomes
    user@relayhost
"\\\user"@relayhost    with F=B becomes
   "user"@relayhost

Note that because F=B is a subset of F=s, we discourage you from using both flags at the same time.

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.