On Fri, 2009-02-20 at 08:13 -0500, Wietse Venema wrote:
> Aggelos:
> > 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.
> > 
> > ...e.g. like this:
> > 
> >  $ telnet a.domain.com 25
> > Trying xx.xx.xx.xxx...
> > Connected to a.domain.com.
> > Escape character is '^]'.
> > 220 a.domain.com ESMTP
> > helo from me
> > 250 a.domain.com
> > 
> > ...but if contacted as b.domain.com:
> > 
> > $ telnet b.domain.com 25
> > Trying xx.xx.xx.xxx...
> > Connected to b.domain.com.
> > Escape character is '^]'.
> > 220 b.domain.com ESMTP
> > helo from me
> > 250 b.domain.com
> > 
> > Is this possible to setup, with one host ip address?
> 
> Which Internet protocol layer is responsible for sending the server's
> hostname from the SMTP client host to the SMTP server host, and
> how would the SMTP server process retrieve this information?
> 
>       Wietse
> 
What are you talking about? Are you referencing? The layers or sublayers
of TCP/IP or OCI - AFAIR there was not an 'internet protocol layer'. On
top of this SMTP would be a application layer protocol the last time I
looked - but feel free to be a (somewhat incorrect) pedant at your
leisure.


Reply via email to