Re: LDAP Email Recipients Query Script - Feedback Appreciated

2009-06-14 Thread Patrick Ben Koetter
* Stefan Förster : > * James Robertson 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>$ER

Re: LDAP Email Recipients Query Script - Feedback Appreciated

2009-06-14 Thread Stefan Förster
* James Robertson 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

LDAP Email Recipients Query Script - Feedback Appreciated

2009-06-14 Thread James Robertson
Hi Postfix Users! I decided to write a bash script for extracting recipients from Windows Active Directory for a Postfix box in front of Exchange. I realise there are other scripts out there but wanted to give it a try myself as part of me learning more about scripting and the command line.