why are remote{user, host} required even though I am using a preauth tunnel?

Justus Winter 4winter at informatik.uni-hamburg.de
Wed Oct 5 02:27:09 BST 2011

Hey everyone :)

I recently gave the git head a spin and noticed that offlineimap was
complaining about remoteuser and remotehost not being specified.

Since I am using preauth tunnels this shouldn't be necessary and the
version packaged in debian sid (6.3.4) was working fine without it.

I filled in dummy values and offlineimap worked fine since, so I do
consider this a regression.


~~~ snip ~~~

Traceback (most recent call last):
  File "/home/teythoon/.local/lib/python2.6/site-packages/offlineimap/threadutil.py", line 140, in run
  File "/usr/lib/python2.6/threading.py", line 484, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/teythoon/.local/lib/python2.6/site-packages/offlineimap/accounts.py", line 170, in syncrunner
    self.localrepos  = Repository(self, 'local')
  File "/home/teythoon/.local/lib/python2.6/site-packages/offlineimap/repository/__init__.py", line 59, in __new__
    return repo(name, account)
  File "/home/teythoon/.local/lib/python2.6/site-packages/offlineimap/repository/IMAP.py", line 37, in __init__
    self.imapserver = imapserver.IMAPServer(self)
  File "/home/teythoon/.local/lib/python2.6/site-packages/offlineimap/imapserver.py", line 59, in __init__
    self.username = repos.getuser()
  File "/home/teythoon/.local/lib/python2.6/site-packages/offlineimap/repository/IMAP.py", line 137, in getuser
    user = self.getconf('remoteuser')
  File "/home/teythoon/.local/lib/python2.6/site-packages/offlineimap/CustomConfig.py", line 103, in getconf
  File "/home/teythoon/.local/lib/python2.6/site-packages/offlineimap/CustomConfig.py", line 94, in _confighelper_runner
    return apply(mainfunc, [self.getsection(), option])
  File "/usr/lib/python2.6/ConfigParser.py", line 541, in get
    raise NoOptionError(option, section)
NoOptionError: No option 'remoteuser' in section: 'Repository LocalMaildir'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .signature
Type: application/octet-stream
Size: 17 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20111005/7e40ce44/attachment-0002.obj>

More information about the OfflineIMAP-project mailing list