NameVirtualHost 67.154.236.201 NameVirtualHost 192.168.2.2 ServerAdmin kjohnson@fixertec.net ServerName dspam.fixertec.net DocumentRoot /srv/www/htdocs/dspam DirectoryIndex dspam.cgi index.php SuexecUserGroup dspam dspam ErrorLog /var/log/apache2/dspam_error_log TransferLog /var/log/apache2/dspam_transfer_log AllowOverride None IndexOptions NameWidth=* FancyIndexing FoldersFirst ScanHTMLTitles TrackModified VersionSort XHTML HTMLTable DirectoryIndex dspam.cgi Options +ExecCGI +Indexes AddHandler cgi-script .cgi .pl Order allow,deny Allow from all Auth_IMAP_Enabled on AuthName "DSPAM Control Center" #Only basic authentication is supported for now: AuthType Basic #If you feel like it, restrict the users or allow all "valid-user" Require valid-user #Make IMAP Authentication authoritative for this .htaccess file: Auth_IMAP_Authoritative on #Set the IMAP Server to which you want to connect (default=localhost): Auth_IMAP_Server localhost #Set the port on which the imap server is running (default=143): Auth_IMAP_Port 143 #Turn on some extra logging (login attempts, etc.) in Apache's Error Log Auth_IMAP_Log off