Hi Wojciech,
On Sat, Jul 15, 2017 at 12:58PM, Wojciech Żuk wrote:
> Meanwhile I have updated (system wide installation) to newest 7.1.2 and I
> think i resolved problem with certificates - I added to every
> repository sslcacertfile
> = /etc/ssl/certs/ca-certificates.crt
>
>
> but have next problem, offlineIMAP runs without errors but not syncing
> mails:
I believe the folderfilter/nametrans rules are wrong. See below:
> [Repository WPlocal]
> [...]
> folderfilter = lambda folder: folder in ['Trenowanie', 'Xpertis',
> 'Citibank', 'Mbank', 'INBOX', 'Wys&AUI-ane']
> nametrans = lambda foldername: re.sub ('INBOX', '[email protected]',
> re.sub ('Xpertis', '[email protected]/Xpertis',
> re.sub ('Citibank', '[email protected]/Citibank',
> re.sub ('Mbank', '[email protected]/Mbank',
> re.sub ('Trenowanie', '[email protected]/Trenowanie
> ',
> re.sub ('Wys&AUI-ane', '....@
> wp.pl/Wys&AUI-ane', foldername))))))
and
> [Repository Gmail-wp]
> [...]
> folderfilter = lambda folder: folder in ['[email protected]/Trenowanie', '....@
> wp.pl/Xpertis',
> '[email protected]/Citibank', '....@
> wp.pl/Mbank', '[email protected]', '[email protected]/Wys&AUI-ane']
> [...]
> nametrans = lambda foldername: re.sub ('[email protected]', 'INBOX',
> re.sub ('[email protected]/Xpertis', 'Xpertis',
> re.sub ('[email protected]/Citibank', 'Citibank',
> re.sub ('[email protected]/Mbank', 'Mbank',
> re.sub ('[email protected]/Trenowanie',
> 'Trenowanie',
> re.sub ('[email protected]/Wys&AUI-ane',
> 'Wys&AUI-ane', foldername))))))
You have set folderfilter/nametrans rules for e.g., Citibank but...
> [...]
> *** Finished account 'WP' in 0:02
> Account sync polan:
> [thread]: Register new thread 'Account sync polan' (account 'polan')
> [imap]: Using authentication mechanisms ['LOGIN']
> [imap]: Using authentication mechanisms ['GSSAPI', 'XOAUTH2', 'CRAM-MD5',
> 'PLAIN', 'LOGIN']
> *** Processing account polan
> Establishing connection to imap.gmail.com:993 (Gmail-polan)
> [thread]: Unregister thread 'Account sync WP'
> [imap]: Attempting LOGIN authentication
> [imap]: Attempting IMAP LOGIN authentication
> []: Filtering out 'INBOX'[Gmail-polan] due to folderfilter
> []: Filtering out 'Notes'[Gmail-polan] due to folderfilter
> []: Filtering out '[Gmail]/Kosz'[Gmail-polan] due to folderfilter
> []: Filtering out '[Gmail]/Oznaczone gwiazdk&AQU-'[Gmail-polan] due to
> folderfilter
> []: Filtering out '[Gmail]/Spam'[Gmail-polan] due to folderfilter
> []: Filtering out '[Gmail]/Wa&AXw-ne'[Gmail-polan] due to folderfilter
> []: Filtering out '[Gmail]/Wersje robocze'[Gmail-polan] due to folderfilter
> []: Filtering out '[Gmail]/Wys&AUI-ane'[Gmail-polan] due to folderfilter
> []: Filtering out '[email protected]'[Gmail-polan] due to folderfilter
> []: Filtering out '[email protected]/Citibank'[Gmail-polan] due to folderfilter
> []: Filtering out '[email protected]/Mbank'[Gmail-polan] due to folderfilter
> []: Filtering out '[email protected]/Trenowanie'[Gmail-polan] due to folderfilter
> []: Filtering out '[email protected]/Wys&AUI-ane'[Gmail-polan] due to
Offlineimap found the above folders (e.g., Citibank) on the polan
account, not the WP one. Is it possible that you mixed the accounts?
> I didn't touch config file as this worked before upgrade from 6 to v7
> version.
The reverse nametrans was added to version v6.4.0, whereas you migrated
from 6.3, so that's why it used to work till now. Many things have
changed since v6.3. Please have a look at
/usr/share/doc/offlineimap/NEWS.Debian.gz.
Cheers,
--
Ilias
_______________________________________________
OfflineIMAP-project mailing list: [email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project
OfflineIMAP homepages:
- https://github.com/OfflineIMAP
- http://offlineimap.org