Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Postfix Multiple hostname

1,435 views
Skip to first unread message

jross

unread,
Sep 22, 2009, 2:32:48 AM9/22/09
to
Hi all,

Is it possible to have two hostnames configured with postfix on the on
mail server?

For Example I need to be able to send an email to xxx.mydomain.com and
xxx.ourdomain.com to the same mail server.

Martin Gregorie

unread,
Sep 22, 2009, 9:30:56 AM9/22/09
to

Why not?

Just set each domain to forward mail to the one server, which could be in
a third domain if you wanted.

--
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |

Arnold Nipper

unread,
Sep 22, 2009, 3:40:25 PM9/22/09
to
On 22.09.2009 08:32 jross wrote


http://www.postfix.org/postconf.5.html#mydestination might be what you
are looking for.

HTH, Arnold
--
Arnold Nipper, AN45

jross

unread,
Sep 22, 2009, 7:37:22 PM9/22/09
to

Setting the myhostname to the first domain name

< myhostname = xx.mydomain.com >

and then setting mydestination to the second domain

< mydestination = $myhostname, localhost.$mydomain, localhost,
xxx.ourdomain.com >

Seems to have worked

Thanks Guys

0 new messages