SLUG Mailing List Archives
Re: [SLUG] erk, fetchmail
- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] erk, fetchmail
- From: John Clarke <johnc@xxxxxxxxxxxxxxxxxx>
- Date: Fri May 4 12:54:01 2001
- User-agent: Mutt/1.2.5i
On Fri, May 04, 2001 at 12:33:35PM +1000, Catie Flick wrote:
> I'm currently playing with fetchmail (curse, boo, hiss etc) and I have a
> couple of email addresses that are just mine (so 'fetchall' is fine), but
> one that the development team looks at (so it needs to stay on the
> server). I can use 'keep' (-k), but it means that each time fetchmail
> polls the mailbox, *all* the messages are downloaded again. It seems as
> though this isn't the ideal behaviour... does anyone have any ideas as to
> how to get it to download only the ones I've already downloaded, but leave
> the things on the server?
`fetchall' and `keep' are per-user options, so you could put something
like this in your .fetchmailrc:
poll server1 protocol pop3 username "user1" password "password1"
poll server2 protocol pop3 username "user2" password "password2"
nofetchall keep uidl
The `uidl' option forces client-side tracking of newness of messages so
that you download messages that you've not seen, rather then messages
that no-one has seen.
The next problem you'll have is that if everyone does this, the shared
mailbox on the server is never emptied ...