Solved

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

Posted on 2004-09-25
10
255 Views
Last Modified: 2013-11-15
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
0
Comment
Question by:csalinger
  • 6
  • 4
10 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 12151573
An easy solution to this would be to use a port forward in iptables to redirect connection on 80/TCP to 993/TCP.
0
 

Author Comment

by:csalinger
ID: 12152221
i run a web server on the same machine.  would this still be possible?  perhaps a virtual domain?
0
 

Author Comment

by:csalinger
ID: 12152233
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 :)
0
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
LVL 40

Expert Comment

by:jlevie
ID: 12152285
> 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.
0
 

Author Comment

by:csalinger
ID: 12152331
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
0
 

Author Comment

by:csalinger
ID: 12152347
oops.  i forgot to write the 'either part'.  either forward ports, or give up.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 12152556
Do you have more than one outside IP? A connection on that IP:80 could be redirected to your IMAPS.
0
 

Author Comment

by:csalinger
ID: 12152571
yes, i have two which are currently unallocated and four which are - two which are routers and two servers.  setup a dns forward?
0
 
LVL 40

Accepted Solution

by:
jlevie earned 125 total points
ID: 12152830
I don't know what you network topology looks like, but you could port forward connections on 80/TCP on one of those IP's to the IMAPS service on your mail server at the firewall, or assign an additional IP to the mail server and connect to it on 80/TCP that port forwards to IMAPS.
0
 

Author Comment

by:csalinger
ID: 12154111
Thanks.  I'll give that a try and let you know how it goes.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
All of the resources available today make learning a new digital media easier than ever-- if you know where to begin. This is a clear, simple guide to a few of the basic digital art mediums and how to begin learning them on your own.
This video demonstrates how to use each tool, their shortcuts, where and when to use them, and how to use the keyboard to improve workflow.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question