Exemplary Configs
Philippe LeCavalier
support at plecavalier.com
Thu Jan 27 00:15:02 GMT 2011
Hi.
On Thu, 2011-01-13 at 11:21 +0100, Sebastian Spaeth wrote:
> On Thu, 13 Jan 2011 08:51:22 +0100, Thomas Kahle <tomka at gentoo.org> wrote:
> > pythonfile=~/bin/offlineimap-helpers.py
> >
> > Then some account might look like this
> >
> > [Repository acc1remote]
> > type = IMAP
> > remotehost = imap.acc1.com
> > remoteusereval = get_username("imap.acc1.net")
> > remotepasseval = get_password("imap.acc1.net")
> > nametrans = oimaptransfolder_acc1
> > ssl = yes
> >
> > Note how nametrans is set to a function in the python file which looks
> > like this:
> >
> > import re
> > def oimaptransfolder_acc1(foldername):
> > if(foldername == "INBOX"):
> > retval = "acc1"
> > else:
> > retval = "acc1." + foldername
> > retval = re.sub("/", ".", retval)
> > return retval
>
> Nice, it would make sense to copy these useful bits into a "exemplary
> set ups" of "configuration examples" or "use cases" document IMHO.
>
> Sebastian
Thomas, now that we have a new site on the way can we pull some examples
from your site[1] like the one above along with your explanations?
[1] http://dev.gentoo.org/~tomka/mail.html
Phil
More information about the OfflineIMAP-project
mailing list