* James Robertson <j...@mesrobertson.com> wrote:
> I decided to write a bash script for extracting recipients from Windows
> Active Directory for a Postfix box in front of Exchange.
[...]
>   $LDAPSEARCH -x -h $LDAPHOST -D $LDAPUSER -w $LDAPPASS -b $LDAPBASE \
>   '(proxyAddresses=*)' 2>$ERRORLOG | $GREP -f $RELAYDOMAINS | $GREP -Fi

While this will almost certainly work for smaller networks, you are in
serious trouble if you have more than 1000 recipients. To work around
this issue from the Linux side, consider using "-E pr=100/(no)prompt".
As for the Exchange side, I really don't know, but I know for sure
that there is a LDAP protocol settings dialogue in the Exchange server
administration GUI. Perhaps someone else can shed some light on this
one.


Ciao
Stefan
-- 
Stefan Förster     http://www.incertum.net/     Public Key: 0xBBE2A9E9
FdI #54: Jetzt mit neuem, umfangreichem Softwarepaket. - Treiber liegt bei.
(Kristian Köhntopp)

Reply via email to