[neomutt-users] Unsupported option: rc=hdrs

Pietro Cerutti gahr at gahr.ch
Wed Dec 13 15:55:35 CET 2017


On Dec 13 17 14:44, Pietro Cerutti wrote:
> On Dec 13 17 15:39, Patrick Ben Koetter wrote:
> > 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.
> 
> You are correct. The bug was introduced here:
> https://github.com/neomutt/neomutt/commit/81c0337d15de1697122061046a555bcd1b4293ba#diff-e46f4f635296f7610b2779e95c2c89b7R683
> 
> I'll commit a fix shortly.

It's fixed in master. Thanks for reporting this!

-- 
Pietro Cerutti
gahr at gahr.ch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 890 bytes
Desc: not available
URL: <http://mailman.neomutt.org/pipermail/neomutt-users-neomutt.org/attachments/20171213/34589075/attachment.sig>


More information about the neomutt-users mailing list