I found the script here: http://www-personal.umich.edu/~malth/gaptuning/postfix/getadsmtp.pl
and it works perfectly. - Martin On Wed, Apr 15, 2009 at 11:00 AM, Benedict White <benedict.wh...@cse-ltd.co.uk> wrote: > > > ________________________________________ > From: owner-postfix-us...@postfix.org [owner-postfix-us...@postfix.org] On > Behalf Of Martin Schiøtz [mali...@gmail.com] > Sent: 15 April 2009 09:55 > To: postfix-users@postfix.org > Subject: Re: reject > > Perfect - now postfix rejects with this reason: > > 550 550 5.1.1 <no.such.u...@example.com>: Recipient address rejected: > User unknown in relay recipient table (state 14). > > Thanks :-) > Martin > > > On Tue, Apr 14, 2009 at 3:47 PM, Ralf Hildebrandt > <ralf.hildebra...@charite.de> wrote: >> * Martin Schiøtz <mali...@gmail.com>: >>> Hi >>> >>> I have made a spamfilter server based on Postfix and MailScanner. I >>> wan't postfix to reject emails to email-addresses that does not exist >>> on our exchange server. I use a nice perl script that collects the >>> email-addresses from Exchange AD with LDAP. >>> > > Could you share the perl script at all? > > It could come in very handy. > > Kind regards > > > Benedict White >