*BSD News Article 72048


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.eng.convex.com!newshost.convex.com!newsgate.duke.edu!news.mathworks.com!fu-berlin.de!news.belwue.de!news.uni-stuttgart.de!uniol!uni-erlangen.de!news.tu-chemnitz.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Problems redirecting e-mail
Date: 25 Jun 1996 22:07:05 GMT
Organization: Private BSD site, Dresden
Lines: 34
Message-ID: <4qpnu9$juf@uriah.heep.sax.de>
References: <31CEC62E.664C@host.bemarnet.es>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

Antonio Navarro Navarro <antonio@host.bemarnet.es> wrote:

>   ----- The following addresses had delivery problems -----
> "|/usr/local/bin/process"  (unrecoverable error)
>     (expanded from: foo)
> 
>    ----- Transcript of session follows -----
> Memory fault
> 554 "|/usr/local/bin/process"... unknown mailer error 139
> 
> Any ideas ? Does anybody knows the meaning of the 139 error ?

139 == 128 + 11.  128 == WIFSIGNALED, and 11 == SIGSEGV.

Your process caused a segmentation violation.  The code is rather
obfuscated (and ineffective) anyway, you might want to analyze the
core dump (if there is any -- maybe it's omitted since the real and
effective UID of sendmail are not identical).

Why don't you simply use:

#!/bin/sh

exec >> /usr/local/bin/majordomo.txt
exec cat

as your /usr/local/bin/process?

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)