Daniel Kahn Gillmor <d...@fifthhorseman.net> writes:

> +[destination]
> +path = /home/foo/Maildir
> +

First thanks for writing this. I gave it a quick spin and noticed

1) It would be nice if path= supported ~ expansion, as getmail does;
that's easy to work around for one machine, but it's harder to share
configs between different machines.

2) ./imap-dl ~/.getmail/getmailrc crashes with
Traceback (most recent call last):
  File "./imap-dl", line 196, in <module>
    pull_msgs(confname)
  File "./imap-dl", line 166, in pull_msgs
    sizes[m['uid']], m['size']))
Exception: summary said 27777 octets, fetch sent 7207

My getmailrc looks like

[retriever]
type=SimpleIMAPSSLRetriever
server=smtp.office365.com
username=m...@example.com
password=rootme

[destination]
type=Maildir
path=/home/bremner/Maildir/foo

[options]
delete=1

It seems like getmail does indeed fetch 27777 bytes for that message,
I'm not sure what the partial fetch indeicates. I can't rule out malice
or incompetance on the part of the imap provider.

Reply via email to