<IfDefine HAVE_AUTHN_IMAP> <IfModule !mod_authn_imap.c> LoadModule authn_imap_module extramodules/mod_authn_imap.so </IfModule> </IfDefine> <IfModule mod_authn_imap.c> # IMAP_Server example.test # IMAP_Port 143 # AuthType Basic # AuthName "imap test" # AuthnBasicProvider imap # Require imap </IfModule>