Re: Outgoing hostname
- Simon L Jackson wrote:
> Jorey Bump wrote:then don't forget to configure rDNS so that the IPs are resolved to
>> Simon L Jackson wrote:
>>> Simon L Jackson wrote:
>>>> Simon L Jackson wrote:
>>>>> I want to make the outbound hostname match the virtual domain MX
>> Can you explain why you want to do this? There is no required
>> relationship between a domain's MX host and the host used to relay
>> outbound messages from that domain.
> Various factors including:
> - Users associated with a specific domain use the primary MX as their
> SMTP/POP3/IMAP server. We want the outgoing email to be directly
> associated with their domain (we provide email for many domains)
"their" domain (This is what would appear in the Received headers added
by the next MTA)
> - We want to use the simplicity of SPF MX, that is outbound emailuse sender-dependent relay hosts to forward mail to the customer
> comes from the inbound mail servers.
> - We want to completely hide the underlying server(s) and have each
> virtual domain appear completely separate.
> - We need to be able to move a virtual domain from one mail server to
> another quickly and without DNS changes.
> - We have lots of IP addresses available for mail services. (In fact
> we also use a separate IP address for every web site to remove any
> possible association between web sites and for other purposes.)
> We now have the separate instances working OK.
> However, something like smtp_bind_address_by_sender_maps would be the
> best for us as it would allow specific outbound IP addresses to be
> used based on the senders address. This would allow a more or less
> unlimited number of fully separated virtual domains without having to
> resort to separate instances.
instance, and configure this instance smtp bind address to use the right IP.