Offlineimaprc default setting.

Nicolas Sebrecht nicolas.s-dev at laposte.net
Fri Mar 20 18:47:59 UTC 2015


On Fri, Mar 20, 2015 at 01:43:27PM -0400, Shiyao Ma wrote:
> On Fri, Mar 20, 2015 at 10:56 AM, Nicolas Sebrecht

> > This is not clear since each repository belongs to an account. Each
> > repository name MUST be uniq.
> 
> This sentence confuses me most.
> 
> I just did a simple check,
> https://github.com/OfflineIMAP/offlineimap/blob/master/offlineimap/repository/Base.py#L31
> 
> Does that mean any setting on the account will be inherited by its
> associated repo? (and those settings directly under the repo are to
> override the settings inherited from the accout?)

No, check the offlineimap.conf file

 https://github.com/OfflineIMAP/offlineimap/blob/master/offlineimap.conf#L232

Each account is defined by two repositories, one called
"localrepository" and the other "remoterepository".

What I meant is that one value of a repository can't be used in another
account definition. So, it is uniq.

So, saying "same goes with repos" does not makes sense. UNLESS you're
talking about the settings *IN* a repository section, which is something
sightly different! :-)

-- 
Nicolas Sebrecht



More information about the OfflineIMAP-project mailing list