Newsgroups: comp.mail.sendmail
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!ox.com!math.fu-berlin.de!grasp1!wolf
From: wolf@grasp1.univ-lyon1.fr (Christophe Wolfhugel)
Subject: Re: Sendmail unknown mailer error 1
Message-ID: <1991Apr23.153449.16437@grasp1.univ-lyon1.fr>
Date: Tue, 23 Apr 1991 15:34:49 GMT
References: <1991Apr20.202720.16086@mp.cs.niu.edu> <MICHAEL.91Apr22102002@pbinfo.uni-paderborn.de> <1991Apr22.120008.6171@mp.cs.niu.edu>
Organization: INSA Departement Informatique, Lyon, France

In article <1991Apr22.120008.6171@mp.cs.niu.edu> rickert@mp.cs.niu.edu (Neil Rickert) writes:
>/bin/sh -c "cd /home/bart;./bug-responder.csh"

I've used all this good advices on the same problem. But thus it does not
work. Here's the setup I use:

/usr/lib/aliases:
faq-aix:        "|/usr/local/bin/faq"

faq has following access rights (seems OK to me):
-rwsr-sr-x   1 listserv listserv   43844 Apr 23 15:45 /usr/local/bin/faq

The sendmail.cf prog mailer is defined as:
Mprog,  P=/bin/sh,  F=flsDFMe, S=10, R=20, A=sh -c $u

When a local user sends mail to faq-aix (/usr/lib/sendmail -v -t) I get
a correct execution:
faq-aix@fifi.univ-lyon1.fr... aliased to        "|/usr/local/bin/faq"
"|/usr/local/bin/faq"... Connecting to .prog...
"|/usr/local/bin/faq"... Sent

When a remote user sends mail to faq-aix, the 'faq' module never finishes.
To see where it locks up, I added as first statements of the application:
   fgetc(stdin);
   exit(0);
In the "local" case it's ok with ot without the fgetc, when the mail is
remote, the application locks on the fgetc (as waiting). It seems that the
sendmail does not forward the incomming mail to the application.

Any suggestion? My fault? System's fault?

-- 
Christophe Wolfhugel (on irc: Zolf)  |  Email: wolf@grasp1.univ-lyon1.fr
INSA Lyon - Departement Informatique |  "Ecole publique, ecole fauchee. Encore"
69621 Villeurbanne Cedex             |  "une tradition francaise dont on se"
France                               |  "passerait bien."
