Hi All,
Hoping someone can help me out with this.
Having issues fetching mail through cron.
Getting consistent errors as below;
The system is having trouble fetching emails from the following mail account:
User: xxxx@xxxx.com.au
Host: pod51024.outlook.com
Error: Can not authenticate to POP3 server: Logon failure: unknown user name or bad password.
11 consecutive errors. Maximum of 5 allowed
This could be connection issues related to the host. Next delayed login attempt in aprox. 10 minutes
However, (here's the curly one) it works fine when enabled through auto-cron.
My preference is to use cron, as there will certainly be times that no one will be on the interface, but tickets still need to be logged.
Server Specifics:
OS: Ubuntu
PHP: PHP 5.2.4-2ubuntu5.26 with Suhosin-Patch 0.9.6.2 (cli) (built: Sep 12 2012 19)
Apache version: Apache/2.2.8 (Ubuntu)
Mail Server: Office 365 (Exchange 2010 Fork - Hosted by MS)
Apache runs as www-data, I thought this may have been a point of difference, but have tried to run the cron job as www-data with no success.
Really not too sure where to look next, as the credentials are certainly correct, as auto-cron works as I pointed out, but proper cron is throwing back authentication errors.
Any assistance would be much appreciated!
I must also say that apart from this small issue I have been blown away with the maturity and flexibility of this product!