osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now
Setting up mail fetching with IMAP
I'm trying to setup mail fetching using IMAP for osTicket v1.7.1 and I'm stuck.... no idea what im doing anymore
This is what I have done
checked off "Enable POP/IMAP polling" and "Strip Quoted Reply"
Admin Panel->Emails->Emails->myemail address
Entered Login information
Status Enabled for Mail Account
Entered the same host I used for SMTP which worked for SMTP
Port 143 Protocol IMAP
Fetch Frequency 5
Emails Per Fetch 30
Delete fetched emails
For Cron, I've gone into /etc/cron.d/ vi php5 and added
*/5 * * * * root /usr/bin/php /var/www/osTicket/api/cron.php
and also added the same to crontab -e, /etc/crontab (couldn't figure out which one is the correct one, but i think /etc/crontab is since that's the one that started showing events in the syslog)
i have tried just typing
in the command prompt, but nothing happens, and when i try
i get a bunch of errors
/var/www/osTicket/api/cron.php: line 1: ?php: No such file or directory
/var/www/osTicket/api/cron.php: line 2: /bin: Is a directory
/var/www/osTicket/api/cron.php: line 3: cron.php: command not found
/var/www/osTicket/api/cron.php: line 5: File: command not found
/var/www/osTicket/api/cron.php: line 7: syntax error near unexpected token 'newline'
/var/www/osTicket/api/cron.php: line 7: ' Peter Rotich '
I guess my biggest question, first and foremost, is... what exactly did osTicket mean when they said /path/to/php in the tutorial...? im getting the feeling that's where my problem is, but then again i've only started using Linux 3 weeks ago...
any help would be great
(oh and let me know if you need any other info)