On Fri, Mar 15, 2002 at 08:34:11AM -0800, Harry Putnam wrote:
> Setup: RH 7.1
>        Single user home machine
>        DSL connected
>        Mail retrieval thru fetchmail from POP3
>        2 other houshold machines running one or another MS platform.
>    
>        All are setup behind a hardware firewall (Netgear FR314)     
> 
> I want to do something I haven't ever played around with yet.  Set up
> a home mailserver for 3-4 home machines.
> 
> Instead of having each machine retreive its mail from the internet, I
> want to have one machine do all retreival and the others to be aimed
> at it as there pop server.
> 
> So use fetchmail to retreive all accounts.  Then set up what ever is
> necessary for other machines on the home network to retreive there mail
> from that central machine.
> 
> I hoped someone who is doing this could provide a basic outline of
> what needs to happen in general.
> 
> After browsing a few of the howtos that cover mail setups, it appears
> that maybe qualcomms `qpopper' is one common tool used for this.  But
> it isn't part of redhat distros so maybe there are redhat tools that
> would work better or be more redily set up and available in rpm format.

All the tools are provided by Red Hat out of the box.  What I do is to first
create each user on my Linux system that I want to provide mail for (all 2
of us :-)).  In that user account, create a .fetchmailrc that goes and gets
the mail.  Here's an example:

set postmaster "ewilts"
set bouncemail
set properties ""
poll mail.attbi.com with proto POP3
        user 'ewilts' there with password 'yourekidding' is ewilts here

Now create a cron entry for the user that actually goes and gets the mail:
*/30 * * * * fetchmail -s
In my case, it's every 30 minutes since I rarely use the attbi address - the
vast majority of my mail goes directly into my Linux system.  You may to
have your mail checked every 10 or 15 minutes.

Now make sure that imap (which also does pop) is installed and running:
[ewilts@www ewilts]$ rpm -q imap
imap-2000c-10
[ewilts@www ewilts]$ /sbin/chkconfig imap --list
imap            on
[ewilts@www ewilts]$ /sbin/chkconfig --list | grep pop
        ipop2:  off
        ipop3:  on
        pop3s:  off

You're now in the position of offering pop and imap services to your users.
Simply go to the user's desktop (Outlook, Eudora, whatever) and configure the
pop server to be your Linux system.  You can use the IP address or internal
DNS name - I don't offer pop/imap through my firewall but your mileage may
vary.  Your smtp server can be the same server you're using today or you can
use your Linux system (which will require extra configuration for sendmail).
In order to have fetchmail actually work, you'll need sendmail installed and
configured since that's how fetchmail typically delivers its mail.

My wife uses pop and I use imap - it's the end user's choice where and how you
read and manage your mail.

It works like a charm for me!
        .../Ed

-- 
Ed Wilts, Mounds View, MN, USA
mailto:[EMAIL PROTECTED]



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to