nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Help in setting up an email server and net gateway

This is a discussion on Help in setting up an email server and net gateway within the Mail Servers forums, part of the Mastering Servers category; I want to move an existing email setup in one of my friends place to Linux /OSS. Currently it is ...


Go Back   nixCraft Linux Forum > Mastering Servers > Mail Servers

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 01-03-2007, 10:29 AM
Member
User
 
Join Date: Jul 2005
Posts: 85
Rep Power: 0
ricc
Default Help in setting up an email server and net gateway

I want to move an existing email setup in one of my friends place to Linux /OSS. Currently it is done using WInXP and Postmaster vpop mail server. ICS is enabled and clients can browse the net without using any proxy.

I am thinking of using FC6, Sendmail, Squid/IP Tables combination. The problem here is, that he has a domain name and email space with one service provider. This service provider gives an pop based email accont that is a "catch-all" account. VPOP does it brilliantly. It retrieves the emails from this email account and distributes it among the locally created email boxes.

I am unable to figure out how to do this with sendmail/fetchmail combination.

All I get from Googling is that fetchmail fetches individual emails. I dont understand how it distribues the mails specified for a particular user. Also, it has to be run by a particular user and not as a daemon. I want to understand the way we can retrieve the emails from the catch-all account and distribute it among local mailboxes.

Thanks for any inputs,

ricc
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-04-2007, 12:37 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Any distro with shell
Posts: 962
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Catch-all or multipdrop box is configured as follows.

First sendmail a/c for user vivek tom jerry and rakhi for example.

You need to add code as follows to fetchmailrc file:
Code:
poll pop3.vsnl.net user POP3USERNAME with pass POP3PASSWORD to vivek tom jerry 'rani'='rakhi' here
Now,
email send to vivek@domain.com will go to local sendmail a/c vivek
email send to tom@domain.com will go to local tom a/c
email send to jerry@domain.com will go to local jerry a/c
email send to rani@domain.com will go to local rakhi a/c

pop3.vsnl.net -> catch-all to POP3USERNAME@domain.com -> fetchmail -> send to a/c as per rule

Let me know if you need any further help
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #3 (permalink)  
Old 01-04-2007, 09:33 AM
Member
User
 
Join Date: Jul 2005
Posts: 85
Rep Power: 0
ricc
Default

Thanks Vivek,

I will try it out and post the result. I have a doubt about emails for users not created locally.

What happens to those emails which have the a spelling mistake. Like if Vivek was mistyped as Vivwk.

Can we redirect it to some default user in the system?. And which user do we run fetchmail as?. As root or can it be any user?

ricc
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Automated email srinivasantarvedi CentOS / RHEL / Fedora 4 04-14-2008 07:26 PM
Suse Enterprise Linux server Set Network card (NIC) to Full duplex setting raj Networking, Firewalls and Security 1 03-20-2008 03:33 PM
Email Server, suggestions? s1lent Mail Servers 7 03-09-2008 09:46 AM
required linux email help vaishalichitale Linux software 4 06-20-2006 01:20 PM
remote x via ssh gateway ricc Linux software 1 01-05-2006 06:16 PM


All times are GMT +5.5. The time now is 06:01 AM.


Powered by vBulletin® Version 3.7.3 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36