Multiple IPs and hostname

Noel noeldude at gmail.com
Fri Dec 18 17:43:25 UTC 2015


On 12/18/2015 12:19 AM, Thilo Engelbracht wrote:
> Am 17.12.2015 um 16:16 schrieb Noel <noeldude at gmail.com>:
>
>> On 12/17/2015 11:51 AM, Thilo Engelbracht wrote:
>>> But my customer asks me if it's possible that only his domain is visible
>>> in the header:
>>> So, if somebody sends a mail to "user at foo1.com", only the hostname
>>> "mail.foo1.com" should be visible in the mail header.
>>> And if somebody sends a mail to "user at foo2.com", only the hostname
>>> "mail.foo2.com" should be visible in the mail header.
>>>
>>>
>>> Is there a way to do this?
>>
>> The solution is to use multiple postfix instances rather than adding
>> lines to master.cf.
>> http://www.postfix.org/MULTI_INSTANCE_README.html
> Hi Noel,
>
> I already configured postfix with multiple instances. It works fine!
> The problem is that DOVECOT adds a header line with the "normal"
> hostname 


The problem is you're using the same "normal" IP to connect to
dovecot.  Each postfix instance needs its own lmtp_bind_address and
its own internal IP to connect to dovecot.   Sorry I didn't make
that clear earlier.


  -- Noel Jones


More information about the dovecot mailing list