|
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: Wietse Venema (wietse
porcupine.org)Date: Sun Mar 05 2000 - 13:01:36 CST
- Next message: Justin Robertson: "Re: SCSI, U2W in particular?, and poor performance..."
- Previous message: Wietse Venema: "Re: SCSI, U2W in particular?, and poor performance..."
- In reply to: Parkhaev Vladimir: "Re: Is this possible with postfix?"
- Next in thread: Parkhaev Vladimir: "Re: Is this possible with postfix?"
- Reply: Wietse Venema: "Re: Is this possible with postfix?"
- Reply: Parkhaev Vladimir: "Re: Is this possible with postfix?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Parkhaev Vladimir:
> You right, I had pl2 on this box. I upgrdaded three other to pl4 but not this
> one. Upgrading to pl4 did the trick for 'Name service error for domain
> postmaster' error. However,
> transport.regexp:
> /./!/mydomain\.com$/ smtp:[111.222.33.44] works fine but
> /./!/[
.]mydomain\.com$/ smtp:[111.222.33.44]
> sends _everything_ to 111.222.33.44.
>
> Any ideas why? Thanks.
Doh! Transport maps look at domain names only. I was confusing the
present transport maps withtheir future version that will do
user
domain addresses.
OK, so what you need is:
/./!/^(.*\.)?mydomain\.com$/ smtp:[111.222.33.44]
That matches the string "mydomain.com" as well as "foo.mydomain.com"
or "foo.bar.mydomain.com".
This took a lot of iterations. Hope it is right this time.
Wietse
- Next message: Justin Robertson: "Re: SCSI, U2W in particular?, and poor performance..."
- Previous message: Wietse Venema: "Re: SCSI, U2W in particular?, and poor performance..."
- In reply to: Parkhaev Vladimir: "Re: Is this possible with postfix?"
- Next in thread: Parkhaev Vladimir: "Re: Is this possible with postfix?"
- Reply: Wietse Venema: "Re: Is this possible with postfix?"
- Reply: Parkhaev Vladimir: "Re: Is this possible with postfix?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]