Mail forwarding to a dynamic IP address.

2006-10-19 Thread Rajeev R Veedu








I have a Cyrus installation with postfix and open xchange. I
get the mails from catchall account with procmail and distribute with the mail
server. Now I have a new site office where couples of staff members are going
to be relocated. 

Since we have only an ADSL line on site office if there any
way I could forward the mails for these staff members to another Mail Server
with dynamic IP address?



Any input will be really appreciated.



Thanks



Rajeev R. Veedu.







Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Re: Mail forwarding to a dynamic IP address.

2006-10-19 Thread Martin G.H. Minkler

Rajeev R Veedu schrieb:

Since we have only an ADSL line on site office if there any way I could 
forward the mails for these staff members to another Mail Server with 
dynamic IP address?


Use a dyndns service [1] to make the remote ADSL IP resolvable by name 
and forward directly to that, then forward port 25 in Your firewall 
setup at the remote site to the mailserver inside the remote intranet 
(guessing at Your setup here).


e.g. have Your distributing mail server's virtual-maps state something 
like this


[EMAIL PROTECTED]   [EMAIL PROTECTED]

NB:
After automatic disconnects of the ADSL line until Your dyndns-client 
updates the IP You will get timeouts in Your logs but those are 
temporary and should be retried anyway.


To make things look nice You can create an explicit MX record for the 
dyndns domain. Remember to set the remote mailserver to accept mails 
addressed to the dyndns domain.


Even nicer: Use TLS between the two servers, maybe even with certs.


[1] https://www.dyndns.com/services/dns/dyndns/features.html

have fun

Martin

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Mail forwarding to a dynamic IP address.

2006-10-19 Thread Michael Menge

Hi,

Quoting Rajeev R Veedu [EMAIL PROTECTED]:


I have a Cyrus installation with postfix and open xchange. I get the mails
from catchall account with procmail and distribute with the mail server. Now
I have a new site office where couples of staff members are going to be
relocated.

Since we have only an ADSL line on site office if there any way I could
forward the mails for these staff members to another Mail Server with
dynamic IP address?



You can set up an DDNS Server (Dynamic Domain Name Service) or use a free DDNS
and tell the DDNS the new IP every time you connect via DSL.

Or you use fetchmail or imapsync to download the E-Mails from the Main  
Mailserver





Any input will be really appreciated.



Thanks



Rajeev R. Veedu.







M.Menge Tel.: (49) 7071/29-70316
Universitaet Tuebingen  Fax.: (49) 7071/29-5912
Zentrum fuer Datenverarbeitung  mail:  
[EMAIL PROTECTED]

Waechterstrasse 76
72074 Tuebingen


smime.p7s
Description: S/MIME krytographische Unterschrift

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html