On Sat, 4 Dec 1999, Gustav Schaffter said:
GS>Chuck,
GS>
GS>Had some good times reading that HOWTO. :-) My wife was asking why I was
GS>laughing so loud in the bathroom... Hrm, nuff said about that.
GS>
GS>I start to realize that I need to run fetchmail to get the mail from the
GS>external POP server. I let fetchmail give the mail to procmail. Then
GS>what?
Here's a sample of a multi-user fetchmailrc file:
poll your.isp.net proto pop3 user gustav is gus here password hidden
poll your.isp.net proto pop3 user honey is wife here password hidden
poll your.isp.net proto pop3 user billy is gusjr here password hidden
poll your.isp.net proto pop3 user mary is lilsis here password hidden
The key to this is the part where it says 'user soandso is someone' else 'here'.
It's making the leap between differing account names external and local. That is
critical as what it does is tells fetchmail to adjust the intended envelope
recipient to match the user's local account name (e.g. on your machine there).
You would create this file as .fetchmailrc in root's home directory and then
run fetchmail when you connect. If your users are all using a single remote
account you will have to adjust your thinking and sort the mail using
procmail. This methodology is defined in the HOW-TO I referenced before.
The structure of events is like this:
fetchmail gets the mail
fetchmail hands the mail off to sendmail
sendmail determines that the mail is for a local user
sendmail hands the mail off to procmail
procmail places the mail into the mail spool
GS>procmail gives the mail to for instance the user <me>? If so I won't be
GS>able to read it with NetScape. Right?
GS>
GS>Do I need to setup a local POP server here? If so, I let fetchmail
GS>forward the mail to procmail that gives it to the local POP server?
GS>NetScape will get the e-mail from the local POP server?
GS>
GS>Does that make sense?
GS>
GS>Gustav
GS>
GS>Chuck Mead wrote:
GS>> It should help get you started... Q&A is fine, here or on mailhelp... after
GS>> all... we're the web archive for both... <grin>!
GS>
GS>
GS>
--
Chuck Mead, CTO, MoonGroup Consulting, Inc. <http://moongroup.com>
Mail problems? Send "s-u-b-s-c-r-i-b-e mailhelp" (no quotes and no
hyphens) in the body of a message to [EMAIL PROTECTED]
Public key available at: wwwkeys.us.pgp.net
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.