forum/special remote for IMAPgit-annexhttp://git-annex.branchable.com/forum/special_remote_for_IMAP/git-annexikiwiki2014-09-12T18:57:07ZNeat ideahttp://git-annex.branchable.com/forum/special_remote_for_IMAP/comment_1_7c7d4b57a1b6508fff1a6b0508c861f8/joeyh.name2013-11-27T22:47:37Z2012-10-26T18:35:21Z
<p>I imagine that most mail servers have a maximum attachment size; that seems the most likely problem with using this.</p>
<p>The directory special remote has support for splitting up keys into chunks to work around file size limits. It would be good, I suppose, to add that to the hook special remote too.</p>
chunkinghttp://git-annex.branchable.com/forum/special_remote_for_IMAP/comment_2_9c46fe8a857aa7a5ce797288144386bd/lee2013-11-27T22:47:37Z2012-10-26T22:05:16Z
That's a good point. But the splitting could easily be added to the hooks, and wouldn't need to be built in to git-annex.
comment 3http://git-annex.branchable.com/forum/special_remote_for_IMAP/comment_3_27e3b644df6942ce4c103236d0d5cb1b/Tobias2013-11-27T22:47:37Z2013-05-22T09:53:47Z
<p>I had to change the checkpresent hook to:</p>
<pre><code>hogneygmail-checkpresent-hook = (imaputils.pl --subject $ANNEX_KEY --count | grep -q \"1 messages\" -) && echo $ANNEX_KEY || exit 0
</code></pre>
<p>Also, i have 5 files more than 30MB in size, that refuse to transfer.</p>
<p> postdrop: warning: uid=1001: File too large
sendmail: fatal: tou(1001): message file too big
Error sending message, child exited 75 (Deferred.).
Could not send the message.</p>
<p> store hook exited nonzero!
failed</p>
<p>This really needs some split operations to support large files.</p>
comment 4http://git-annex.branchable.com/forum/special_remote_for_IMAP/comment_4_0f8e01c453afb02aebf44b3fb2c9a7c1/Giovanni2014-09-12T18:57:07Z2014-09-12T18:57:07Z
Does this somehow scan the IMAP server for attachments already there?