[Dovecot] Case sensitive oddity when mail delivered.

dovecot at corwyn.net dovecot at corwyn.net
Thu Apr 30 23:12:35 EEST 2009




Currently running Postfix/Dovecot1.1.8 with mysql storing the user 
data and delivering to folders as determined by dovecot using 
dovecot's "deliver" as defined in postfix's master.cf

Mail location is determined by
mail_location = maildir:/var/spool/mail/%d/%n/Maildir

If I have an account user1 at example.com it works just fine. However, 
when mail is sent to USER1 at EXAMPLE.COM it also delivers, but ends up 
creating a new file structure so I end up with
/var/spool/mail/example.com/user1  (with lower case mail in it)
and
/var/spool/mail/EXAMPLE.COM/USER1  (with  uppercase mail in it)

which is decidedly not good.

Looks to me like wherever %d and %n are pulled from is pulled out of 
the email, but not lower-cased.

Any ideas where I would look to change this value before the email is 
delivered to the mailbox?

Thx.

rick


Rick Steeves
http://www.sinister.net

"Life is like a sausage: The more you pack into it, the longer it gets"



More information about the dovecot mailing list