On 2011-06-01 Len Conrad wrote: > At 04:48 PM 6/1/2011, you wrote: >> On 2011-06-01 Shawn Heisey wrote: >>> I do the first option by running a script on the exchange server every >>> 15 minutes, then grabbing the result five minutes later from the mail >>> relays. It does some sanity checks before replacing relay_recipients >>> and postmapping it. >>> >>> The Windows side (Exchange 2010 on 2008R2) of the process consists of >>> VBScript to grab the info from AD, which then runs a perl script to >>> clean up the file. >> >> What for? You can easily do all the cleaning with VBScript. > > I've been using this one for a couple years: > > <http://www-personal.umich.edu/~malth/gaptuning/postfix/getadsmtp.pl>http://www-personal.umich.edu/~malth/gaptuning/postfix/getadsmtp.pl > > > awk to format it to a two-field ";" delimited file, and then mysqlimport
I'm aware that this can be done in Perl. I just don't see any point in using VBScript to extract the data, and then switching to Perl for further processing. I also don't see any point in using awk to transform the output of a Perl script, BTW. Regards Ansgar Wiechers -- "Abstractions save us time working, but they don't save us time learning." --Joel Spolsky