Hello Oswald,

This is more-less the config file I have, but indeed it doesn't work like that.


============= .mbsyncrc ============
SyncState *

### accout: pichon
IMAPAccount xxx
Host imaps:xxx
Port 993
User "xxxxxxxxx"
Pass "xxxxxxxxx"
RequireCRAM no
RequireSSL yes
UseIMAPS yes
UseSSLv2 yes
UseSSLv3 yes
UseTLSv1 yes
CertificateFile /etc/pki/Pipiche/CA/ca-pipiche-cert.pem

IMAPStore pichon_rem
Account xxxxxxxxx
UseNamespace yes

MaildirStore pichon_loc
Inbox "/var/vault/isync-Mails/pichon/Maildir"
Path  "/var/vault/isync-Mails/pichon/Maildir/"
AltMap no
Flatten .

Channel pichon
Master :pichon_rem:
Slave :pichon_loc:
#Sync New ReNew Flags
Sync Pull
Patterns INBOX *
Create Slave


=============== ls -l /var/vault/isync-Mails/pichon/Maildir

ls -l Maildir/
total 64
drwx------ 2 support support 40960 Apr 22 21:15 cur
drwx------ 5 support support  4096 Apr 22 21:15 D'Croche Moi La Montagne
drwx------ 5 support support  4096 Apr 22 21:15 eBay
drwx------ 5 support support  4096 Apr 22 21:15 Gandi
drwx------ 2 support support  4096 Apr 22 21:13 new
drwx------ 5 support support  4096 Apr 22 21:15 Polar
drwx------ 2 support support  4096 Apr 22 21:15 tmp


===== What I would expect is :
ls -l Maildir/
total 64
drwx------ 2 support support 40960 Apr 22 21:15 cur
drwx------ 5 support support  4096 Apr 22 21:15 .D'Croche Moi La Montagne
drwx------ 5 support support  4096 Apr 22 21:15 .eBay
drwx------ 5 support support  4096 Apr 22 21:15 .Gandi
drwx------ 2 support support  4096 Apr 22 21:13 new
drwx------ 5 support support  4096 Apr 22 21:15 .Polar
drwx------ 2 support support  4096 Apr 22 21:15 tmp


In short any new folder/doirectory created should be pre-fixed with '.'


Kind regards

Patrick Pichon
[email protected]



On 19 avr. 2013, at 09:19, Oswald Buddenhagen <[email protected]> wrote:

> On Thu, Apr 18, 2013 at 12:57:15PM +0200, Patrick PICHON wrote:
>> On the master (Imap server) the folder name is ~/Maildir/.myfolder
>> on the slave the folder created is : ~/Maildir/myfolder
>> I would like to have the folder created : ~/Maildir/.myfolder
>> 
> how does INBOX play into that? is there actually an inbox you want to
> sync separately?
> 
> assuming there is none, the solution is fairly simple:
> 
> MaildirStore pichon_loc
> #Path is not needed
> Inbox "~/Maildir"
> AltMap no
> Flatten .
> 
> Channel username
> Master :username_rem:
> Slave :username_loc:
> Patterns INBOX*
> 
> if you actually need an INBOX, the config would look like that:
> 
> MaildirStore pichon_loc
> # note the lack of a trailing slash!
> Path "~/Maildir"
> # being outside Path, this one cannot have subfolders due to flattening.
> Inbox "~/INBOX"
> AltMap no
> Flatten .
> 
> Channel username
> Master :username_rem:
> Slave :username_loc:
> Patterns * INBOX
> 
> there is a tiny problem with this: i don't think it will actually work.
> :}
> 
> 
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> isync-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/isync-devel


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to