<<< Date Index >>>     <<< Thread Index >>>

Re: [PATCH] Generate Message-IDs from sender address



Vincent Lefevre wrote:
> On 2006-09-26 14:53:18 +0100, Gary Benson wrote:
> > I have several accounts that end up in one mailbox, and when
> > replying to messages I usually set the "From:" address so I'm
> > replying from whatever address the original message was sent to.
> > While this changes the sender, I noticed that my Message-IDs
> > always contain inauspicious.org regardless of the domain I'm
> > sending from, so I wrote this little patch to make it take the
> > domain part of the Message-ID from the sender address.  I don't
> > know if this is useful for anyone else, but if it is then have
> > it :)  It's based on 1.4.2.1 but it seems to work on the latest
> > CVS too.
> 
> 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.

Cheers,
Gary