[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Sheflug] fetchmail
> -----Original Message-----
> From: Jose Luis Gomez Dans [mailto:nospam [at] faust]On Behalf Of Josi Luis
> Gsmez Dans
> Sent: 06 February 2001 11:20
> To: Sheflug
> Subject: Re: [Sheflug] fetchmail
>
>
> On Mon, Feb 05, 2001 at 08:08:30PM +0000, Andrew Basterfield wrote:
> > Fetchmail can be set up to grab mail for more than one user at
> once but it
> > only appears to do 1:1 mapping pop3-accounts to local-accounts
> not one to
>
> Sorry, I can't quite remember your original problem, but it
> looks as if procmail might be of help here. I don't know how your ISP
> sends mail from the POP3 server to your machine, but presumably, you can
> use the To: header to discriminate between different users. This is
> procmail's job, I guess.
>
It can be done with fetchmail. We pick up mail from an old Demon account as
well as running fetchmail to recover from Plusnet in case our T1 goes down
and mail ends up in POP3 mailboxes. The configuration in ~/.fetchmailrc
would be something like:
poll pop3.demon.co.uk with proto POP3 localdomains allvac-smp.co.uk
user "<user>" there with password "<password>" to * here smtphost
<smtpserver>
The trick is the 'to * here' which forces delivery through SMTP to the local
mailboxes.
For the record, qmail is our local MTA.
It works for us.
--
David Morris
IT Manager, ALLVAC Ltd, Sheffield, UK
work: david [at] allvac.co.uk
home: david [at] brassedoff.net http://www.davidm.demon.co.uk
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.