[neomutt-users] Unsupported option: rc=hdrs

Patrick Ben Koetter p at sys4.de
Wed Dec 13 15:39:16 CET 2017


Pietro,

* Pietro Cerutti <gahr at gahr.ch>:
> On Dec 13 17 14:56, Patrick Ben Koetter wrote:
> > Greetings,
> > 
> > I've run into a submission problem using "NeoMutt 20171208".
> > 
> > NeoMutt connects to the server, authenticates, sends MAIL FROM and
> > receives a permanent reject. The reason seems to be that NeoMutt sends
> > "rc=hdrs", which my Postfix server permanently rejects as "Unsupported
> > option":
> > 
> > [2017-12-13 14:42:11] curses_message() Authentifiziere (PLAIN)...
> > [2017-12-13 14:42:11] mutt_socket_write_d() 4> AUTH PLAIN --redacted--^M
> > [2017-12-13 14:42:11] mutt_socket_readln_d() 4< 235 2.7.0 Authentication
> > successful
> > [2017-12-13 14:42:11] mutt_socket_write_d() 4> MAIL FROM:<p at sys4.de>
> > BODY=8BITMIME rc=hdrs^M
> > [2017-12-13 14:42:11] mutt_socket_readln_d() 4< 555-5.5.4 Unsupported
> > option: rc=hdrs
> > 
> > I'm not aware that there's an option "rc", which can be sent along while
> > sending MAIL FROM:
> > 
> > Did I miss it? Should Postfix support it? Can I disable sending this
> > option in NeoMutt? Or is it a bug?
> 
> Do you have "set dsn_return = rc" somewhere in your config? If it's set, 
> and the smtp server advertises the DSN capability, neomutt will add that 
> to the MAIL FROM command.

I had "set dsn_return = hdrs" in my muttrc. Once I commented it, NeoMutt was
back to defaults and I was able to send (just like I am able to send this
message sending NeoMutt).

$ grep dsn_return .mutt/*
.mutt/muttrc.conf:# set dsn_return = hdrs

Since I can send now, I assume having "set dsn_return = hdrs" ended up in
rc=hdrs and not RET=hdrs during SMTP session. At the moment this looks like a
problem in NeoMutt to me.

> Can you check whether postfix advertises DSN?

Yes, it does:

$ telnet mail.sys4.de 587
220 mail.sys4.de ESMTP Submission
EHLO p.sys4.de
250-mail.sys4.de
250-PIPELINING
250-SIZE 40960000
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-DSN
250 SMTPUTF8
QUIT
221 2.0.0 Bye

p at rick


-- 
[*] sys4 AG
 
https://sys4.de, +49 (89) 30 90 46 64
Schleißheimer Straße 26/MG,80333 München
 
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief
Aufsichtsratsvorsitzender: Florian Kirstein
 
-------------- next part --------------
NeoMutt 20171208
Copyright (C) 1996-2016 Michael R. Elkins und andere.
NeoMutt übernimmt KEINERLEI GEWÄHRLEISTUNG. Starten Sie `neomutt -vv', um
weitere Details darüber zu erfahren. NeoMutt ist freie Software. 
Sie können es unter bestimmten Bedingungen weitergeben; starten Sie
`neomutt -vv' für weitere Details.

System: Linux 4.14.4-1-ARCH (x86_64)
ncurses: ncurses 6.0.20170902 (compiled with 6.0)
libidn: 1.33 (compiled with 1.33)
hcache backends: gdbm

Compiler:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp
Thread model: posix
gcc version 7.2.1 20171128 (GCC) 

Configure options: '--prefix=/usr' '--sysconfdir=/etc' '--enable-debug' '--enable-gpgme' '--enable-lua' '--enable-notmuch' '--with-gss=/usr' '--with-ssl=/usr' '--with-sasl' '--with-curses=/usr' '--with-idn' '--with-gdbm' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'

Compilation CFLAGS: -Wall -pedantic -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fno-delete-null-pointer-checks

Standard Einstellungen:
  +attach_headers_color +compose_to_sender +compress +cond_date +debug 
  +encrypt_to_self +forgotten_attachments +forwref +ifdef +imap +index_color 
  +initials +limit_current_thread +multiple_fcc +nested_if +new_mail +nntp +pop 
  +progress +quasi_delete +regcomp +reply_with_xorig +sensible_browser +sidebar 
  +skip_quoted +smtp +status_color +timeout +tls_sni +trash 

Einstellungen bei der Kompilierung:
  +bkgdset +color +curs_set +fcntl -flock -fmemopen +futimens +getaddrinfo 
  -gnutls +gpgme +gss +hcache -homespool +idn -locales_hack +lua +meta 
  -mixmaster +nls +notmuch +openssl +pgp +resizeterm +sasl +smime +start_color 
  +sun_attachment +typeahead 
MAILPATH="/var/mail"
PKGDATADIR="/usr/share/neomutt"
SENDMAIL="/usr/sbin/sendmail"
SYSCONFDIR="/etc"

Um mehr über NeoMutt zu erfahren, besuchen Sie: http://www.neomutt.org/
Falls Sie einen Bug in NeoMutt finden, eröffnen Sie bitte ein Ticket unter:
    https://github.com/neomutt/neomutt/issues
oder senden Sie eine E-Mail an: <neomutt-devel at neomutt.org>



More information about the neomutt-users mailing list