osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go
get it now
[resolved] Can't connect to mail.xxxxx.xxx.xx,143: Permission denied
We are using Lotus Notes as our mail server. I tried to setup an email account in osTicket system.
After I filled in the following information...
Email Login Information section
Username: abc
Password: abc
...
Fetching Email via IMAP or POP section
Status: Enable
Hostname: xxxx.xxxxx.xxx.xx
Port Number: 143
Mail box protocol: IMAP
Fetched Emails: Move to folder: /var/mail/xxxxxx
I pressed the 'Submit' button but it failed to connect to IMAP.
At the top of the screen, it showed "Invalid login. Check IMAP settings"
In IMAP section, it showed "Can't connect to mail.xxxxx.xxx.xx,143: Permission denied"
When I tested with telnet command, I could login IMAP successfully:
# telnet mail.xxxxx.xxx.xx 143
Trying 172.5.2.1...
Connected to mail.xxxxx.xxx.xx.
Escape character is '^]'.
* OK Domino IMAP4 Server Release 8.5.3FP6HF1215 ready Tue, 12 Apr 2016 11:34:31 +0800
AUTH LOGIN abc abc
AUTH OK LOGIN completed
AUTH LOGOUT
* BYE logging out
AUTH OK LOGOUT completed
Connection closed by foreign host.
#
What things I miss for connecting to the IMAP?
Comments
Status: Enable
Hostname: mail.xxxxx.xxx.xx
Port Number: 143
Mail box protocol: IMAP
Fetched Emails: Move to folder: /var/mail/xxxxxx
If it is linux issue, not Lotus Notes mail server's issue, why can I login the IMAP using telnet command?
The following command solves my problem:
echo 0 >/selinux/enforce
i.e. disable selinux
vi /etc/selinux/config
#SELINUX=enforcing
SELINUX=disabled