{"action":"created","issue":{"url":"https://api.github.com/repos/modoboa/modoboa-imap-migration/issues/10","repository_url":"https://api.github.com/repos/modoboa/modoboa-imap-migration","labels_url":"https://api.github.com/repos/modoboa/modoboa-imap-migration/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/modoboa/modoboa-imap-migration/issues/10/comments","events_url":"https://api.github.com/repos/modoboa/modoboa-imap-migration/issues/10/events","html_url":"https://github.com/modoboa/modoboa-imap-migration/issues/10","id":203862307,"number":10,"title":"imap migration does not sync inboxes","user":{"login":"hadifarnoud","id":589808,"avatar_url":"https://avatars.githubusercontent.com/u/589808?v=3","gravatar_id":"","url":"https://api.github.com/users/hadifarnoud","html_url":"https://github.com/hadifarnoud","followers_url":"https://api.github.com/users/hadifarnoud/followers","following_url":"https://api.github.com/users/hadifarnoud/following{/other_user}","gists_url":"https://api.github.com/users/hadifarnoud/gists{/gist_id}","starred_url":"https://api.github.com/users/hadifarnoud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadifarnoud/subscriptions","organizations_url":"https://api.github.com/users/hadifarnoud/orgs","repos_url":"https://api.github.com/users/hadifarnoud/repos","events_url":"https://api.github.com/users/hadifarnoud/events{/privacy}","received_events_url":"https://api.github.com/users/hadifarnoud/received_events","type":"User","site_admin":false},"labels":[{"id":222768586,"url":"https://api.github.com/repos/modoboa/modoboa-imap-migration/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-01-29T10:31:37Z","updated_at":"2017-01-31T07:21:16Z","closed_at":null,"body":"I followed instructions, emails are created after login but inbox sync does not happen. there is no error when I run the cron job manually via below command:\r\n\r\n`runuser -l vmail -c '/srv/modoboa/env/bin/python /srv/modoboa/instance/manage.py generate_offlineimap_config --output .offlineimaprc && /usr/local/bin/offlineimap'`\r\n\r\n\r\n.offlineimaprc\r\n\r\n```\r\n[general]\r\naccounts = m.dalaei@farancell.com\r\npythonfile = ~/.offlineimap.py\r\n\r\n\r\n[Account m.dalaei@farancell.com]\r\nlocalrepository = Local_m.dalaei@farancell.com\r\nremoterepository = Remote_m.dalaei@farancell.com\r\nstatus_backend = sqlite\r\n\r\n[Repository Local_m.dalaei@farancell.com]\r\ntype = IMAP\r\nremotehost = localhost\r\nremoteuser = m.dalaei@farancell.com\r\nremotepasseval = get_user_password(\"m.dalaei@farancell.com\")\r\n\r\n[Repository Remote_m.dalaei@farancell.com]\r\ntype = IMAP\r\nremotehost = mail.camva.ir\r\nremoteport = 993\r\nssl = yes\r\nremoteuser = m.dalaei@farancell.com\r\nremotepasseval = get_user_password(\"m.dalaei@farancell.com\")\r\nreadonly = true\r\n```"},"comment":{"url":"https://api.github.com/repos/modoboa/modoboa-imap-migration/issues/comments/276292448","html_url":"https://github.com/modoboa/modoboa-imap-migration/issues/10#issuecomment-276292448","issue_url":"https://api.github.com/repos/modoboa/modoboa-imap-migration/issues/10","id":276292448,"user":{"login":"hadifarnoud","id":589808,"avatar_url":"https://avatars.githubusercontent.com/u/589808?v=3","gravatar_id":"","url":"https://api.github.com/users/hadifarnoud","html_url":"https://github.com/hadifarnoud","followers_url":"https://api.github.com/users/hadifarnoud/followers","following_url":"https://api.github.com/users/hadifarnoud/following{/other_user}","gists_url":"https://api.github.com/users/hadifarnoud/gists{/gist_id}","starred_url":"https://api.github.com/users/hadifarnoud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadifarnoud/subscriptions","organizations_url":"https://api.github.com/users/hadifarnoud/orgs","repos_url":"https://api.github.com/users/hadifarnoud/repos","events_url":"https://api.github.com/users/hadifarnoud/events{/privacy}","received_events_url":"https://api.github.com/users/hadifarnoud/received_events","type":"User","site_admin":false},"created_at":"2017-01-31T07:21:16Z","updated_at":"2017-01-31T07:21:16Z","body":"I think there is an issue with SSL certificate?\r\n```\r\nroot@email1:~# /usr/local/bin/offlineimap --info -o -d imap -d maildir\r\n\r\n\r\nOfflineIMAP 6.6.1\r\n  Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception)\r\nDebug mode: Forcing to singlethreaded.\r\nNow debugging for maildir: Maildir repository debugging\r\nNow debugging for : Other offlineimap related sync messages\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/offlineimap\", line 23, in <module>\r\n    oi.run()\r\n  File \"/usr/share/offlineimap/offlineimap/init.py\", line 52, in run\r\n    self.__serverdiagnostics(options)\r\n  File \"/usr/share/offlineimap/offlineimap/init.py\", line 429, in __serverdiagnostics\r\n    account.serverdiagnostics()\r\n  File \"/usr/share/offlineimap/offlineimap/accounts.py\", line 197, in serverdiagnostics\r\n    self.ui.serverdiagnostics(remote_repo, 'Remote')\r\n  File \"/usr/share/offlineimap/offlineimap/ui/UIBase.py\", line 461, in serverdiagnostics\r\n    folders = repository.getfolders()\r\n  File \"/usr/share/offlineimap/offlineimap/repository/IMAP.py\", line 384, in getfolders\r\n    imapobj = self.imapserver.acquireconnection()\r\n  File \"/usr/share/offlineimap/offlineimap/imapserver.py\", line 483, in acquireconnection\r\n    tls_level=self.tlslevel,\r\n  File \"/usr/share/offlineimap/offlineimap/imaplibutil.py\", line 186, in __init__\r\n    super(WrappedIMAP4_SSL, self).__init__(*args, **kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/imaplib2.py\", line 2138, in __init__\r\n    IMAP4.__init__(self, host, port, debug, debug_file, identifier, timeout, debug_buf_lvl)\r\n  File \"/usr/lib/python2.7/dist-packages/imaplib2.py\", line 357, in __init__\r\n    self.open(host, port)\r\n  File \"/usr/share/offlineimap/offlineimap/imaplibutil.py\", line 193, in open\r\n    \"having SSL helps nothing.\", OfflineImapError.ERROR.REPO)\r\nofflineimap.error.OfflineImapError: No CA certificates and no server fingerprints configured.  You must configure at least something, otherwise having SSL helps nothing.\r\n```"}}
{"actor":{"display_login":"hadifarnoud"}}