|
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: Parkhaev Vladimir (vladimir
teleglobe.ca)Date: Sat Mar 04 2000 - 09:34:29 CST
- Next message: Wietse Venema: "Re: Is this possible with postfix?"
- Previous message: Brad Knowles: "Re: Some questions on postfix, SUMMARY"
- In reply to: Wietse Venema: "Re: Is this possible with postfix?"
- Next in thread: Wietse Venema: "Re: Is this possible with postfix?"
- Reply: Parkhaev Vladimir: "Re: Is this possible with postfix?"
- Reply: Wietse Venema: "Re: Is this possible with postfix?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, 3 Mar 2000, Wietse Venema wrote:
<lots of text deleted>
>
> The simplest fix for this is to ditch the relayhost entry and
> to use a regexp-style transport map:
>
> /etc/postfix/transport.regexp:
> /([^
]*\.my\.domain)$/ smtp:$1
> /./ smtp:relayhost
>
> this delivers internal mail directly, and everything else via
> the relayhost. If you have done the evil thing of setting up
> a wild-card MX record for my.domain, then you must specify
> the host in [] on the right-hand side of the transport map.
>
> Wietse
>
That did not work. However,
/etc/postfix/transport.regexp:
/./!/my\.domain$/ smtp:[IP addr of relayhost]
Does exactly what I want. Tnanks a lot, Wietse.
------------------------------------------------------------------
Vladimir Parkhaev, System Administrator, Teleglobe Canada
vladimir
Teleglobe.CA, 514-868-7823(Ph), 514-868-8357(Fax)
1441 Carrie-Derick, Montreal, Que, Canada H3C 4S9
- Next message: Wietse Venema: "Re: Is this possible with postfix?"
- Previous message: Brad Knowles: "Re: Some questions on postfix, SUMMARY"
- In reply to: Wietse Venema: "Re: Is this possible with postfix?"
- Next in thread: Wietse Venema: "Re: Is this possible with postfix?"
- Reply: Parkhaev Vladimir: "Re: Is this possible with postfix?"
- Reply: Wietse Venema: "Re: Is this possible with postfix?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]