I'm having trouble configuring the cron job to allow incoming emails to be transferred to the WHMCS ticket area via an IMAP email account. I have created the email account in Virtualmin and tested it both inside and outside my network and it works fine.
in the WHMCS setup support departments area.. i created a support department and assigned that email address to it... Also added the credentials to login like this:
Hostname: 10.0.1.45 Port: 143 Email Address: tickets.customer Email pass: password
WHMCS suggests the following cron job to accomplish this---
*/5 * * * * php -q /home/customer/domains/management.customer.com/crons/pop.php
However I have found that I cannot save the cron job with the "*/5 * * * *" in front of it... So i've saved it like this and it saves fine:
php -q /home/customer/domains/management.customer.com/crons/pop.php
When I go to run it i get this:
POP Import Log
Host: 10.0.1.45 Email: tickets.customer Connection error: OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot (Ubuntu) ready.
and nothing is imported into the WHMCS ticket area.
Have been at it all morning and can't seem to find anything to fix this...