[99266] in RedHat Linux List
Re: local mail server for offline mail r,w - how?
daemon@ATHENA.MIT.EDU (Anthony E. Greene)
Fri Nov 13 07:02:42 1998
Date: Fri, 13 Nov 1998 12:48:29 +0100
To: redhat-list@redhat.com
From: "Anthony E. Greene" <agreene@pobox.com>
In-Reply-To: <XFMail.981112111045.hugo.rabson@zetnet.co.uk>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
At 11:10 1998-11-12 -0000, Hugo Rabson wrote:
>If you please, how would I go about setting up my local mail-server
>(localhost) to download non-local new email from a POP3 server (my ISP) and
>then post non-local outgoing emails to the SMTP server (my ISP, again) at
>night, in one big batch?
>
>I think it's something like this:-
>
>1) configure fetchmail to grab mail from mail.zetnet.co.uk (pop3 server)
>2) forward Hugo's mail to user 'hugo' ... using procmail perhaps?
>3) view the email account of user 'hugo' with a mail-reader such as XfMail
>4) use sendmail to send the outgoing non-local emails in batch mode (?)
>
>I am happy to RTFM, of course :) but I'm not sure which FMs to R.
>
>Any advice is appreciated. A simple "read this faq" would be valuable. ;)
The procmail and fetchmail man pages have all the info you need.
Procmail has an option to specify the mailbox to deliver mail to as a
command line option.
Fetchmail has variables to specify the username and to specify the delivery
agent. The default is to use port 25, but you'll want to specify procmail.
Take a look around at <http://www.moongroup.com/unix/mail_clients.html>.
Tony
--
Anthony E. Greene <agreene@pobox.com>
Homepage and PGP Key: <http://www.pobox.com/~agreene/>
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.