[Ilugc] Regarding Running an Email Server using Dial-Up connection

  • From: mohan.tux@xxxxxxxxx (Mohan Sundaram)
  • Date: Mon Oct 22 15:49:37 2007

Kenneth Gonsalves wrote:

On 22-Oct-07, at 2:11 PM, Vinayak Mahadevan wrote:

Due to certain operational difficulties I am forced to run  an email
server using a dial-up connection. Does anybody have any prior
experience in running such a setup. I am planning to use ubuntu 7.04
server edition. Are there any particular points I have to take into
account while planning this email server

I have run an email server for about 4 years on dialup - and dialin.  
The key thing is balancing mails to be sent and frequency of dialing  
up. I had two modems for dialin and one for dialup. And perl scripts  
to check when there is enough pending mail to justify a dial. The  
other problem is duplicate mails - you will be using fetchmail, and  
if the dialup quits, you get duplicates dowloaded. You need perl/ 
mysql db to look after this. I had great fun doing this - and I  
suggest you use perl and mysql for finetuning - nothing like using  
antique tools to handle antique situations.

Fetchmail is great fun to use - I suggest also to make extensive use  
of procmail recipies. The greatest tool to learn linux admin is  
running a dialup mailserver.

I was doing this too for a long while. Duplicate mails were not an issue 
as my dialup was stable. In fetchmail, to minimise duplicates, you can 
expunge using the -e option every x msgs thus limiting duplicates. I 
have not used it but I'm guessing the -b option probably send a quit 
flushing retrieved msgs.

You'll also need to set up a catch-all email bag for your domain at your 
ISP and pop it using fetchmail in multidrop mode. Make sure the bag is 
big enough to avoid bounces. Function of expected mail sizes, frequency 
of arrival and frequency of pickup. No set rule. If you get to use Gmail 
for domains, then probably this will not be an issue.

Mohan

Other related posts: