AW: local_recipient_maps with LDAP

2010-08-31 Thread Marco Rebsamen
Hm, looks like some things changed since I set up the last system. I mean why did it work before ? I guess i buy the newest version of Peer Heinlein's book :-P Anyway, it works now the way I wanted it. Thank you for your patience. -Ursprüngliche Nachricht- Von: owner-postfix-us...@postf

AW: local_recipient_maps with LDAP

2010-08-31 Thread Marco Rebsamen
>> I added all the non-local domains to the parameter virtual_alias_domains >> and set virtual_alias_maps to ldap:/etc/postfix/virtual.cf > Do you understand what virtua alias domains are for? I thought I would... >> I tested it with postmap -q and it worked. > What does "worked" mean? I got the

AW: local_recipient_maps with LDAP

2010-08-31 Thread Marco Rebsamen
Ok I removed that * now from the request an used "mail" as result_attribute. This works now for the local domain but not for the others. I added all the non-local domains to the parameter virtual_alias_domains and set virtual_alias_maps to ldap:/etc/postfix/virtual.cf I tested it with postmap -q

AW: local_recipient_maps with LDAP

2010-08-30 Thread Marco Rebsamen
-Ursprüngliche Nachricht- Von: Victor Duchovni [mailto:victor.ducho...@morganstanley.com] Gesendet: Montag, 30. August 2010 21:18 An: Marco Rebsamen Cc: postfix-users@postfix.org Betreff: Re: local_recipient_maps with LDAP On Mon, Aug 30, 2010 at 08:50:33PM +0200, Marco Rebsamen wrote:

AW: local_recipient_maps with LDAP

2010-08-30 Thread Marco Rebsamen
Ok, I'm really confused about that LDAP lookup stuff :-/ What I want to do is to check if an address to which a message is addressed really exists. I'm currently using this script for local receipient checks: bind_dn = j...@hive.loc bind_pw = server_host = 192.168.8.254 #Global Catalog po

AW: local_recipient_maps with LDAP

2010-08-28 Thread Marco Rebsamen
Ok... I changed some things now... Since this Mailsystem has the fqdn mx-rel.domain1.ch and therefore is set as mydestination, I have to make sure that messages to addresses to domain1.ch are found in the local_recipient_maps. Right ? /etc/postfix/main.cf Local_recipient_maps = ldap:/et