If you only need primary email addresses, you can run this on your Exchange server, filling in the domain and com values:
csvde -r "(mail=*)" -d "dc=domain,dc=com" -l mail -f c:\gal.csv
To get secondary email addresses, its a bit trickier. You can use this to generate a file:
ldifde -f c:\dump.ldf -l proxyaddresses
Found a method to extract the email addresses from the LDF file here: http://bytes.com/topic/unix/answers/648158-extract-email-addresses-big-file
If you have access to perl within Windows, make a perl file that contains this:
while (<STDIN>) { while (/[\w\.\-]+@[\w\.\-]+\w+/g) {print "$&\n"}}
Then run this command:
perl ExtractEmail.pl <dump.ldf >out.txt
Out.txt should contain all your email addresses.
Копипаст: http://serverfault.com/questions/207574/how-to-export-all-e-mail-addresses-from-exchange-2003
Понравилось? =) Поделись с друзьями: