Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#24857 - mutt built in smtp fail - error 127
Attached to Project:
Arch Linux
Opened by mu3en (mu3en) - Friday, 24 June 2011, 10:23 GMT
Last edited by Gaetan Bisson (vesath) - Friday, 01 July 2011, 18:03 GMT
Opened by mu3en (mu3en) - Friday, 24 June 2011, 10:23 GMT
Last edited by Gaetan Bisson (vesath) - Friday, 01 July 2011, 18:03 GMT
|
DetailsDescription:
fresh archlinux install, add mutt using pacman (as per wiki.archlinux), use working .muttrc (previously working on arch, also currently working on ubuntu [where postfix is apparently installed by default]. error 127 is thrown when sending mail via smtp. mutt states in response to :set ?sendmail that it is looking to use /usr/sbin/sendmail, which does not exist. there are no dependencies stated on wiki or pulled in by pacman to provide /usr/sbin/sendmail with mutt. neither is the muttrc forcing this behaviour. Additional info: * package version(s) 1.5.21-5 * config and/or log files etc. Steps to reproduce: follow archwiki entry on built in smtp sending using mutt, get error 127. |
This task depends upon
We cannot hold your hand all the time. If the wiki is incomplete, your help is warmly welcome to fill the gaps.
to update the bug, it has nothing to do with sendmail dependency as originally assumed. and postfix is NOT installed by default on *buntu, or required at all for mutt in fact.
instead there is some difference in muttrc (configuration) layouts [same info, different format]. this means the built in smtp sending configurations are no longer compatible across same version of mutt in different distros.
*but the .arch.trim version now *maybe works under buntu (throws no error at least).
If I have to guess, mutt can not read your config somehow and falls back to the default sendmail, which you apparently don't have installed...
If you suspect a packaging problem you can just recompile mutt and run it from the build dir -- takes only a couple of minutes.
1. there are no /etc/muttrc on either distro so no issue there leonid.
2. having killed each line one by one, it appears that the "set trash" variable prevents the send. the "trash" patch is not included in arch, but is in ubuntu: SOLVED. [gaetan had pointed out that patching was probably to blame anyway].
but, probably worth noting this behaviour, since mutt works fine with that variable *except the send. guess it's not that surprising to get caught out by this.
hopefully helps someone out in the future. thanks for all the help.
By the way, I note in your configuration files you try to comment a line which is wrapped: bla\ bla\ #bla\ bla\ . This might also cause problems.
Anyhow, I will soon close this bug report unless you have additional problems.