- pop-before-smtp provides a mechanism to authenticate user before he is allowed to send emails. For this to work user has to pop his emails once before sending his emails. After doing email pop he will be allowed to send emails for 30 minutes. In 30 minutes if he does not pop his emails again then he will not be able to send his emails.  
- to configure pop-before-smtp follow following instructions
- if you are using exim configuration file that hosting controller sets for you then it is already set in this configuration file. But if you are using your own exim configuration file then add following line in MAIN CONFIGURATION SETTINGS section
	hostlist   relay_from_hosts = 127.0.0.1:/etc/hcrelayhost  
- restart exim
-create directory /usr/local/scripts/hc/exim with following command
	$ mkdir -p /usr/local/scripts/hc/exim
-copy popauthor.pl and popauthorCH files from directory /usr/local/hostingcontroller/config/exim/pop-before-smtp/ to directory /usr/local/scripts/hc/exim/
-copy /usr/local/hostingcontroller/config/exim/pop-before-smtp/S95popauthor file in rc3.d and rc5.d directories, usually located in /etc/rc.d/ directory
-make following entry in file /var/spool/cron/root 
*/2     *       *       *       *       /usr/local/scripts/hc/sendmail/popauthorCH
-create directory /var/spool/popauth with following command
	$ mkdir -p /var/spool/popauth
- In syslog configuration file usually /etc/rsyslog.conf or /etc/syslog.conf, write following line at the end of file
local0.info                                   |/var/log/popauthor
- restart syslog with following command
	$ /etc/init.d/rsyslog restart  
		OR
	$ /etc/init.d/syslog restart     
- start popauthor.pl with following command
	$ /usr/local/scripts/hc/popauthor &
- restart crond with follwoing command
	$ /etc/init.d/crond restart
