Re: Application level proxy for POP3/SMTP protocol

Gérald C. <[email protected]> Thu, 1 Jun 2006 21:49:38 +0200
Newsgroups gmane.comp.security.linux
Message-ID <[email protected]>
Hi,

Why don't you set up a (POP|IMAP)/SMTP server on china coupled with Fetchmail
to retrieve mails from you primary server ?
Fetchmail allow us of ssh tunnels for retrieval (see this link :
http://olduvai.blu.org/pipermail/discuss/2002-March/037107.html ).

Regards,

On Thu, Jun 01, 2006 at 03:36:31PM +0800, zHihaO wrote:
> Hi all,
> 
> I'm in a sticky situation now because of the filtering of internet 
> traffic out from China. Our users in china have got alot of problems 
> connecting to our servers here to pop their emails and as a result, we 
> have to get a server up in a datacentre in china and setup ssh port 
> forwarding on the server in china. Here is the flow :
> 
> chinese users --> china server (high port. eg: 10000 depending on which 
> local server they are connecting to) --> ssh tunnel --> local server 
> (POP3 port)
> 
> The users in china will connect to our china server like this : 
> china.mail.domain.com:50000. Port 50000 is actually an ssh tunnel to our 
> local servers on port 110 here.
> 
> Problem is we do have a hugh number of servers and it will be hard to 
> keep track of the big number of ssh tunnels/ports opened up from china 
> to our local servers. Any of you know of any good application level 
> proxy that will redirect users based on the result of their dns records? 
> For example, users connecting to the china server running this proxy 
> will be redirected based on the IP address returned when the proxy do a 
> dig on mail.domain.com or mail2.domain.com and redirect them promptly to 
> port 110 of either mail.domain.com or mail2.domain.com depending on the 
> dig result being returned.
> 
> Any help will be greatly appreciated..!!!
> 
> -zhihao
> 

-- 
Gérald Colangelo 
[email protected] - http://psycho-hazard.net/~binarym/

Being a sysadmin means hours of hard labor every day.
Being an abusive sysadmin means hours of fun.