|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
RE: multiple destinations
From: Adam Clark (adam.clark
ngv.vic.gov.au)
Date: Thu Apr 01 2004 - 17:21:37 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thanks, will give it a go
Adam
-----Original Message-----
From: owner-postfix-users
postfix.org
[mailto:owner-postfix-users
postfix.org] On Behalf Of
Victor.Duchovni
morganstanley.com
Sent: Friday, 2 April 2004 1:27 AM
To: Postfix Users List
Subject: RE: multiple destinations
On Thu, 1 Apr 2004, Adam Clark wrote:
> The new postfix will contain no local mailboxes. Eventually all mail
> will go to The exchange box, but during our transision period we need
> to see if the user Exists on the exchange box, if it doesn't, attepmts
> deliveries to our old postfix Box.
What do you mean by "see if"? Do you mean an active check of some sort
This requires a table, and transport should do the job just fine.
exchange_user1
>
> Currently, .forwards to person
mail.internal.domain, so we could do it
> this way But its kinda messy. I had a look through the ldap
> documentation to see what it Can do. I may be able to make a script
> that looks at our exchange box Grabs the entire catalog of mail
> addresses then creates a hash file with a catch All at the bottom to
> route off to old box.
>
Or you can query the Exchange LDAP server live:
transport_maps = ldap:AD, hash:/etc/postfix/transport
AD_server_host = ...
AD_server_port = 389
AD_bind_dn = ...,dc=domain,dc=tld
AD_bind_pw = bind_dn's_passwd
AD_version = 3
AD_query_filter = proxyAddresses=smtp:%s
# Any single valued attribute that is never missing will do
AD_result_attribute = sAMAccountName
AD_result_filter = smtp:[bridgehead.example.com]
Then in /etc/postfix/transport just map the entire domain to the old
Postfix server.
--
Viktor.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]