* Victor Duchovni <[email protected]>: > On Sun, Jul 18, 2010 at 12:14:17PM +0200, Stefan Foerster wrote: > > > Given: A dedicated Postfix instance, configured to accept mails from > > SASL authenticated users. It seems that unlike access(5) maps, the > > lookup for smtpd_sender_login_maps for addresses which contain > > $recipient_delimiter is not tried at all without the extension: > > This is false. Exactly the same code handles access table lookups as ^^^^^^^^^^^^^^^^^^^^^ > sender login lookups, only the interpretation of the results is different. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is in no way meant as an "ad hominem" attack, but while the above is probably 100% correct, it is neither helpful nor purposeful. > > # postmap -q [email protected] ... > > Partial key lookups are not implemented in postmap, which performs > exactly the requested query. Your test is invalid. I could have shown you the whole database, and the queries. Instead, I chose to demonstrate that the address without extension was indeed owned be the user who performed a SASL authentication. This is by no means invalid but was simply intended to keep the mail short. I'd still love to see Postfix interpreting the results of any sender login lookups in the same way as access table lookups, with regards to address extensions. Stefan
