Re: [PATCH] Generate Message-IDs from sender address
On 2006-09-26 15:39:22 +0100, Gary Benson wrote:
> Vincent Lefevre wrote:
> > In general, this is incorrect as the domain part of the sender
> > address doesn't necessarily identifies the machine; this means
> > that duplicate Message-IDs could be generated. The best solution
> > is to take the FQDN of the machine, but isn't this what Mutt
> > currently does?
>
> Possibly, though I have "set hostname=inauspicious.org" in my
> .muttrc which overrides it.
You shouldn't do that. I think you should probably do something like:
set hostname=yourmachine.inauspicious.org
set hidden_host
so that local e-mail addresses end with "inauspicious.org", but
message-ids still have the FQDN yourmachine.inauspicious.org.
Indeed, the manual says:
3.69. hidden_host
Type: boolean
Default: no
When set, mutt will skip the host name part of ``[1105]$hostname''
variable when adding the domain part to addresses. This variable does
not affect the generation of Message-IDs, and it will not lead to the
cut-off of first-level domains.
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)