28 Jan
                
                    2010
                
            
            
                28 Jan
                
                '10
                
            
            
            
        
    
                11:11 a.m.
            
        Hello List,
we use in our system cryptical Usernames for dovecot etc. and authenticate users against shadow/passwd
User abcde is loging in and gets data from /var/spool/mail/abcde and /home/popuser/abcde
Now we want to make it possible that users can log in also with emailadresses. I tried dovecot-mysql authentication which works fine but i do not find a way to use 2 different login-formats in my queries. login with abcde and also testname@example.com should return ok and lead to /var/spool/mail/abcde. Is this possible or i have to make a decision which format to use?
Thanks, Andre