Allow # in mail_db_password

I had a ```#``` in my mail_db_password and spent the last 2 hours trying to figure out why I couldn't connect by IMAP. A ```#``` is only allowed if the connect string is wrapped in quotes. This will probably save a few people a lot of frustration by wrapping it in quotes to begin with.