Re: mutt and qmail: child exited 127

2000-10-11 Thread Anil Madhavapeddy

On Tue, Oct 10, 2000 at 11:29:30PM +0200, Horacio MG wrote:
  hmmm ...
  
  i've had problems with this when mutt was using the wrong sendmail
  binary (= or i've forgotten to replace the OEM sendmail with a link to
  qmail's sendmail binary. make sure that /usr/sbin/sendmail is a link
  to /var/qmail/bin/sendmail (or whereever you installed qmail) and
  try again.
 
 Both /usr/sbin/sendmail and /usr/libexec/sendmail/sendmail are symlinks
 to /var/qmail/bin/sendmail
 

If you are running OpenBSD 2.7, then you shouldn't replace
/usr/sbin/sendmail, as it will get overwritten the next time
you upgrade it with a 'make build' from source.

Instead, place relevant entries in /etc/mailer.conf to
point the sendmail wrapper (mailwrapper) to the correct
place for qmail.

This could be the cause of your exec problem.  Check that
the symlinks are in place, and if not, read mailer.conf(5)

I use the following /etc/mailer.conf on OpenBSD-current:
sendmail/var/qmail/bin/sendmail
send-mail   /var/qmail/bin/sendmail
mailq   /var/qmail/bin/qmail-qread
newaliases  /usr/bin/true
hoststat/usr/bin/true
purgestat   /usr/bin/true

-- 
Anil Madhavapeddy, [EMAIL PROTECTED]



mutt and qmail: child exited 127

2000-10-10 Thread Horacio MG

I've compiled and installed the latest version of mutt on OpenBSD 2.7.
The MTA I'm using is qmail 1.03.

I use fetchmail to retrieve the mail, and procmail to deliver it.  I set
both procmail and mutt to use maildir instead of mbox (it seems that
mutt won't recognize the mbox style messages since they lack a from
field on the first line).

I can send mail through the 'mail' command, but if I try to send from
the mutt compose menu, I get this warning

  Error sending message, child exited 127 (Exec error.).

when i press y to send.


i read the mailing list archives looking for this error, and i found
some directions like upgrading to the latest procmail (which i did) and
installing mutt after installing/configuring qmail (so i recompiled and
reinstalled).  but i still get the same error.

Could anyone help with this, please?  TIA.

more info (well, in my latest build I didn't enable exact_address, nor
pop or gnu_regex, nor did I used compressed):

$ mutt -v

Mutt 1.2.5i (2000-07-28)
Copyright (C) 1996-2000 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: OpenBSD 2.7 [using ncurses 5.0]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +USE_FCNTL  -USE_FLOCK
-USE_IMAP  -USE_GSS  -USE_SSL  +USE_POP  -HAVE_REGCOMP  +USE_GNU_REGEX
+HAVE_COLOR  +HAVE_PGP  -BUFFY_SIZE +EXACT_ADDRESS  +ENABLE_NLS
+COMPRESSED
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
SHAREDIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
-ISPELL
To contact the developers, please mail to [EMAIL PROTECTED].
To report a bug, please use the muttbug utility.


-- 
Horacio Anno MMDCCLIII A.U.C.
[EMAIL PROTECTED]Valencia - ESPAÑA

Key fingerprint = F4EE AE5E 2F01 0DB3 62F2  A9F4 AD31 7093 4233 7AE6




Re: mutt and qmail: child exited 127

2000-10-10 Thread Michael Galloway


hmmm ...

i've had problems with this when mutt was using the wrong sendmail binary (or
i've forgotten to replace the OEM sendmail with a link to qmail's sendmail
binary. make sure that /usr/sbin/sendmail is a link to /var/qmail/bin/sendmail
(or whereever you installed qmail) and try again.

-- michael

On Tue, 10 Oct 2000, Horacio MG wrote:

 I've compiled and installed the latest version of mutt on OpenBSD 2.7.
 The MTA I'm using is qmail 1.03.
 
 I use fetchmail to retrieve the mail, and procmail to deliver it.  I set
 both procmail and mutt to use maildir instead of mbox (it seems that
 mutt won't recognize the mbox style messages since they lack a from
 field on the first line).
 
 I can send mail through the 'mail' command, but if I try to send from
 the mutt compose menu, I get this warning
 
   Error sending message, child exited 127 (Exec error.).
 
 when i press y to send.
 
 
 i read the mailing list archives looking for this error, and i found
 some directions like upgrading to the latest procmail (which i did) and
 installing mutt after installing/configuring qmail (so i recompiled and
 reinstalled).  but i still get the same error.
 
 Could anyone help with this, please?  TIA.
 
 more info (well, in my latest build I didn't enable exact_address, nor
 pop or gnu_regex, nor did I used compressed):
 
 $ mutt -v
 
 Mutt 1.2.5i (2000-07-28)
 Copyright (C) 1996-2000 Michael R. Elkins and others.
 Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
 Mutt is free software, and you are welcome to redistribute it
 under certain conditions; type `mutt -vv' for details.
 
 System: OpenBSD 2.7 [using ncurses 5.0]
 Compile options:
 -DOMAIN
 -DEBUG
 -HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +USE_FCNTL  -USE_FLOCK
 -USE_IMAP  -USE_GSS  -USE_SSL  +USE_POP  -HAVE_REGCOMP  +USE_GNU_REGEX
 +HAVE_COLOR  +HAVE_PGP  -BUFFY_SIZE +EXACT_ADDRESS  +ENABLE_NLS
 +COMPRESSED
 SENDMAIL="/usr/sbin/sendmail"
 MAILPATH="/var/mail"
 SHAREDIR="/usr/local/share/mutt"
 SYSCONFDIR="/usr/local/etc"
 -ISPELL
 To contact the developers, please mail to [EMAIL PROTECTED].
 To report a bug, please use the muttbug utility.
 
 
 -- 
 Horacio   Anno MMDCCLIII A.U.C.
 [EMAIL PROTECTED]  Valencia - ESPAÑA
 
 Key fingerprint = F4EE AE5E 2F01 0DB3 62F2  A9F4 AD31 7093 4233 7AE6
 
 



Re: mutt and qmail: child exited 127

2000-10-10 Thread Harold Oga

On 10 Oct 2000, at 23:29, Horacio MG wrote:
 Both /usr/sbin/sendmail and /usr/libexec/sendmail/sendmail are symlinks
 to /var/qmail/bin/sendmail
 
 I've even tried to change the muttrc line
 
   set sendmail="/usr/lib/sendmail -oi -oem -f [EMAIL PROTECTED]"
 
 to others more suitable... could this be related?
Hi,
   I don't use qmail, but the first thing I would check is that qmail's 
/var/qmail/bin/sendmail actually supports all the options you are passing 
it.  In particular, I would verify that the -f option is supported.  If it 
isn't, then this could be why you are getting a child exited 127 error.

-Harold

-- 
"Life sucks, deal with it!"



Re: mutt and qmail: child exited 127

2000-10-10 Thread Mikko Hänninen

Horacio MG [EMAIL PROTECTED] wrote on Tue, 10 Oct 2000:
 Both /usr/sbin/sendmail and /usr/libexec/sendmail/sendmail are symlinks
 to /var/qmail/bin/sendmail
 
 I've even tried to change the muttrc line
 
   set sendmail="/usr/lib/sendmail -oi -oem -f [EMAIL PROTECTED]"

I use qmail and I use simply:

  set sendmail="/var/qmail/bin/qmail-inject"

This works just fine.  However, the sendmail wrapper should work just as
well, so I'm not sure if this will actually fix anything for you.

You're not meant to have the -oi -oem things on the sendmail wrapper
command line though, I think they're not supported by qmail's wrapper
(although I forget, and the wrapper is unfortunately not well
documented).

I would recommend trying something like "cat  /tmp/file" as the
$sendmail command in Mutt, and then see if you can send mail from the
command line: "sendmail a@recipient -f your@address  /tmp/file"
That's actually the same as what Mutt is doing, so maybe you can
reproduce the problem on the command line too.


Harold Oga [EMAIL PROTECTED] wrote on Tue, 10 Oct 2000:
I don't use qmail, but the first thing I would check is that qmail's 
 /var/qmail/bin/sendmail actually supports all the options you are passing 
 it.  In particular, I would verify that the -f option is supported.  If it 
 isn't, then this could be why you are getting a child exited 127 error.

qmail does support -f for both qmail-inject and the sendmail wrapper,
I'm fairly sure of that.


Hope this helps,
Mikko
PS. Please use the address [EMAIL PROTECTED] when posting to the list,
not the @gbnet.net address, thanks.
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
Driver's mantra: To slow is to falter, to brake is to fail, to stop is defeat.