I'm following The Hacker's Replacement for Gmail, using (as suggested) Debian 7 on a VPS.
If I configure it for "normal" IMAP I can successfully receive email into INBOX. So I'm doing something right. However the idea here is instead to put the mail in an Archive folder, then use notmuch to tag and maybe move to an Important folder.
The author says to make a ~/.forward file like this:
# Exim filter
save Maildir/.Archive
explaining:
What this does is put all mail that is recieved into the Archive subdirectory (the dots are convention of the version of the Maildir format that Courier-IMAP uses).
If I follow these instructions exactly, then Exim4 creates a Maildir/.Archive file and keeps appending the messages to it. But then notmuch doesn't find them.
I thought perhaps the author omitted that I need to use makemaildir to create a Maildir/.Archive directory. So I tried that, but then Exim4 doesn't store the messages. Instead var/log/exim4/mainlog has entries like this:
2013-07-07 21:54:42 1Uvwuo-0007CH-5m == /home/i/Maildir/.Archive <i@domain.com> R=userforward T=address_file defer (-4): mailbox /home/i/Maildir/.Archive has too many links (5)
Maybe I'm being dense, but I don't understand what "too many links" means in this regard.
I've been going in circles for many hours and seem completely stuck. Maybe learning about Maildir++, Exim, Courier, and notmuch all at once is too much. Can anyone please point me in the right direction?
p.s. I would have tagged this notmuch, too, but I lack rep.