Link to home
Start Free TrialLog in
Avatar of csalinger
csalinger

asked on

Setting up IMAP to listen on port 80 as well as 993

Hi all

I'd like to be able to use my IMAP server (with ssl) on port 80 as well as 993 as there are times when I am on a network which only allows port 80 connections in and out.

Is it possible to setup my UW-IMAP server to do this?  I can just use my webmail, but I'd rather use my email client

Thanks

Stuart
Avatar of jlevie
jlevie

An easy solution to this would be to use a port forward in iptables to redirect connection on 80/TCP to 993/TCP.
Avatar of csalinger

ASKER

i run a web server on the same machine.  would this still be possible?  perhaps a virtual domain?
i seem to have solved it.  i created a new xinetd service named httpimaps and gave appropriate ports in /etc/services.  initially it wasn't working, but after restarting services other than xinetd it is working now :)
> i run a web server on the same machine.  would this still be possible?

That's a problem since HTTP is on 80/TCP.

> i created a new xinetd service named httpimaps

That would work, but since xinetd starts before Apache I'd expect that your web server isn't working now. And that would because 80/TCP was already in use when Apache tried to start.

I can't think of a solution what would work if mail and web are both running on the same system using port 80. However, any site that allows HTTP connections is likely to allow HTTPS connections and if you don't use SSL encryption on your web server port 443/TCP shouldn't conflict with your web server.
apache was affected.  i had just noticed before your post.  unfortunately i use https for my webmail :( seems like i'm either going to have to use another machine to forward the requests ( i have a windows server also)
thanks
oops.  i forgot to write the 'either part'.  either forward ports, or give up.
Do you have more than one outside IP? A connection on that IP:80 could be redirected to your IMAPS.
yes, i have two which are currently unallocated and four which are - two which are routers and two servers.  setup a dns forward?
ASKER CERTIFIED SOLUTION
Avatar of jlevie
jlevie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks.  I'll give that a try and let you know how it goes.