Re: Postfix and LDAP lookups

2012-04-10 Thread lst_hoe02
Zitat von Igmar Palsenberg : alias_maps = ldap:/etc/postfix/ldap-aliases.cf virtual_alias_maps = ldap:/etc/postfix/ldap-virtual.cf virtual_alias_domains = $virtual_alias_maps The virtual_alias_domains probably does a lookup in 'jdi.nl'. That isn't directly in the map. Crap. As others sa

Re: Postfix and LDAP lookups

2012-04-10 Thread /dev/rob0
On Tue, Apr 10, 2012 at 03:20:23PM +0200, Igmar Palsenberg wrote: > > >> alias_maps = ldap:/etc/postfix/ldap-aliases.cf > >> virtual_alias_maps = ldap:/etc/postfix/ldap-virtual.cf > >> virtual_alias_domains = $virtual_alias_maps > > The virtual_alias_domains probably does a lookup in 'jdi.nl'. Th

Re: Postfix and LDAP lookups

2012-04-10 Thread Wietse Venema
Igmar Palsenberg: > Is there a way to let postfix actually log the map lookups it does > ? I've got debug_peer_level = 10 and a debug_peer_list set to the > testmachine, but that gave me little to go on. Logging the actual > map > lookups would be a very good starting point to debug this setup. I c

Re: Postfix and LDAP lookups

2012-04-10 Thread Igmar Palsenberg
>> alias_maps = ldap:/etc/postfix/ldap-aliases.cf >> virtual_alias_maps = ldap:/etc/postfix/ldap-virtual.cf >> virtual_alias_domains = $virtual_alias_maps The virtual_alias_domains probably does a lookup in 'jdi.nl'. That isn't directly in the map. Crap. > > Looks like you are using virtual a

Re: Postfix and LDAP lookups

2012-04-10 Thread Wietse Venema
>so far so good. Postfix however, doesn't seem to like this setup : >It keeps boun cing them with a relaying denied. In that case, you forgot to list the domain name in mydestination, virtual_alias_domains or virtual_mailbox_domains. Make your pick: http://www.postfix.org/ADDRESS_CLASS_README.ht

Re: Postfix and LDAP lookups

2012-04-10 Thread lst_hoe02
Zitat von Igmar Palsenberg : Hi, I'm attempting to migrate from sendmail to Postfix + LDAP, so bare with me, I'm an sendmail user :) I've migrated the live user database into LDAP, and added my own e-mail addresses to my LDAP entry : dn: uid=igmar,ou=employee,dc=jdi,dc=nl objectClass: a

Re: Postfix and LDAP lookups

2012-04-10 Thread Ansgar Wiechers
On 2012-04-10 Igmar Palsenberg wrote: > Anyone with a suggestion on how to start debugging this ? You received the following link with the welcome message when you subscribed to this list: http://www.postfix.org/DEBUG_README.html#mail Regards Ansgar Wiechers -- "Abstractions save us time workin

Postfix and LDAP lookups

2012-04-10 Thread Igmar Palsenberg
Hi, I'm attempting to migrate from sendmail to Postfix + LDAP, so bare with me, I'm an sendmail user :) I've migrated the live user database into LDAP, and added my own e-mail addresses to my LDAP entry : dn: uid=igmar,ou=employee,dc=jdi,dc=nl objectClass: account objectClass: posixAccount ob

Re: Postfix and ldap lookups

2009-01-20 Thread Victor Duchovni
On Tue, Jan 20, 2009 at 02:43:03PM +0100, Emmanuel Lesouef wrote: > > > The problem is that when postfix receives/sends an email, it does a > > > lookup in our LDAP proxy to get postfix's group and uid. This > > > definitely ends up with a "0 entries found" which is not a problem > > > because /et

Re: Postfix and ldap lookups

2009-01-20 Thread Emmanuel Lesouef
Le Tue, 20 Jan 2009 06:40:57 -0500 (EST), wie...@porcupine.org (Wietse Venema) a écrit : > Emmanuel Lesouef: > > Hi, > > > > I don't really know if this is the good mailing-list but this is > > definitely postfix related. > > > > On some of our servers, we use postfix as our MX and smtp relay. >

Re: Postfix and ldap lookups

2009-01-20 Thread Wietse Venema
Emmanuel Lesouef: > Hi, > > I don't really know if this is the good mailing-list but this is > definitely postfix related. > > On some of our servers, we use postfix as our MX and smtp relay. > > On these servers, we use ldap authentication for our posix users. > > The problem is that when post

Postfix and ldap lookups

2009-01-20 Thread Emmanuel Lesouef
Hi, I don't really know if this is the good mailing-list but this is definitely postfix related. On some of our servers, we use postfix as our MX and smtp relay. On these servers, we use ldap authentication for our posix users. The problem is that when postfix receives/sends an email, it does a