Charles Marcus a écrit : > Hi, > > I know this isn't exactly a postfix question, but I'm hoping someone > will have pity on me and answer anyway... > > I have a server using postfix+courier-imap+cyrus-sasl. Currently the > query in virtual_mailbox_maps is: > > query = SELECT maildir FROM mailbox WHERE username='%s' > > If I want to force the supplied username to lowercase, would I change it to: > > query = SELECT maildir FROM mailbox WHERE username=LOWER('%s') >
yes. but, in mysql at least, the default is case insensitive. so you don't need that.