So I have an exchange 2016 server and verified my creds via logging into OWA. I have set up the cron for osticket to fetch the emails from the server.

I THINK the cron is running successfully because emails are being put into the folder I specified, however, I don't see any open tickets on my dashboard (I am the user who set up OSticket so I am admin and should see everything).

any help is appreciated.

You cannot pipe for Exchange. Exchange does not support piping.

You have to setup polling. Polling requires POP3 or IMAP. You have to enable one of them and give the account permission to use the enabled protocol.

You have to configure the email at: Admin panel -> Email -> Emails by adding the email (including server, username, etc).

You have to enabled Email fetching at Admin panel -> Emails -> Settings: Email Fetching (check enable, uncheck Fetch on auto-cron).

Then lastly you have to setup a scheduler (cron or windows task sched) to run the cron.php file on a recurring basis.

docs
https://docs.osticket.com/en/latest/Getting%20Started/POP3-IMAP%20Settings.html

@ntozier I used the wrong terminology there. I meant to say Polling.

I have setup the polling so far as stated in your steps. It moves the email to the proper folder, but does not actually CREATE the ticket.

Admin panel -> Settings -> System. What is your Default Department?
Does your Agent account have access to that department?

Yes, I set myself as an All Access user of that department.

Version of osTicket?
Version of PHP?
Webserver?

Are you seeing any PHP or [unknown] webserver errors in the logs ?

@ntozier

I'm running

Server Information
osTicket Version v1.11 (d4e240b) — Up to date
Web Server Software Apache/2.4.29 (Ubuntu)
MySQL Version 10.1.38
PHP Version 7.2.15-0ubuntu0.18.04.2

logs show this :
Auto Cron
Mail fetcher cron call [travisn]

@KevinTheJedi I followed instructions in both fixes for the file(s) class.ticket.php, removing the line and adding the line mentioned in the issue,

I also changed the ajax.forms.php file as requested (basically just copied the whole thing and did an overwrite on what was already on the server.

The issue still remains. It grabs the email from the mailbox via IMAP, and puts it in the folder designated in the mail settings, however, no ticket is generated. System logs show the cron job is processed, however, no ticket is generated.

This is resolved now.

I ran the cron file on an internal crontab as the CP i was using wasnt really doing the trick.

ntozier changed the title to [resolved] Piping from Exchange 2016 to OS ticket.
Write a Reply...