<DKIM> folders with gmail
Nicolas Sebrecht
nicolas.s-dev at laposte.net
Tue Aug 23 23:07:57 BST 2016
On Tue, Aug 23, 2016 at 08:04:20PM +0000, Jethro Tull wrote:
> Depending on how offlineimap is processing the config file, it could do make
> sense to have many nametrans instances per section. The documentation is not
> saying enough about this. Anyway, what if I need several folders name from a
> single imap account to be translated?
>
> In my personal case the folders on the gmail imap are [Gmail]/{Sent mail, All
> mails} and I want locally {sent,all} respectively. What are the suggestions for
> the content of my config file?
The proper way is to use a pythonfile with all the functions you need.
For example:
def nametrans_accountA_to_remote(folder):
if folder is 'something':
return 'something_else'
return folder
nametrans = nametrans_accountA_to_remote
> Well... what about my first question?
What about my previous response?
--
Nicolas Sebrecht
More information about the OfflineIMAP-project
mailing list