Comment 7 for bug 2008594

Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

I can confirm that the getmail6 package in jammy-proposed has fixed the bug for me.

Test done:
1. Install getmail6 on a jammy installation.
2. mkdir -p ~/testmaildir/{cur,tmp,new}
3. getmail_fetch -s dummy.example.com testacc testpw ~/testmaildir/
   - command fails with the error:

# getmail_fetch -s dummy.example.com testacc testpw ~/testmaildir/

Exception: please read docs/BUGS and include the following information in any bug report:

  getmail_fetch version 6.18.4
  Python version 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]

Unhandled exception follows:
    File "/usr/bin/getmail_fetch", line 138, in main
    options.get = types.MethodType(get, options, options.__class__)
  TypeError: method expected 2 arguments, got 3

4. Add jammy-proposed to apt sources
5. Update getmail6 from jammy-proposed.
6. execute getmail_fetch again.

# getmail_fetch -s dummy.example.com testacc testpw ~/testmaildir/
getmail version 6.18.4
Copyright (C) 1998-2021 Charles Cazabon and others. Licensed under GNU GPL version 2.
BrokenUIDLPOP3SSLRetriever:<email address hidden>:995:
Operational error: error resolving name dummy.example.com during connect ([Errno -2] Name or service not known)

Test result: the exception with getmail_fetch has been fixed and it can be executed again

Package tested:

# dpkg -l | grep getmail
ii getmail6 6.18.4-2ubuntu1 all mail retriever with support for POP3, IMAP4 and SDPS