Arch Linux

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!
Tasklist

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
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
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

Closed by  Gaetan Bisson (vesath)
Friday, 01 July 2011, 18:03 GMT
Reason for closing:  Won't fix
Comment by Gaetan Bisson (vesath) - Friday, 24 June 2011, 14:40 GMT
You are expected to understand the configuration files you write, and what optional dependencies they require.
We cannot hold your hand all the time. If the wiki is incomplete, your help is warmly welcome to fill the gaps.
Comment by Gaetan Bisson (vesath) - Friday, 24 June 2011, 14:46 GMT
Okay, I've added optdepends=('smtp-forwarder: to send mail') to the PKGBUILD in SVN trunk, but it's about all I can do about this.
Comment by mu3en (mu3en) - Sunday, 26 June 2011, 20:46 GMT
would be fair enough, but this was not the case just a few months ago, when it all worked great with the same configuration. it's not a sudden lack of understanding that has changed this behaviour...but something clearly did?
Comment by Gaetan Bisson (vesath) - Monday, 27 June 2011, 05:57 GMT
Please show me a minimal example of a muttrc that misbehaves.
Comment by mu3en (mu3en) - Tuesday, 28 June 2011, 15:39 GMT
files provided directly as requested.

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.
Comment by mu3en (mu3en) - Tuesday, 28 June 2011, 16:27 GMT
these are cut back from the original, the arch version works under arch and *maybe *buntu now but the *buntu version does not work under arch. they are also anonymized and hence require working gmail (or other) configuration to be tested.
Comment by mu3en (mu3en) - Tuesday, 28 June 2011, 16:49 GMT
these are the full (but anonymized) versions where the original error occurs for sure (in both cases when used on the other distro than named.)
Comment by Gaetan Bisson (vesath) - Tuesday, 28 June 2011, 17:37 GMT
Well, could you try and confirm that your error also happens with the trimmed version?
Comment by mu3en (mu3en) - Tuesday, 28 June 2011, 19:19 GMT
as edited above, the .buntu.trim version still fails under arch.

*but the .arch.trim version now *maybe works under buntu (throws no error at least).
Comment by Leonid Isaev (lisaev) - Thursday, 30 June 2011, 21:36 GMT
mu3en, please give us the _minimal_ config which does not work. I can confirm that mutt-1.5.21 works OK with only smtp_url variable set (quasiregular gmail account hosting university email), albeit slow. Also, what is Ubuntu's /etc/Muttrc?

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.
Comment by mu3en (mu3en) - Friday, 01 July 2011, 16:33 GMT
guys, this whole thing is probably *kinda my bad:

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.
Comment by Gaetan Bisson (vesath) - Friday, 01 July 2011, 17:07 GMT
Great you solved your issue.

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.

Loading...