Re: ldap_table works and doesn't...

2014-08-21 Thread Marek Kozlowski
On 08/21/2014 02:03 PM, Wietse Venema wrote: > Marek Kozlowski: >> Why didn't I have such error during the `RCPT TO:' phase? Why did it >> "partially" worked - solved and continued to the `DATA' phase not failed >> at all? > > That works "by accident" and is not promised by any documentation, > th

Re: ldap_table works and doesn't...

2014-08-21 Thread Wietse Venema
Marek Kozlowski: > Why didn't I have such error during the `RCPT TO:' phase? Why did it > "partially" worked - solved and continued to the `DATA' phase not failed > at all? That works "by accident" and is not promised by any documentation, therefore you should not rely on it. Wietse

Re: ldap_table works and doesn't...

2014-08-21 Thread Marek Kozlowski
:-) > The documented lookup key for local aliases(5) in the local(8) > delivery agent is the bare localpart of the address "m.kozlowski" > not "m.kozlow...@poczta.mini.pw.edu.pl". > > You're likely to have more luck with LDAP-based address to address > rewriting via virtual_alias_maps not alias_m

Re: ldap_table works and doesn't...

2014-08-21 Thread Marek Kozlowski
:-) > The documented lookup key for local aliases(5) in the local(8) > delivery agent is the bare localpart of the address "m.kozlowski" > not "m.kozlow...@poczta.mini.pw.edu.pl". > > You're likely to have more luck with LDAP-based address to address > rewriting via virtual_alias_maps not alias_m

Re: ldap_table works and doesn't...

2014-08-21 Thread Viktor Dukhovni
On Thu, Aug 21, 2014 at 08:54:19AM +0200, Marek Kozlowski wrote: > :-) > I have an openldap server for accounts and other servers use pam_ldap. > We'd like to to store e-mail aliases as an LDAP `mail' attribute. > > A user with a common name `temp1' has the attribute `mail' set to > `m.kozlow...@p

ldap_table works and doesn't...

2014-08-20 Thread Marek Kozlowski
:-) I have an openldap server for accounts and other servers use pam_ldap. We'd like to to store e-mail aliases as an LDAP `mail' attribute. A user with a common name `temp1' has the attribute `mail' set to `m.kozlow...@poczta.mini.pw.edu.pl'. Expected behavior: mail sent to `m.kozlow...@poczta.mi