In sendlib.c, there is a variable named "privacy".

* privacy != 0 => will omit any headers which may identify the user.
*               Output generated is suitable for being sent through
*               anonymous remailer chains.

https://dev.mutt.org/hg/mutt/file/tip/sendlib.c#l1933

if (mode == 0 && !privacy && option (OPTXMAILER) && !has_agent)
{
  /* Add a vanity header */
  fprintf (fp, "User-Agent: Mutt/%s (%s)\n", MUTT_VERSION, ReleaseDate);
}

https://dev.mutt.org/hg/mutt/file/tip/sendlib.c#l2072

My C is bad.

1. Does that mean that if "privacy" is set, the "User-Agent:" header is not set?

2. Does "privacy" do anything else?

3. I can't find "privacy" anywhere else in the repository and the documentation. Is this on purpose? Or was it somehow forgotten and we should document it?

Thanks, and keep up the good work!

--
ilf

Über 80 Millionen Deutsche benutzen keine Konsole. Klick dich nicht weg!
                -- Eine Initiative des Bundesamtes für Tastaturbenutzung

Attachment: signature.asc
Description: PGP signature

Reply via email to