Re: beginner questions

Charles Cazabon <[email protected]>
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
[email protected] <[email protected]> wrote:
> Is there a way to use it on Windows without Cygwin? A few modules are
> missing and I couldn't get it to work.

I don't have any Windows machines to check, so I'm not certain, but I would
have thought it would work with the Windows-native Python.  I don't recall
using any Unix-only modules in getmail.

What missing modules and error messages do you get on Windows?

> is this possible with Getmail:
> After or before retrieving messages from an IMAP-server, delete messages
> from server that match a condition (sender/subject/...) or a combination of
> them?

Not directly; getmail doesn't do that.  Regarding message deletion on the
server there are four options:

    o never delete messages from the server
    o delete messages from the server immediately after successfully
        delivering them locally
    o delete messages from the server X days after successfully
        delivering them locally
    o only delete messages bigger than a certain size after successfully
        delivering them locally

The last two can be combined.

Suggestion: use your mail provider's filtering/sorting mechanism to sort your
messages based on sender/subject/etc into different folders.  Then you can
configure getmail to retrieve messages from folder A and leave them on the
server, while retrieving messages from folder B and deleting them from the
server afterwards.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon
GPL'ed software available at:               http://pyropus.ca/software/
-----------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.