On Wed, Jan 11, 2023 at 09:02:23PM +0100, Patrick Ben Koetter <p...@sys4.de> 
wrote:

> * Viktor Dukhovni <postfix-users@postfix.org>:
> > On Wed, Jan 11, 2023 at 03:57:28PM +0100, Patrick Ben Koetter wrote:
> > 
> > > Today I ran into a lookup problem where a sender (!) was using the RFC 
> > > 5233
> > > subaddress schema so send a message e.g. as 
> > > localpart+subaddress@domainpart
> > > and lookups with smtpd_sender_login_maps failed because I was unable to 
> > > come
> > > up with a LDAP query_filter that would look for localpart@domainpart a ka
> > > strip the subaddress.
> > 
> >     http://www.postfix.org/postconf.5.html#recipient_delimiter
> > 
> > The documentation isn't clear on whether extensions are handled in
> > 
> >     http://www.postfix.org/postconf.5.html#smtpd_sender_login_maps
> > 
> > but they are.  You shouldn't need any LDAP-specific support here,
> > Postfix will automatically generate a query with the extension elided.
> 
> Thanks! Makes me wonder why the setup I was testing today failed to behave
> like you wrote. I'll try to reconstruct this on a test machine as soon as I
> find time and verify that.

Do you have "recipient_delimiter = +" in main.cf?

> p@rick

cheers,
raf

Reply via email to