wmbiff: parse IMAP configuration on FreeBSD
From https://github.com/window-maker/dockapps/issues/29, raised
by mpastor:
Hi,
wmbiff compiled from source is not working on FreeBSD when using IMAP4, POP3 is working:
$ wmbiff
error in compiling regular expression: invalid repetition count(s)
error in compiling regular expression: invalid repetition count(s)
wmbiff/ imap4: Couldn't parse line imaps:mymail@domain.tld:MyPaSsWd@imap.domain.tld plaintext (0)
If this used to work, run wmbiff with the -relax option, and
send mail to wmaker-dev@googlegroups.com with the hostname
of your mail server.
wmbiff: creator for mailbox 0 returned failure
$ wmbiff -relax
error in compiling regular expression: invalid repetition count(s)
error in compiling regular expression: invalid repetition count(s)
wmbiff/ imap4: Couldn't parse line imaps:mymail@domain.tld:MyPaSsWd@imap.domain.tld plaintext (0)
If this used to work, run wmbiff with the -relax option, and
send mail to wmaker-dev@googlegroups.com with the hostname
of your mail server.
wmbiff: creator for mailbox 0 returned failure
$ wmbiff -debug
wmbiff: config_file = /home/me/.wmbiffrc.
wmbiff: @interval.-1=300@
wmbiff: @label..0=mail@
wmbiff: @path..0=imaps:mymail@domain.tld:MyPaSsWd@imap.domain.tld plaintext@
wmbiff: @action..0=claws-mail@
error in compiling regular expression: invalid repetition count(s)
error in compiling regular expression: invalid repetition count(s)
wmbiff/ imap4: Couldn't parse line imaps:mymail@domain.tld:MyPaSsWd@imap.domain.tld plaintext (0)
If this used to work, run wmbiff with the -relax option, and
send mail to wmaker-dev@googlegroups.com with the hostname
of your mail server.
wmbiff: creator for mailbox 0 returned failure
wmbiff: looking for /usr/local/share/wmbiff/skins/wmbiff-master-led.xpm
wmbiff: found /usr/local/share/wmbiff/skins/wmbiff-master-led.xpm
wmbiff: running 1 mailboxes w 64 h 20
So I have changed Imap4Client.c according to Pop3Client.c and now it's ok: