Re: different results using hash vs ldap for virtual domain lookup

2011-05-27 Thread Victor Duchovni
On Thu, May 26, 2011 at 04:54:49PM -0700, Stephen Ingram wrote: > >> May 26 14:49:04 smtp postfix/error[5684]: C5DB2CC056C: > >> to=, orig_to=, relay=none, > >> delay=0.16, delays=0.13/0.01/0/0.0, dsn=5.0.0, status=bounced (User > >> unknown in virtual alias table) > > > > The domain "penumbra.us"

Re: different results using hash vs ldap for virtual domain lookup

2011-05-26 Thread Stephen Ingram
On Thu, May 26, 2011 at 4:31 PM, Victor Duchovni wrote: > On Thu, May 26, 2011 at 04:19:56PM -0700, Stephen Ingram wrote: > >> Agreed. Here is the postfix log for when the ldap table is used: >> >> May 26 14:48:46 smtp postfix/smtpd[5653]: E8EB7CC056A: >> client=terrapin.penumbra.us[192.168.17.42]

Re: different results using hash vs ldap for virtual domain lookup

2011-05-26 Thread Victor Duchovni
On Thu, May 26, 2011 at 04:19:56PM -0700, Stephen Ingram wrote: > Agreed. Here is the postfix log for when the ldap table is used: > > May 26 14:48:46 smtp postfix/smtpd[5653]: E8EB7CC056A: > client=terrapin.penumbra.us[192.168.17.42] > May 26 14:48:59 smtp postfix/cleanup[5663]: E8EB7CC056A: > m

Re: different results using hash vs ldap for virtual domain lookup

2011-05-26 Thread Stephen Ingram
On Thu, May 26, 2011 at 2:18 PM, Victor Duchovni wrote: > On Thu, May 26, 2011 at 02:14:20PM -0700, Stephen Ingram wrote: > >> 4test.net     4test.net >> >> thinking that the right side doesn't matter. Postfix is just looking >> for the presence of the domain, no? >> >> For the ldap lookup, postfi

Re: different results using hash vs ldap for virtual domain lookup

2011-05-26 Thread Victor Duchovni
On Thu, May 26, 2011 at 02:14:20PM -0700, Stephen Ingram wrote: > 4test.net 4test.net > > thinking that the right side doesn't matter. Postfix is just looking > for the presence of the domain, no? > > For the ldap lookup, postfix is looking for 4test.net for which the > query results in the

Re: different results using hash vs ldap for virtual domain lookup

2011-05-26 Thread Stephen Ingram
On Thu, May 26, 2011 at 1:43 PM, Victor Duchovni wrote: > On Thu, May 26, 2011 at 01:27:24PM -0700, Stephen Ingram wrote: > >> >> I receive an error "User unknown in virtual alias table" >> >> and the mail is bounced. >> > >> > Likely the LDAP table incorrectly returns results that don't depend >>

Re: different results using hash vs ldap for virtual domain lookup

2011-05-26 Thread Victor Duchovni
On Thu, May 26, 2011 at 01:27:24PM -0700, Stephen Ingram wrote: > >> I receive an error "User unknown in virtual alias table" > >> and the mail is bounced. > > > > Likely the LDAP table incorrectly returns results that don't depend > > on the lookup key, or for additional unintended lookup keys. >

Re: different results using hash vs ldap for virtual domain lookup

2011-05-26 Thread Stephen Ingram
On Thu, May 26, 2011 at 1:17 PM, Victor Duchovni wrote: > On Thu, May 26, 2011 at 01:05:47PM -0700, Stephen Ingram wrote: > >> I'm using postfix 2.3.3 on CentOS 5.3 and have experienced differing >> results depending on how I have postfix lookup the virtual domains >> hosted by postfix. >> >> Firs

Re: different results using hash vs ldap for virtual domain lookup

2011-05-26 Thread Victor Duchovni
On Thu, May 26, 2011 at 01:05:47PM -0700, Stephen Ingram wrote: > I'm using postfix 2.3.3 on CentOS 5.3 and have experienced differing > results depending on how I have postfix lookup the virtual domains > hosted by postfix. > > First, for virtual_alias_domains lookup: > > postmap -q 4test.net h

different results using hash vs ldap for virtual domain lookup

2011-05-26 Thread Stephen Ingram
I'm using postfix 2.3.3 on CentOS 5.3 and have experienced differing results depending on how I have postfix lookup the virtual domains hosted by postfix. First, for virtual_alias_domains lookup: postmap -q 4test.net hash:/etc/postfix/domains postmap -q 4test.net ldap:/etc/postfix/domains both y