Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1031402: mutt-wizard: ships and generates invalid neomutt rc files

177 views
Skip to first unread message

Jonathan Dowland

unread,
Feb 16, 2023, 10:30:05 AM2/16/23
to
Package: mutt-wizard
Version: 3.3.1-2
Severity: important

I've just discovered mutt-wizard and thought I'd give it a go. I have
the neomutt version as in the archive frozen for Bookworm (version
string in the boilerplate below as usual). From what I can see, this
basically does not work at all in Debian, at least in conjunction with
Bookworm's version of neomutt.

> ;mw -u jon -a reda...@example.org
> Give your email server's IMAP address (excluding the port number):
> redacted
> Give your email server's SMTP address (excluding the port number):
> redacted
> Enter password for reda...@example.org:
> Retype password for reda...@example.org:
> [master b270548] Add given password for reda...@example.org to store.
> 1 file changed, 0 insertions(+), 0 deletions(-)
> create mode 100644 reda...@example.org.gpg
> sed: can't read /home/jon/.config/mutt/muttrc: No such file or directory
> reda...@example.org (account #1) added successfully.

After execution, the file sed was complaining about
(/home/jon/.config/mutt/muttrc) exists and is a regular file. Tracing
the mw script reveals this to be the sed on line 227, within the
function "getboxes", for what it's worth. Moving on…

> ;neomutt -F ~/.config/mutt/muttrc
> Error in /usr/share/mutt-wizard/mutt-wizard.muttrc, line 11: Option smtp_authenticators: gssapi is not a valid authenticator
> Error in /home/jon/.config/mutt/muttrc, line 2: source: file /usr/share/mutt-wizard/mutt-wizard.muttrc could not be sourced
> Error in /home/jon/.config/mutt/accounts/Redacted.muttrc, line 12: .: unknown command
> Error in /home/jon/.config/mutt/muttrc, line 3: source: file /home/jon/.config/mutt/accounts/Redacted.muttrc could not be sourced
> source: errors in /home/jon/.config/mutt/muttrc
> Press any key to continue...

The first error is clear enough: this line in the package's etc file
specifies an authenticator that is not supplied in the neovim package
(anymore? There's a report against the neomutt package requesting it
at #1026356)

line 12 in my Redacted.muttrc looks like this

> \. /usr/share/mutt-wizard/switch.muttrc

Perhaps this is a consequence of the failing sed earlier?



-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-3-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mutt-wizard depends on:
ii curl 7.87.0-2
ii isync 1.4.4-5
ii msmtp 1.8.23-1
ii neomutt 20220429+dfsg1-4.1
ii pass 1.7.4-6
ii xdg-utils 1.1.3-4.1

Versions of packages mutt-wizard recommends:
ii abook 0.6.1-2+b1
ii cron 3.0pl1-156
ii lynx 2.9.0dev.12-1
ii notmuch 0.37-1+b1
ii urlview 0.9-23.1

Versions of packages mutt-wizard suggests:
pn links2 <none>
pn mpop <none>
ii mpv 0.35.1-1
ii w3m 0.5.3+git20230121-2
pn zathura <none>

-- no debconf information
0 new messages