|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Victor Duchovni (Victor.Duchovni
morganstanley.com)
Date: Thu Apr 03 2008 - 15:32:31 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Apr 03, 2008 at 09:21:58PM +0200, Jevos, Peter wrote:
> It looks interesting. So in my case would it be?
>
> #main.cf
> relay_recipients = ldap:/etc/postfix/relay-recipients.cf
>
> And file relay_recipients would be:
>
> server_host = ldap.example.com
> server_port = 3268
> search_base = dc=domain dc=com
> query_filter = proxyaddresses = smtp:%s
> result_attribute = mail
> scope = sub
> bind_dn = username
> bind_pw = pwd
Yes provided, LDAP is really AD, or uses an AD compatible schema, where
email addresses of mailboxes are stored as:
proxyAddresses = <protocol>:<address>
and for SMTP specifically as (<> for <italics> not literally present):
proxyAddresses = smtp:<address>
otherwise adjust the query to meet your actual schema.
--
Viktor.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomo
postfix.org?body=unsubscribe%20postfix-users>
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]