nixCraft Linux Forum

nixCraft

Linux / UNIX 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

Linux answers from nixCraft.


Mail Servers Discussion on Postfix/Sendmail Mail servers and related program such as IMAP/POP3, Anti-Spam technologies.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-01-2007, 10:29 AM
Member
User
 
Join Date: Jul 2005
Posts: 85
Thanks: 0
Thanked 0 Times in 0 Posts
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
  #2 (permalink)  
Old 04-01-2007, 12:37 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 244 Times in 183 Posts
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 Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #3 (permalink)  
Old 04-01-2007, 09:33 AM
Member
User
 
Join Date: Jul 2005
Posts: 85
Thanks: 0
Thanked 0 Times in 0 Posts
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


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 Off


Similar Threads

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


All times are GMT +5.5. The time now is 05:56 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

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 37 38