PostFix+Dovecot – Case Sensitive Email Address


So I'm having a problem with my email server configuration. I setup my server using this guide. It works great my only problem now is that the email address is case sensitive. I understand why that is because of how Linux handles case sensitivity but this is my personal server and there is only going to be a few users. So will go but will bounce.


: host[private/dovecot-lmtp[ said: 550 5.1.1 User doesn't exist: (in reply to RCPT TO command)

I've searched for hours and haven't found the solution. I made the below changes but they didn't help.

auth_username_format = %Lu
mail_location = mbox:~/mail:INBOX=/var/mail/%Lu

Also all my packages are up-to-date.

Best Answer

While Unix usernames are case sensitive, alias database lookups in Postfix are not. You could e.g. use virtual_alias_domains & virtual_alias_maps instead of mydestination for your domain to make the user part of the address case insensitive.