Re: handle countermail serverside encrytion

Charles Cazabon <[email protected]>
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
[email protected] <[email protected]> wrote:
> 
> When getmail fetches the mail before encryption ran it will see it as a
> new mail after encyption. Thus, it duplicates these mails in its
> destination mailbox.

That must mean the server is assigning the message a new unique ID when it
encrypts it.  This makes sense, as the easiest way to do what they do is to
poll mailboxes for unencrypted mail, queue a new encrypted message for them,
and then delete the originals.

> Can getmail do that more gracefully? Ideally it should not download the
> encrypted version if the unencrypted one was already fetched.

No.  getmail relies on the unique message ID actually being unique, and so it
uses that to track "seen" status.

Your best bet is probably to add a filter (you can do this in getmail) to
simply drop messages that aren't encrypted.  Then the next time getmail runs,
it will fetch the encrypted copy, which passes the filter.

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.