osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now
I am using osTicket 1.7 and am trying to set up the automatic pop/imap mail polling.
I have set up automatic task schedules with my server to access api/cron.php
I have set up an api key to look from the originating IP address of the scheduler.
I have no idea where I am supposed to set up the API key on the server.
I have read the following set of instructions...
Recurring tasks scheduler (host's custom task scheduler)
Some hosts do not allow adding cron jobs, and instead only allow you to probe scripts located at a publicly accessible URL. In this case, you will schedule the task using your webhost's scheduling interface and http://domain/path/to/osticket/api/cron.php
To prevent unauthorized execution of scripts from the outside, Settings => API has rules for allowing external access based on originating IP and an API "passphrase", which is actually the User Agent string of the agent trying to access cron.php on your web server.
If the User Agent string is not changed to the API key, the request will be denied, email will not be polled, and API error - code #77: Unknown remote host [220.127.116.11] or invalid API key [Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.84 Safari/534.13] will appear in your system logs under the osTicket dashboard.
If your host allows you to modify their schedulers User Agent string, then change that to the API key and add your webhost scheduler's IP to Settings => API => API Keys.
My server doesn't seem to allow piping, so I have been trying to make osticket work with this email polling method. I can't figure out how to modify the user agent string. This was not an available option with my servers control panel at the time of scheduling a task.
I am using an iPower web hosting plan.
User Interface - vDeck v.4
My error log is showing API error #77
saying that an API key is required.
Any help will definately be appreciated. Thanks in advance.