Remote IMAP Connections

youds

Verified User
Joined
Jul 11, 2008
Messages
477
Location
Lancashire, UK
Hi

I have SquirrelMail running locally and require it to access my remote server which has all my email accounts on.

However, using the hostname of the mail server or the IP address returns a fail. Also, I've checked that ports are open on both sides.

What could be causing this? Is there a requirement of DA to not accept remote calls in its default configuration?

Kind regards
 
send you domain name so we can check , ant firewall like CSF installed ?
 
Is there a requirement of DA to not accept remote calls in its default configuration?

No, in this instance it would be identical to the server as if you were using thunderbird, outlook, etc. It's the situation it was designed to function for.
 
mail.gethosted.online

Problem is, it’s rejecting with no logs on the remote machine; and yeah I checked csf all ports are open.

See If you can get anything from the hostname
 
mail.gethosted.online

Problem is, it’s rejecting with no logs on the remote machine; and yeah I checked csf all ports are open.

See If you can get anything from the hostname

Working on both IMAP ports (143 & 993). So I'd say it's narrowed down to:

1. Your IP is blocked on the server (check /var/log/lfd.log for your IP, if you find it run csf -dr IPADDR)
2. Your computer is blocking outbound traffic to those ports
3. Your network is blocking outbound traffic to those ports
4. Your ISP is blocking outbound traffic to those ports
5. The application connecting holds the flaw
 
OK

I am running a VPN in-between here and the server. My local tower server has ports open, but perhaps VPN needs adjusting.

I shall write back soon.
 
OK so I borked my VPN. I'm guessing firewall rules were used by the devops that put it together.

Let me deal with this and then I'll get back to you.
 
Last edited:
Unfortunately, no joy.

I see this error message:

ERROR
Error connecting to IMAP server: mail.gethosted.online.
111 : Connection refused​
 
The log file for SquirrelMail reads as follow:
Code:
07/11/2020 00:26:56 [LOGIN_ERROR] [email protected] (1.10) from 192.168.1.11: Error connecting to IMAP server: mail.gethosted.online. 111 : Connection refused
 
Well, it would appear to be a problem with csf. On both machines, 113 was the outgoing port, not 143. Adjusting these values fixed it for me.

Voila! Thanks for the help.
 
Back
Top