DaemonForums  

Go Back   DaemonForums > Miscellaneous > General software and network

General software and network General OS-independent software and network questions, X11, MTA, routing, etc.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 28th November 2008
satimis satimis is offline
Port Guard
 
Join Date: May 2008
Posts: 27
Thanked 0 Times in 0 Posts
Default Networking on virtual machine

Hi folks,


Host - Debian Etch Workstation
Guest01 - mail server for routing
Guest02 - mail server, hostname01. localIP01, domain01
Guest03 - mail server, hostname02, localIP02, domain02
Guest04 - mail server, hostname03, localIP02, domain03
etc.

all mail servers running postfix as MTA on Debian Etch.

single (one) external IP with all ports forwarded to Guest01 except port 53 which is forwarded to the DNS server, also running on a guest of the Xen box.


Guest01 routes all incoming mails according to their domains to respective mail servers. All outgoing mails are sent via the routing mail server, Guest01, to Internet.


The system is working nicely on Intranet. Mail client, Evolution, on workstations connected to local network, the Intranet, can send/receive mails on the mail servers. Server settings on mail client work on either local IP or on hostname.


My question is if the workstation is on remote site, not on local network. What will be the server settings on the mail client. If on external IP how can the remote mail client find the mail server which it needs to connect. Please shed me some light. TIA


B.R.
satimis
Reply With Quote
  #2   (View Single Post)  
Old 28th November 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 699
Thanked 90 Times in 81 Posts
Default

For sending mail via SMTP, the remote clients just use the external (public) address of the main mail routing server (guest01).

For receiving mail, you will need to either:

* configure a load-balancer/proxy server in Guest01 that will proxy the connections to Guest02, Guest03, etc, based on the username. How you do this depends on which IMAP/POP server you are using (Cyrus IMAP uses MURDER, Zimbra uses a custom proxy, not sure what Courier or Dovecot use).

Or,

* you will have to tell each user which server their mail account resides on, and they will have to configure their mail clients accordingly.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #3   (View Single Post)  
Old 28th November 2008
deemon's Avatar
deemon deemon is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Estonia
Posts: 50
Thanked 6 Times in 5 Posts
Default

You could use perdition pop3/imap proxy or nginx and it's pop3/imap proxy module. You have to write your own authentication system when using nginx.
__________________
Fhtagn nagh Yog-Sothoth

Last edited by deemon; 28th November 2008 at 05:49 PM.
Reply With Quote
  #4   (View Single Post)  
Old 29th November 2008
satimis satimis is offline
Port Guard
 
Join Date: May 2008
Posts: 27
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by deemon View Post
You could use perdition pop3/imap proxy or nginx and it's pop3/imap proxy module. You have to write your own authentication system when using nginx.
Hi deemon,


Thanks for your advice. I found follows to start;

Perdition: Mail Retrieval Proxy
http://www.vergenet.net/linux/perdition/

Nginx English Wiki
http://wiki.codemongers.com/Main


Hoping that I'm not heading the wrong direction. Which of them will be easier to install and config? Thanks.


B.R.
satimis
Reply With Quote
  #5   (View Single Post)  
Old 29th November 2008
satimis satimis is offline
Port Guard
 
Join Date: May 2008
Posts: 27
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by phoenix View Post
For sending mail via SMTP, the remote clients just use the external (public) address of the main mail routing server (guest01).

For receiving mail, you will need to either:

* configure a load-balancer/proxy server in Guest01 that will proxy the connections to Guest02, Guest03, etc, based on the username. How you do this depends on which IMAP/POP server you are using (Cyrus IMAP uses MURDER, Zimbra uses a custom proxy, not sure what Courier or Dovecot use).

Or,

* you will have to tell each user which server their mail account resides on, and they will have to configure their mail clients accordingly.
Hi phoenix,


Thanks for your advice.


Based on what you suggest I found following interest links;

IndiMail
http://indimail.sourceforge.net/
IndiMail 1.0
http://mac.softpedia.com/get/Interne...IndiMail.shtml
INTRODUCTION
IndiMail is a mailing solution built using following packages

MySQL Proxy project
http://forge.mysql.com/wiki/MySQL_Proxy

POUND - REVERSE-PROXY AND LOAD-BALANCER
http://www.apsis.ch/pound/


B.R.
satimis
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
USB support in virtual machine? Sunnz OpenBSD Packages and Ports 2 16th November 2008 04:00 AM
Some networking help kevinz OpenBSD General 8 15th September 2008 03:34 AM
highly secure virtual machine uptonm OpenBSD Security 26 28th July 2008 10:10 PM
Extract ISO under OpenVZ virtual machine stukov Other BSD and UNIX/UNIX-like 1 14th May 2008 09:46 PM
Networking between bsd and mac rex FreeBSD General 7 12th May 2008 07:57 AM


All times are GMT. The time now is 09:33 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick