第三步: 配置Courier的authmysqlrc 因为原来已经基本配置好,我这里只改了一下SQL部分 MYSQL_SELECT_CLAUSE SELECT username,password,'','3000','3000',CONCAT('/media/maildisk/mail/',username),CONCAT('/media/maildisk/mail/',maildir),CONCAT(quota*1000000/1048576),' S'),name from mailbox where username='$(local_part)@$(domain)' and status='Acitve'