<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif"></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Hello,</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"> While trying to run offlineimap to sync my Gmail, I am getting</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div class="gmail_default" style="font-family:tahoma,sans-serif"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div class="gmail_default" style="font-family:tahoma,sans-serif"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Account sync Gmail:<br> *** Processing account Gmail<br> Establishing connection to <a href="http://imap.gmail.com:993">imap.gmail.com:993</a><br> ERROR: While attempting to sync account 'Gmail'<br> [Errno 101] Network is unreachable<br> *** Finished account 'Gmail' in 0:42<br> Next refresh in 5.0 minutes</blockquote></div></blockquote></div></blockquote><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I checked my internet connection. It is working fine. I can access web through firefox and install package using terminal. kindly point me where I made mistake.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"> <br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">My ~/.offlineimaprc configuration looks like this - </div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div class="gmail_default"><span style="font-family:tahoma,sans-serif"><br></span></div><div class="gmail_default"><div class="gmail_default"><font face="tahoma, sans-serif">[general]</font></div><div class="gmail_default"><font face="tahoma, sans-serif">accounts = Gmail</font></div><div class="gmail_default"><font face="tahoma, sans-serif">ui = ttyui</font></div><div class="gmail_default"><font face="tahoma, sans-serif">#maxsyncaccounts = 1</font></div><div class="gmail_default"><font face="tahoma, sans-serif">#socktimeout = 60</font></div><div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default"><font face="tahoma, sans-serif">[Account Gmail]</font></div><div class="gmail_default"><font face="tahoma, sans-serif">localrepository = Local</font></div><div class="gmail_default"><font face="tahoma, sans-serif">remoterepository = Remote</font></div><div class="gmail_default"><font face="tahoma, sans-serif">status_backend = sqlite</font></div><div class="gmail_default"><font face="tahoma, sans-serif">#Refresh after every 5 minutes.</font></div><div class="gmail_default"><font face="tahoma, sans-serif">autorefresh = 5</font></div><div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default"><font face="tahoma, sans-serif">[Repository Local]</font></div><div class="gmail_default"><font face="tahoma, sans-serif">type = Maildir</font></div><div class="gmail_default"><font face="tahoma, sans-serif">localfolders = ~/Mail/Gmail</font></div><div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default"><font face="tahoma, sans-serif">[Repository Remote]</font></div><div class="gmail_default"><font face="tahoma, sans-serif">type = Gmail</font></div><div class="gmail_default"><font face="tahoma, sans-serif">remotehost = <a href="http://imap.gmail.com">imap.gmail.com</a></font></div><div class="gmail_default"><font face="tahoma, sans-serif">remoteuser = <MYEMAIL>@<a href="http://gmail.com">gmail.com</a></font></div><div class="gmail_default"><font face="tahoma, sans-serif">remotepass = <MYPASSWORD></font></div><div class="gmail_default"><font face="tahoma, sans-serif">remoteport = 993</font></div><div class="gmail_default"><font face="tahoma, sans-serif">ssl = yes</font></div><div class="gmail_default"><font face="tahoma, sans-serif">sslcacertfile = /etc/ssl/certs/ca-certificates.crt</font></div><div class="gmail_default"><font face="tahoma, sans-serif">maxconnections = 2</font></div><div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div></div></blockquote></blockquote></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><br></div><div dir="ltr"><font color="#666666"><b>Thanks and Regards,</b></font></div><div dir="ltr"><font color="#666666"><b><br></b></font><div><font color="#000000">Om Prakash Kumar</font></div></div></div></div></div></div>
<br><div class="gmail_quote">On 2 March 2016 at 04:06, Nicolas Sebrecht <span dir="ltr"><<a href="mailto:nicolas.s-dev@laposte.net" target="_blank">nicolas.s-dev@laposte.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Mar 02, 2016 at 12:03:20AM +0530, Om Prakash wrote:<br>
<br>
> Hello,<br>
<br>
Hi,<br>
<br>
> I am pursuing Master in Computer Application from Pondicherry<br>
> University, India. I am good at c++, python and git. I had a look on<br>
> Gentoo's idea page and found imapfw project very much interesting. I am<br>
> interested in contributing to imapfw, although I am new to open source<br>
> world.<br>
<br>
FMPOV, open source world is mostly about applying good sense. That's not<br>
the hard part, IMHO. :-)<br>
<br>
Unless I'm mistaken, you forked imapfw from nicolas33 while the<br>
canonical repository is at the OfflineIMAP organization.<br>
<br>
<a href="https://github.com/OfflineIMAP/imapfw" rel="noreferrer" target="_blank">https://github.com/OfflineIMAP/imapfw</a><br>
<br>
> I would like to work on "Sychronization of mails" idea. <br>
> I did system-wide installation using distribution on Ubuntu. When I fire<br>
> up 'offlineimap --v' it gives output 6.5.4. But when I give 'offlineimap'<br>
> command it shows error:<br>
> Traceback (most recent call last):<br>
> File "/usr/bin/offlineimap", line 23, in <module><br>
> oi.run()<br>
> File "/usr/lib/python2.7/dist-packages/offlineimap/init.py", line 44, in<br>
> run<br>
> options, args = self.parse_cmd_options()<br>
> File "/usr/lib/python2.7/dist-packages/offlineimap/init.py", line 218,<br>
> in parse_cmd_options<br>
> config.set_if_not_exists('general','dry-run','False')<br>
> File "/usr/lib/python2.7/dist-packages/offlineimap/CustomConfig.py",<br>
> line 80, in set_if_not_exists<br>
> self.set(section, option, value)<br>
> File "/usr/lib/python2.7/ConfigParser.py", line 753, in set<br>
> ConfigParser.set(self, section, option, value)<br>
> File "/usr/lib/python2.7/ConfigParser.py", line 396, in set<br>
> raise NoSectionError(section)<br>
> ConfigParser.NoSectionError: No section: 'general'<br>
<br>
> I think it should ask for login password (correct me, if I understand<br>
> wrong). I also tried uninstalling system-wide installation and again<br>
> installing using cloning git repository. But it is still showing same<br>
> error. <br>
<br>
I would expect you to use the development branch of the git repository,<br>
especially because you're used to git. ,-)<br>
<br>
OfflineIMAP expects a configuration file, whether the username and<br>
password are configured or not. There are other mandatory options to set<br>
like the remote server address. By chance, OfflineIMAP has good<br>
documentation out there, even from third parties like Archlinux.<br>
<br>
> Kindly help me set up development environment for imapfw.<br>
<br>
Of course. Feel free to request us, really. However, trying to solve<br>
your issues by yourself is important and expected like for any other<br>
open source community. This has to be done while nobody should spend too<br>
much time at this. For newcomers, not finding answers on the web after<br>
15 minutes fo researches is enough to request help.<br>
<br>
You're welcome Om Prakash.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Nicolas Sebrecht<br>
</font></span></blockquote></div><br></div>