<DKIM> offlineimap stop working after update
Ilias Tsitsimpis
i.tsitsimpis at gmail.com
Sat Jul 15 14:23:18 BST 2017
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', '.... at wp.pl',
> re.sub ('Xpertis', '.... at wp.pl/Xpertis',
> re.sub ('Citibank', '.... at wp.pl/Citibank',
> re.sub ('Mbank', '.... at wp.pl/Mbank',
> re.sub ('Trenowanie', '.... at wp.pl/Trenowanie
> ',
> re.sub ('Wys&AUI-ane', '....@
> wp.pl/Wys&AUI-ane', foldername))))))
and
> [Repository Gmail-wp]
> [...]
> folderfilter = lambda folder: folder in ['.... at wp.pl/Trenowanie', '....@
> wp.pl/Xpertis',
> '.... at wp.pl/Citibank', '....@
> wp.pl/Mbank', '.... at wp.pl', '.... at wp.pl/Wys&AUI-ane']
> [...]
> nametrans = lambda foldername: re.sub ('.... at wp.pl', 'INBOX',
> re.sub ('.... at wp.pl/Xpertis', 'Xpertis',
> re.sub ('.... at wp.pl/Citibank', 'Citibank',
> re.sub ('.... at wp.pl/Mbank', 'Mbank',
> re.sub ('.... at wp.pl/Trenowanie',
> 'Trenowanie',
> re.sub ('.... at wp.pl/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 '..... at wp.pl'[Gmail-polan] due to folderfilter
> []: Filtering out '..... at wp.pl/Citibank'[Gmail-polan] due to folderfilter
> []: Filtering out '..... at wp.pl/Mbank'[Gmail-polan] due to folderfilter
> []: Filtering out '..... at wp.pl/Trenowanie'[Gmail-polan] due to folderfilter
> []: Filtering out '..... at wp.pl/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
More information about the OfflineIMAP-project
mailing list