All,
I have OSTicket 1.6 installed on CentOS 5.6 and am unable to get email polling to work consistently. Using a University email account powered by google mail.
Seem to have necessary PHP modules:
# rpm -qa | grep php
php-pear-1.4.9-6.el5
php-pdo-5.1.6-27.el5_5.3
php-pear-MDB2-2.4.1-2.el5.centos
php-common-5.1.6-27.el5_5.3
php-devel-5.1.6-27.el5_5.3
php-mcrypt-5.1.6-15.el5.centos.1
php-5.1.6-27.el5_5.3
php-cli-5.1.6-27.el5_5.3
php-mysql-5.1.6-27.el5_5.3
php-ldap-5.1.6-27.el5_5.3
php-pear-MDB2-Driver-mysql-1.4.1-3.el5.centos
php-imap-5.1.6-27.el5_5.3
# php -v
PHP 5.1.6 (cli) (built: Nov 29 2010 16)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
Email configuration:
IMAP enabled in email account settings.
In OSTicket I provided following info:
HOST - imap.gmail.com
PORT - 993
PROTOCOL - IMAP
ERYPTION - SSL
SMTP Host - ssl://smtp.gmail.com
SMTP Port - 465
Auth Required = Yes
*One thing I noticed is that when I enter the username in the login info as user@domain.edu it fails, won't allow me to save. When I enter only the username it allows me to save.
Created a crontab entry with following:
*/5 * * * * /usr/bin/php /var/www/osticket/api/cron.php
Can see cron executing every 5 minutes in /var/log/cron
Not able at this point to discern why email polling is not working, where I may have gone wrong, or not done.
I am finding this recurring error PHP error "PHP Warning: sprintf(): Too few arguments in /var/www/osticket/include/class.email.php on line 197 but I'm not having problems with notifications.
Earlier today I enabled autocron and it did pick up and delete some emails from the inbox but tests sent since remain there unread for a few hours now.
Any suggestions on things to try or places to look for errors would be greatly appreciated.
Thanks in advance,
Jim