Re: Courier 20240725 development build

Sam Varshavchik <[email protected]> Sat, 14 Sep 2024 17:21:56 -0400
Newsgroups gmane.mail.imap.courier.general
Message-ID <[email protected]>
Bernd Wurst writes:

> Am 13.09.24 um 23:51 schrieb Sam Varshavchik:
>> That's no different than with dashes. authlib should not be getting the full  
>> address if a dash is used as a separator character, authlib always gets the  
>> address stripped of its extension.
>
> No. Remember my SQL query from the start?
>
> This is authdaemon log:
>
> SQL query: SELECT  account, cryptpass, clearpass, uid, gid, homedir,  
> maildir, quota, fullname, options  FROM courier_virtual_deliveries WHERE  
> 'courier' IN ('courier', 'login')  AND (account='[email protected]'  
> OR (account=CONCAT(SUBSTRING_INDEX('bernd-foobar', '+', 1), '@',  
> 'berndwurst.de') AND  enableextensions=1))
>
> Nothing stripped away, nothing altered, [email protected] is  
> completely there. Except for that I sent to [email protected] but  
> that's what we're talking about. :)

Yeah. Reproducible test cases work better than narratives.

I have a new build dated today that should fix this, and even with the  
default confuguration where either + or - is a valid separator actual  
mailbox names containing a + should now work.

_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQRupkKLJP96aW75pIOKYPgoojZS4gUCZuX+dAAKCRCKYPgoojZS
4oZOAQDkuOsXSna81Bb3zfdQvKZJ0H/Lhxn1su7R7zHZNxeVcgEA7bpHRVlV2LCY
dr8SoQtHqrauouN5iJNqvSxphk3IgQo=
=NkB/
-----END PGP SIGNATURE-----