Hi,

isbg scan always terminates with the following error message:

>> $isbg --imaphost imap.1und1.de --imapuser xxxxx.xxxxx...@online.de --spamc
###########################################################

('select', 'INBOX.Spam', 1) returned ('NO', ['unknown folder']) - aborting

('select', 'INBOX.Spam', 1) returned ('NO', ['unknown folder']) - aborting

Use --help to see valid options and arguments
Traceback (most recent call last):
  File "/usr/local/bin/isbg", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/isbg/__main__.py", line 257, in 
main
    return sbg.do_isbg()  # return the exit code.
           ^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/isbg/isbg.py", line 594, in 
do_isbg
    proc = self.do_spamassassin()
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/isbg/isbg.py", line 511, in 
do_spamassassin
    self.imap.select(self.imapsets.spaminbox, 1)
  File "/usr/local/lib/python3.11/dist-packages/isbg/imaputils.py", line 179, 
in func_wrapper
    cls.assertok(res, name, *args, **kwargs)
  File "/usr/local/lib/python3.11/dist-packages/isbg/isbg.py", line 370, in 
assertok
    raise ISBGError(__exitcodes__['imap'] if self.exitcodes else -1,
isbg.isbg.ISBGError: 
('select', 'INBOX.Spam', 1) returned ('NO', ['unknown folder']) - aborting
###########################################################

A listing of the folder structure results in the following output:

###########################################################
Drafts
Ent&APw-rfe
INBOX
notes
Sent
Spam
Trash
###########################################################

The Folder Ent&APw-rfe was created by Ipad Mail Client and is the German word 
for drafts and is correctly spelt as such: Entwürfe.

Unfortunately, it is not possible to delete the folder, I don't think it would 
make sense because the Apple Mail client would create the folder again anyway .

Is there a solution so that isbg can handle the special characters?

Kind regards Thomas
_______________________________________________
Isbg mailing list -- isbg@python.org
To unsubscribe send an email to isbg-le...@python.org
https://mail.python.org/mailman3/lists/isbg.python.org/
Member address: arch...@mail-archive.com

Reply via email to