Folks,

I have read the posts and I have googled it.

WHY is having osTicket check a IMAP or POP email so hard?????

I have tried to pipe it, tired to SSL it, tried to crong it, geesh !!!!

I am ready to call it quits to osTicket.

The directions are terrible.

I had my install so goofed up yesterday that I had to reinstall.

My Settings:

username = user@domain.com

password = password

host = mailserver.domain.com

port = 993

Protocol = IMAP

Encryption = SSL

Fetched Emails --- > MOVE TO: INBOX.trash

CRON --- php -f /PATH/api/cron.php

CRONG Error Email ---

Warning: imap_open() : Couldn't open stream {mailserver.domain.com/imap/ssl/novalidate-cert}INBOX in /PATH/public_html/include/class.mailfetch.php on line 130

PHP / IMAP info ---

IMAP c-Client Version 2007e

SSL Support enabled

Kerberos Support enabled

Any help would be appreciated.... Thanks...

MFERRY

is the openssl extension enabled in your php.ini?

openssl

OpenSSL support enabled

OpenSSL Library Version OpenSSL 1.0.0-fips 29 Mar 2010

OpenSSL Header Version OpenSSL 1.0.0-fips 29 Mar 2010

Yes... it is... Thanks

ALSO --- Poll on auto-cron works fine.

So if this works then..my email account variables are good and valid.

The CRON just will not use them correct.

have you tried not configuring

Fetched Emails --- > MOVE TO: INBOX.trash

and testing it?

Yes. I have tried all 3 options no change in error

i also get --- an osTicket alert from time to time.

osTicket is having trouble fetching emails from the following mail account:

User: user@domain.com

Host: mailserver.domain.com

Error: IMAP Authentication cancelled

7 consecutive errors. Maximum of 5 allowed

This could be connection issues related to the mail server. Next delayed login attempt in approx. 10 minutes

http://:(http://:)

How are you calling cron and whats the exact command line that you are passing to it. (Are you calling it locally or remotely)

What OS are you running?

setup via cPanel / cron jobs.

Centos (I think) its a shared linux server.

php -f /username/public_html/api/cron.php

yes its local. the cron job is running from the same host that has osTicket.

Centos... running SELinux? Lots of users have experienced problems with SELinux. Can you disable it.

Can't disable --- /etc/selinux

I got it working. Turned off IMAP/POP and using 100% PIPE.

Thanks for all the help !!!

(I will be posting again) :)

4 years later

I have exactly the same. But Mail is on Office 365 account. Would you know how to pipe that? Of does it only work locally? Has anyone else solved this issue?

Make sure your cron task uses the same version of PHP as your web task. That's the main issue with these.This thread was resolved in 2013, so hopefully it's not the same issue. 

@[deleted]: Exchange does not support pipeing.  You have to use imap or pop.  Please start your own thread instead of hijacking someone elses.

Write a Reply...