POP3/IMAP Setup on Unix – Email Parser Installation
This section of the manual covers installation of POP3/IMAP on Unix Servers. We are assuming that we will be setting up the email support@company.com and that the corresponding Email Queue has already been created under Admin CP » Mail Parser » Insert Mail Queue with the method selected as any of the following options and that the corresponding mail server, username and password have been configured:
- POP3
– POP3 SSL
– IMAP
– IMAP SSL
– POP3 SSL
– IMAP
– IMAP SSL
It is also assumed that your server meets all the requirements and that you have PHP, Zend Optimizer/ionCube Loader and MySQL installed and fully configured.
You will need to setup a cron task to execute the http://www.domain.com/support/cron/index.php?_t=parser every 5 minutes (personal preference). The following steps will help you create a cron task:
- Goto the Cron folder under /etc/cron.d
– Create a file called “mailparser” with either pico/vi
Possible Cron Task Syntaxes:
*/5 * * * * root GET http://www.domain.com/support/cron/index.php?_t=parser
Runs the cron every 5 minutes.
*/15 * * * * root GET http://www.domain.com/support/cron/index.php?_t=parser
Runs the cron every 15 minutes.
*/5 * * * * root /usr/bin/lynx –dump “http://www.domain.com/support/cron/index.php?_t=parser” > /dev/null
Uses lynx to execute the cron file every 5 minutes.
– Save the file, you now have a working cron.
If you experience issues then please refer to “Troubleshooting – POP3/IMAP” section of the manual.