On Fri, Feb 20, 2009 at 02:58:49PM +0200, Aggelos wrote:
> I have the following question concerning setup for multiple domains on
> the same host machine:
> 
> Let us say that in /etc/postfix/main.cf we have the following:
> mydestination = a.domain.com, b.domain.com, c.domain.com
> 
> We have setup DNS so that all mx records for the above domains resolve
> to our host's ip address.
> 
> We would like postfix, when contacted as one of the above domains, to
> reply to the helo smtp directive, with its respective x.domain.com name.
> 
This is not possible. See RFC 821 or RFC 5321. SMTP does not send host 
headers like HTTP/1.1, and the RFC mandates the use of the canonical name
of the server in the greeting.

Devdas Bhagat

Reply via email to