I think I just figured this out myself.  I changed my Pattern line to exclude 
INBOX -- and it still gets the messages from my Gmail INBOX and puts them into 
INBOX-gmail as desired -- but does not put them into my local INBOX also.  I 
had misunderstood how the Pattern line would work.  I thought that excluding 
INBOX there would make it not pull from INBOX at all.  It appears that 
excluding INBOX on the Pattern line still does what I want: pulls them and puts 
them into my MapInbox location.

So, I think I'm all set unless someone notices something else in my config that 
should be changed.  Thanks!

  - John

On 5/6/2013 11:29 AM, John Goggan wrote:
>
> On 5/4/2013 3:01 AM, Oswald Buddenhagen wrote:
>> On Fri, May 03, 2013 at 03:00:54PM -0400, John Goggan wrote:
>>> Things work GREAT for everything except the main INBOX.  I can't find
>>> a way to put those messages into a DIFFERENTLY NAMED box at the slave
>>> end.  I can use MapInbox to specify a new INBOX name at the slave end
>>> -- but that appears to be just for doing a DUPLICATE of the INBOX.  It
>>> still syncs to my default INBOX at the slave end too.
>>>
>> that doesn't sound right. please post your config file (edit out the
>> passwords, obviously).
>
> Here it is:
>
> ----
> # Local Account:
> IMAPAccount      local-john
> Host             dcgtech.com
> User             john
> Pass             XXXXXXX
> UseIMAPS         yes
> CertificateFile  ~/.mbsync/dcgtech.crt
>
> # GMAIL:
> IMAPAccount      gmail-john
> Host             imap.gmail.com
> User             [email protected]
> Pass             XXXXXXX
> UseIMAPS         yes
> CertificateFile /etc/ssl/certs/ca-certificates.crt
>
> IMAPStore  gmail-john-cloud
> MapInbox   INBOX-gmail
> Account    gmail-john
>
> IMAPStore  local-john-gmail
> Path ~/mail/GmailArchive/
> Account    local-john
>
> Channel   gmail-john
> Master    :gmail-john-cloud:
> Slave     :local-john-gmail:
> Create    Slave
> Expunge   Slave
> Sync      Pull
> Patterns  *
> ---
>
> There are 6 messages in my gmail account.  When I run mbsync with this 
> configuration, it pulls the 6 emails and puts them into my default INBOX.  
> Then it pulls the same 6 emails again and puts them into the INBOX-gmail box 
> that I specified with the "MapInbox" line (and does so in the proper 
> directory as specified: ~/mail/GmailArchive/).
>
> What I want is for it to JUST put them into the INBOX-gmail box -- and not 
> also put them into my default INBOX.
>
> Thanks!
>
>    - John

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to