I believe this has been discussed before, but not being sure I understand the solution, I wan't to ask: Is there a way to keep always the most recent N messages in the slave for a fixed N and without accounting for their new, old or read status?
I have a large maildir at my office server with tons of unread messages. I have a laptop with a full copy of the maildir which I keep in synch using mbsync. Has worked great for years. Recently, I installed debian/testing on an Asus Transformer TF300T tablet. I would like to use mbsync and mutt to access my email, but I don't want to download the complete maildir, but only, say, the most recent 100 messages, irrespective of their status (new, old or read). If I delete and expunge in the slave some few messages and sync again, I would like the corresponding messages to be deleted in the master and then enough messages to be fetched from the master to fill again the quota of the most recent 100 messages in the slave. Finally, if new messages arrive to the master, I would the corresponding number of messages to be deleted from the slave (not from the master) so that it ends up again with only the 100 most recent ones. Would 'MaxMessages 100' achieve what I want? >From what I read, it seems to me that only using MaxMessages 100 would fetch all of my unread messages which are >>100, while using 'MaxMessage 100' and 'ExpireUnread yes' might remove unread messages leaving me with less than 100. Best regards, Luis -- o W. Luis Mochán, | tel:(52)(777)329-1734 /<(*) Instituto de Ciencias Físicas, UNAM | fax:(52)(777)317-5388 `>/ /\ Apdo. Postal 48-3, 62251 | (*)/\/ \ Cuernavaca, Morelos, México | moc...@fis.unam.mx /\_/\__/ GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16 C2DF 5F0A C52B 791E B9EB ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel