{"action":"reopened","issue":{"url":"https://api.github.com/repos/neomutt/neomutt/issues/1295","repository_url":"https://api.github.com/repos/neomutt/neomutt","labels_url":"https://api.github.com/repos/neomutt/neomutt/issues/1295/labels{/name}","comments_url":"https://api.github.com/repos/neomutt/neomutt/issues/1295/comments","events_url":"https://api.github.com/repos/neomutt/neomutt/issues/1295/events","html_url":"https://github.com/neomutt/neomutt/issues/1295","id":342214399,"node_id":"MDU6SXNzdWUzNDIyMTQzOTk=","number":1295,"title":"[Regression] sendmail receives empty message","user":{"login":"protist","id":646668,"node_id":"MDQ6VXNlcjY0NjY2OA==","avatar_url":"https://avatars1.githubusercontent.com/u/646668?v=4","gravatar_id":"","url":"https://api.github.com/users/protist","html_url":"https://github.com/protist","followers_url":"https://api.github.com/users/protist/followers","following_url":"https://api.github.com/users/protist/following{/other_user}","gists_url":"https://api.github.com/users/protist/gists{/gist_id}","starred_url":"https://api.github.com/users/protist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/protist/subscriptions","organizations_url":"https://api.github.com/users/protist/orgs","repos_url":"https://api.github.com/users/protist/repos","events_url":"https://api.github.com/users/protist/events{/privacy}","received_events_url":"https://api.github.com/users/protist/received_events","type":"User","site_admin":false},"labels":[{"id":528130269,"node_id":"MDU6TGFiZWw1MjgxMzAyNjk=","url":"https://api.github.com/repos/neomutt/neomutt/labels/bug:regression","name":"bug:regression","color":"fc2929","default":false},{"id":523548908,"node_id":"MDU6TGFiZWw1MjM1NDg5MDg=","url":"https://api.github.com/repos/neomutt/neomutt/labels/type:bug","name":"type:bug","color":"ff0000","default":false}],"state":"open","locked":false,"assignee":{"login":"flatcap","id":76760,"node_id":"MDQ6VXNlcjc2NzYw","avatar_url":"https://avatars3.githubusercontent.com/u/76760?v=4","gravatar_id":"","url":"https://api.github.com/users/flatcap","html_url":"https://github.com/flatcap","followers_url":"https://api.github.com/users/flatcap/followers","following_url":"https://api.github.com/users/flatcap/following{/other_user}","gists_url":"https://api.github.com/users/flatcap/gists{/gist_id}","starred_url":"https://api.github.com/users/flatcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flatcap/subscriptions","organizations_url":"https://api.github.com/users/flatcap/orgs","repos_url":"https://api.github.com/users/flatcap/repos","events_url":"https://api.github.com/users/flatcap/events{/privacy}","received_events_url":"https://api.github.com/users/flatcap/received_events","type":"User","site_admin":false},"assignees":[{"login":"flatcap","id":76760,"node_id":"MDQ6VXNlcjc2NzYw","avatar_url":"https://avatars3.githubusercontent.com/u/76760?v=4","gravatar_id":"","url":"https://api.github.com/users/flatcap","html_url":"https://github.com/flatcap","followers_url":"https://api.github.com/users/flatcap/followers","following_url":"https://api.github.com/users/flatcap/following{/other_user}","gists_url":"https://api.github.com/users/flatcap/gists{/gist_id}","starred_url":"https://api.github.com/users/flatcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flatcap/subscriptions","organizations_url":"https://api.github.com/users/flatcap/orgs","repos_url":"https://api.github.com/users/flatcap/repos","events_url":"https://api.github.com/users/flatcap/events{/privacy}","received_events_url":"https://api.github.com/users/flatcap/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-07-18T07:48:54Z","updated_at":"2018-08-03T00:18:59Z","closed_at":null,"author_association":"MEMBER","body":"## Expected Behaviour\r\n\r\nI've previously used a [custom sendmail](https://unix.stackexchange.com/a/241632), which has worked fine with the previous version of Neomutt.\r\n\r\n## Actual Behaviour\r\n\r\nWith the latest version of Neomutt, the sendmail fails silently.\r\n\r\n## Steps to Reproduce\r\n\r\nSend an email using the above sendmail.\r\n\r\nRelevant snippet from `~/.mutt/muttrc`:\r\n```\r\nset sendmail = \"~/.local/bin/msmtp_error_checking\"\r\nset envelope_from = \"yes\"\r\nset sendmail_wait=-1\r\n```\r\n\r\nFull troubleshooting follows at end of issue report.\r\n\r\n## How often does this happen?\r\n\r\n- Always\r\n\r\n## When did it start to happen?\r\n\r\nWhen I upgraded from 20180622 to 20180716. I attempted installing the old version, and it works fine again.\r\n\r\n## NeoMutt Version\r\n\r\n```\r\n$ neomutt -v\r\nNeoMutt 20180716\r\nCopyright (C) 1996-2016 Michael R. Elkins and others.\r\nNeoMutt comes with ABSOLUTELY NO WARRANTY; for details type 'neomutt -vv'.\r\nNeoMutt is free software, and you are welcome to redistribute it\r\nunder certain conditions; type 'neomutt -vv' for details.\r\n\r\nSystem: Linux 4.14.55-1-lts (x86_64)\r\nncurses: ncurses 6.1.20180127 (compiled with 6.1.20180127)\r\nlibidn: 1.34 (compiled with 1.34)\r\nhcache backends: gdbm\r\n\r\nCompiler:\r\nUsing built-in specs.\r\nCOLLECT_GCC=cc\r\nCOLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/lto-wrapper\r\nTarget: x86_64-pc-linux-gnu\r\nConfigured 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\r\nThread model: posix\r\ngcc version 8.1.1 20180531 (GCC) \r\n\r\nConfigure options: --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --gpgme --enable-lua --notmuch --gss --ssl --sasl --with-ui=ncurses --with-idn=/usr --gdbm\r\n\r\nCompilation CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -std=c99 -fno-delete-null-pointer-checks -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__ -I/usr/include  -DNCURSES_WIDECHAR\r\n\r\nDefault options:\r\n  +attach_headers_color +compose_to_sender +compress +cond_date +debug \r\n  +encrypt_to_self +forgotten_attachments +forwref +ifdef +imap +index_color \r\n  +initials +limit_current_thread +multiple_fcc +nested_if +new_mail +nntp +pop \r\n  +progress +quasi_delete +regcomp +reply_with_xorig +sensible_browser +sidebar \r\n  +skip_quoted +smtp +status_color +timeout +tls_sni +trash \r\n\r\nCompile options:\r\n  +bkgdset +color +curs_set +fcntl -flock -fmemopen +futimens +getaddrinfo \r\n  -gnutls +gpgme +gss +hcache -homespool +idn -locales_hack +lua +meta \r\n  -mixmaster +nls +notmuch +openssl +pgp +sasl +smime +start_color \r\n  +sun_attachment +typeahead \r\nMAILPATH=\"/var/mail\"\r\nPKGDATADIR=\"/usr/share/neomutt\"\r\nSENDMAIL=\"/usr/sbin/sendmail\"\r\nSYSCONFDIR=\"/etc\"\r\n\r\nTo learn more about NeoMutt, visit: https://neomutt.org\r\nIf you find a bug in NeoMutt, please raise an issue at:\r\n    https://github.com/neomutt/neomutt/issues\r\nor send an email to: <neomutt-devel@neomutt.org>\r\n```\r\n\r\nThe old, working version is identical, except for the version string.\r\n\r\n## Extra Info\r\n\r\n<!-- This info might help us narrow down the source of the problem. -->\r\n\r\n* Operating System and its version: up-to-date Arch Linux.\r\n* Were you using multiple copies of NeoMutt at once? No\r\n* Were you using 'screen' or 'tmux'? No\r\n* Is your email local (maildir) or remote (IMAP)? IMAP\r\n\r\n## Troubleshooting\r\n\r\nI tested a second, custom script as follows, setting it to `sendmail` in `~/.mutt/muttrc`.\r\n\r\n```\r\n#!/bin/bash\r\necho $@ > /tmp/args\r\ncat >/tmp/piped\r\n```\r\nWhen I tested the previous version of Neomutt, both files are created as expected, with the message in `/tmp/piped`, and the recipients, etc. in `/tmp/args`. However, in the new version of Neomutt, there are no arguments, nor piped message. Oddly enough, using `msmtp` directly as the `sendmail` works fine in the new Neomutt."}}
{"actor":{"display_login":"protist"}}