Change dovecot hostname

Tom Sommer mail at tomsommer.dk
Mon Aug 22 14:11:06 UTC 2016


Removing the headers entirely was discussed:

http://dovecot.markmail.org/search/?q=received#query:received+page:1+mid:t4utsjcionjcfwce+state:results

Don't know if it was forgotten for 2.3, but hope not :)

---
Tom

On 2016-08-22 15:14, Scott W. Sander wrote:
> Here are some example headers from an email sent from an internal 
> Exchange
> account to an account on Dovecot (user at domain.test):
> 
> -------
> 
> Received: from mail.domain.test
>     by appserver4.domain.com (Dovecot) with LMTP id 
> z7RGLzH4uldlPAAAxdv4Dw
>     for <user at domain.test>; Mon, 22 Aug 2016 09:03:45 -0400
> Received: from mail.domain.com (exchangefe1.domain.com [10.1.0.225])
>     (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
>     (No client certificate requested)
>     by mail.domain.test (Postfix) with ESMTPS id BEB1B200C4
>     for <user at domain.test>; Mon, 22 Aug 2016 09:03:45 -0400 (EDT)
> Received: from exchangebe2.domain.com
>  ([fe80::31cb:366e:5ce0:a40c]) by exchangefe1.domain.com ([::1])
>  with mapi id 14.03.0294.000; Mon, 22 Aug 2016 09:03:46 -0400
> 
> -------
> 
> I want the part that says "by appserver4.domain.com (Dovecot)" to say 
> "by
> mail.domain.test (Dovecot)".  I don't want it to say the FQDN of the 
> actual
> host server that is running Dovecot.
> 
> The server currently referenced as "mail.domain.test" in the headers is
> postfix running on the same machine.
> 
> Thanks in advance!
> 
> On Fri, Aug 19, 2016 at 7:11 PM Joseph Tam <jtam.home at gmail.com> wrote:
> 
>> "Scott W. Sander" writes:
>> 
>> > I have noticed that the name of my private server running dovecot appears
>> > in email headers rather than the public-friendly name of my server.
>> 
>> Which headers are you taking about?
>> 
>> If you're talking about Received: headers, that's usually inserted by
>> your MTA, not dovecot.
>> 
>> Joseph Tam <jtam.home at gmail.com>
>> 


More information about the dovecot mailing list