>
>Passive is typically used so AD does not get hammered. Fortunately you
>can (and should) configure Exchange 2003 to reject mail to invalid
>users. I have not done this myself, but this might be the way to do
>it:
>

I second the passive method. There\'s a convenient Perl script that queries 
your AD and converts the data to a recipient list needed by postfix.

http://www-personal.umich.edu/~malth/gaptuning/postfix/

We\'re running postfix/ amavisd-new on an email-gateway that relays mail to 
several backend mail-servers [postfix/openLDAP, Exchange/AD]. That\'s why we 
are using a mixture of active LDAP queries for Linux based users and passive 
queries for Windows based users.

To query multiple Exchange/ AD servers we are using multiple instances of the 
script that drops the output into different files within the postfix directory 
[ad_relay_recipients_...]. You only need to modify the perl script slightly to 
achive this. The corresponding \"relay_recipient_maps\" config looks as follows:

relay_recipient_maps = hash:/etc/postfix/ad_relay_recipients_<server01>, 
hash:/etc/postfix/ad_relay_recipients_<server02>, ldap:ldap.relay

A cronjob calls each perl script separately like 
34 3 * * * root /usr/local/sbin/postfix.get_relay_recipients_from_<server01>; 
/usr/sbin/postmap /etc/postfix/ad_relay_recipients_<server01>

You don\'t need to restart postfix, because it rereads the database files if 
they\'re changed. 


Cheers,

Christian

===========================================================
Christian Rost
roCon - Informationstechnologie
Glatzer Weg 4

44534 Lünen

fon: +49 (0) 2306 910 658
fax: +49 (0) 2306 910 664
url: http://www.rocon-it.de



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to