doc:appunti:linux:sa:offlineimap3_nametrans
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:linux:sa:offlineimap3_nametrans [2024/03/22 11:15] – [offlineimap3 IMAP syncronization: nametrans] niccolo | doc:appunti:linux:sa:offlineimap3_nametrans [2024/03/22 11:23] (current) – [The configuration file] niccolo | ||
|---|---|---|---|
| Line 69: | Line 69: | ||
| :!: **NOTICE**: The translated name of a sub-subfolder contains the original **directory separator** (.e.g. '' | :!: **NOTICE**: The translated name of a sub-subfolder contains the original **directory separator** (.e.g. '' | ||
| + | |||
| + | ===== The configuration file ===== | ||
| + | |||
| + | This is the overall **offlineimap.conf** file: | ||
| + | |||
| + | < | ||
| + | [general] | ||
| + | accounts = CopyFromIMAP | ||
| + | |||
| + | [Account CopyFromIMAP] | ||
| + | remoterepository = OldServer | ||
| + | localrepository = NewServer | ||
| + | |||
| + | [Repository OldServer] | ||
| + | type = IMAP | ||
| + | nametrans = lambda foldername: re.sub(r' | ||
| + | remotehost = mail.oldserver.com | ||
| + | remoteuser = username@oldserver.com | ||
| + | remotepass = MySecret | ||
| + | createfolders = False | ||
| + | |||
| + | [Repository NewServer] | ||
| + | type = Maildir | ||
| + | localfolders = / | ||
| + | </ | ||
| + | |||
| + | Notice the '' | ||
| + | |||
| + | To run the command with some debugging: | ||
| + | |||
| + | < | ||
| + | offlineimap -1 -c ./ | ||
| + | </ | ||
| ===== Web References ===== | ===== Web References ===== | ||
doc/appunti/linux/sa/offlineimap3_nametrans.1711102556.txt.gz · Last modified: by niccolo
