SetEnv GIT_PROJECT_ROOT /home/git/ SetEnv GIT_HTTP_EXPORT_ALL ScriptAlias /git/ /usr/lib/git-core/git-http-backend/ #Turn on IMAP Authentication Auth_IMAP_Enabled on AuthName "Use IMAP username to login" AuthType Basic # Turn off Basic auth. We'll make IMAP as authoritative. AuthBasicAuthoritative Off #If you feel like it, restrict the users or allow all valid users: # Require user foouser Require valid-user #Make IMAP Authentication authoritative for this .htaccess file: Auth_IMAP_Authoritative on Auth_IMAP_Server imap.exmail.qq.com Auth_IMAP_Port 143 Auth_IMAP_Log on # If domain was provided, login with username@domain Auth_IMAP_Domain dingding.me