|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: Is this possible with postfix?
From: Lars Hecking (lhecking
nmrc.ucc.ie)Date: Fri Mar 03 2000 - 14:29:04 CST
- Next message: Wietse Venema: "Re: Some questions on postfix, SUMMARY"
- Previous message: Matthew Hagerty: "Is this possible with postfix?"
- In reply to: Matthew Hagerty: "Is this possible with postfix?"
- Next in thread: Wietse Venema: "Re: Is this possible with postfix?"
- Reply: Lars Hecking: "Re: Is this possible with postfix?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Matthew Hagerty writes:
> Greetings,
>
> Is it possible to accomplish a configuration like this with postfix:
>
> +--------+ +----------+ +----------+
> Internet ---->| Public |---->| Internal |---->| Internal |
> <----| SMTP |<----| SMTP |<----| Client |
> +--------+ +----------+ +----------+
>
> The Public SMTP server is MXed as the email host for my.domain. All email
> from the Internet comes in through this host and is forwarded to the
> internal SMTP host for delivery. All internal clients use the internal
> SMTP server for incoming and outgoing email. The internal SMTP server
> should forward all outgoing email to the Public SMTP server for delivery.
>
> I thought I could do this with a transport map on the Public server
> pointing to the internal SMTP server and vice versa, a transport map on the
> internal SMTP server pointing to the Public SMTP server. But what I really
> got was a big mail loop. I seems the transport map looks at both incoming
> and outgoing email?
Yes, that's right. But, if I understand transport(5) correctly,
it operates on the recipient domain (destination) only.
> Any suggestions on how I could do this would be greatly appreciated.
I basically have the same setup here.
On the internal smtp host, I set relayhost (in main.cf) to the name of
the external host. relayhost is the default host when no entry in the
transport table matches (and I'm not using a transport table on the
internal).
relayhost = external.nmrc.ucc.ie
On the external host, I'm using a transport map.
transport_maps = hash:/etc/postfix/transport (main.cf)
nmrc.ucc.ie :internal.nmrc.ucc.ie (/etc/postfix/transport)
If you accept mail for more than one domain, you need more entries,
of course.
- Next message: Wietse Venema: "Re: Some questions on postfix, SUMMARY"
- Previous message: Matthew Hagerty: "Is this possible with postfix?"
- In reply to: Matthew Hagerty: "Is this possible with postfix?"
- Next in thread: Wietse Venema: "Re: Is this possible with postfix?"
- Reply: Lars Hecking: "Re: Is this possible with postfix?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]