Installing osTicket 1.10 on CentOS 7
-
-
@IRJ said in Installing osTicket 1.10 on CentOS 7:
@scottalanmiller said in Installing osTicket 1.10 on CentOS 7:
@IRJ said in Installing osTicket 1.10 on CentOS 7:
I got it up and running last night, but all my email alerts are going to spam. How are you guys configuring email?
Whitelist or run through a relay or have it authenticate as a user on your email system.
What are you using for a relay?
We always use Postfix. Not because it is the best but because it is good, free and we've used it for nearly two decades.
-
Had this installed in my lab at home and like it. Next step is getting this on a VM at my office to test it out with some real world usage. I'll either put it on a box at the office, or on a Vultr VM. It doesn't look like it would take much resources, so a low end VPS should be more than fine for this.
-
@fuznutz04 said in Installing osTicket 1.10 on CentOS 7:
Had this installed in my lab at home and like it. Next step is getting this on a VM at my office to test it out with some real world usage. I'll either put it on a box at the office, or on a Vultr VM. It doesn't look like it would take much resources, so a low end VPS should be more than fine for this.
The $5 tier works fine.
-
@scottalanmiller said in Installing osTicket 1.10 on CentOS 7:
@fuznutz04 said in Installing osTicket 1.10 on CentOS 7:
Had this installed in my lab at home and like it. Next step is getting this on a VM at my office to test it out with some real world usage. I'll either put it on a box at the office, or on a Vultr VM. It doesn't look like it would take much resources, so a low end VPS should be more than fine for this.
The $5 tier works fine.
I think we can swing that.
-
Great to see osTicket getting traction.
-
So configuring OSTicket to fetch emails from an Office365 Exchange Online Kiosk account is not working correctly.
Anyone else have issues setting up email retrieval on OSTicket? (installed on CentOS7)
-
@fuznutz04 said in Installing osTicket 1.10 on CentOS 7:
So configuring OSTicket to fetch emails from an Office365 Exchange Online Kiosk account is not working correctly.
Anyone else have issues setting up email retrieval on OSTicket? (installed on CentOS7)
So both polling of a POP box and sending via SMTP both do not work, and it is due to SELinux. Disabling it allows both sending/polling to work properly.
-
@fuznutz04 said in Installing osTicket 1.10 on CentOS 7:
@fuznutz04 said in Installing osTicket 1.10 on CentOS 7:
So configuring OSTicket to fetch emails from an Office365 Exchange Online Kiosk account is not working correctly.
Anyone else have issues setting up email retrieval on OSTicket? (installed on CentOS7)
So both polling of a POP box and sending via SMTP both do not work, and it is due to SELinux. Disabling it allows both sending/polling to work properly.
You need to allow the ports to be used. Not at my desk to look that up. I do something in my owncloud guide.
-
@JaredBusch said in Installing osTicket 1.10 on CentOS 7:
@fuznutz04 said in Installing osTicket 1.10 on CentOS 7:
@fuznutz04 said in Installing osTicket 1.10 on CentOS 7:
So configuring OSTicket to fetch emails from an Office365 Exchange Online Kiosk account is not working correctly.
Anyone else have issues setting up email retrieval on OSTicket? (installed on CentOS7)
So both polling of a POP box and sending via SMTP both do not work, and it is due to SELinux. Disabling it allows both sending/polling to work properly.
You need to allow the ports to be used. Not at my desk to look that up. I do something in my owncloud guide.
Awesome, I'll see if I can find it when I'm also back at my desk.
-
@fuznutz04 said in Installing osTicket 1.10 on CentOS 7:
@JaredBusch said in Installing osTicket 1.10 on CentOS 7:
@fuznutz04 said in Installing osTicket 1.10 on CentOS 7:
@fuznutz04 said in Installing osTicket 1.10 on CentOS 7:
So configuring OSTicket to fetch emails from an Office365 Exchange Online Kiosk account is not working correctly.
Anyone else have issues setting up email retrieval on OSTicket? (installed on CentOS7)
So both polling of a POP box and sending via SMTP both do not work, and it is due to SELinux. Disabling it allows both sending/polling to work properly.
You need to allow the ports to be used. Not at my desk to look that up. I do something in my owncloud guide.
Awesome, I'll see if I can find it when I'm also back at my desk.
Better example
https://mangolassi.it/topic/6905/setting-up-nginx-on-centos-7-as-a-reverse-proxy
-
@JaredBusch Thanks!
-
So in this case, I was able to get it working by issuing the following commands.
#Allow httpd process to make connection over the internet and send mail. setsebool -P httpd_can_sendmail 1 setsebool -P httpd_can_network_connect 1 #Restart Apache apachectl restart
By following these instructions: http://osticket.com/forum/discussion/77982/resolved-smtp-office365-issue
Still learning about SELINUX bit by bit.
-
In case anyone else is wondering, you can easily schedule OS ticket to fetch emails, by setting up a cron job that "runs" the cron.php file in the OSTicket directory. Just open up /etc/crontab and enter this line:
***Assumes your php directory and OSTicket install are at the locations specified below.
This causes OSTicket to poll the mailbox that is defined in the OSTicket email setup area in the OSTicket GUI, every 5 minutes.
*/5 * * * * root /usr/bin/php /var/www/html/helpdesk/api/cron.php
-
Not my few weeks for creating new VM's
Following Scotts guide and when I get to this:-
At this point if you navigate to http://ipaddress/helpdesk you should see this:It tells me the file isn't writable
File permissions:-
-
@hobbit666 Could be an SELinux issue.... don't know enough about it to fix it though
-
@hobbit666 Try giving root full access to the file and see if it works then.
@brianlittlejohn doubtful that it would be an selinux issue since he's at the website.
-
Looks like it might be SELINUX going to try something and report back.
-
No looks like it was SELINUX disabled and it goes through the rest of the install.
Even reverted back to a snapshot and rebooted a few times with it enabled in case it was a simple reboot that did it the first time anyway, but no still couldn't get anywhere until SELINUX was disabled.
-
@hobbit666 said in Installing osTicket 1.10 on CentOS 7:
No looks like it was SELINUX disabled and it goes through the rest of the install.
Even reverted back to a snapshot and rebooted a few times with it enabled in case it was a simple reboot that did it the first time anyway, but no still couldn't get anywhere until SELINUX was disabled.
So then you need to configure it to allow osTicket