- 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. 
- To configure pop-before-smtp follow following instructions
- In your sendmail.mc file add following lines at the end of file 
	define(`POP_B4_SMTP_TAG', `')dnl
	include(`/usr/local/hostingcontroller/config/sendmail/pop-before-smtp/popauth.m4')dnl 
- regenerate sendmail.cf file from sendmail.mc file. You can use m4 or make utility to generate it.
- restart sendmail
-create directory /usr/local/scripts/hc/sendmail with following command
	$ mkdir -p /usr/local/scripts/hc/sendmail
-copy popauthor.pl and popauthorCH files from directory /usr/local/hostingcontroller/config/sendmail/pop-before-smtp to directory /usr/local/scripts/hc/sendmail/
-copy /usr/local/hostingcontroller/config/sendmail/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
