procmail
[Top] [All Lists]

Re: 'Valid Shells for mailing to programs'

1997-04-17 09:08:00


I just found out what happens when my nfs-mounted procmail becomes
unavailable:


Subject: Returned mail: unknown mailer error 1

The original message was received at Thu, 17 Apr 1997 11:09:50 -0400
from addme [134.177.1.107]

   ----- The following addresses had delivery problems -----
"|IFS=' ' && exec /usr/global/bin/procmail -f- || exit 75 #tdriscol"  
(unrecoverable
error)
    (expanded from: <tdriscol(_at_)engeast>)

   ----- Transcript of session follows -----
procmail: Terminating prematurely
554 "|IFS=' ' && exec /usr/global/bin/procmail -f- || exit 75 #tdriscol"... 
unknown mailer error 1





-tim driscoll
tdriscol(_at_)baynetworks(_dot_)com


On Thu, 17 Apr 1997, era eriksson wrote:

Date: Thu, 17 Apr 1997 09:40:49 +0300 (EET DST)
From: era eriksson <reriksso(_at_)cc(_dot_)helsinki(_dot_)fi>
To: mauzy(_at_)math(_dot_)unc(_dot_)edu
Cc: procmail(_at_)Informatik(_dot_)RWTH-Aachen(_dot_)DE
Subject: Re: 'Valid Shells for mailing to programs'
Resent-Date: Thu, 17 Apr 1997 08:56:37 +0200 (MET DST)
Resent-From: procmail(_at_)Informatik(_dot_)RWTH-Aachen(_dot_)DE

On Wed, 16 Apr 1997 14:21:45 -0400 (EDT),
Matthew Wilds Mauzy <mauzy(_at_)math(_dot_)unc(_dot_)edu> wrote:
 > I get the following error message (generated by the Mailer-Daemon) when 
 > trying to use procmail in my .forward file:
 >    ----- The following addresses had permanent fatal errors -----
 > "|IFS=' 'exec /opt_software/procmail/bin.`uname`/procmail -f- || exit 75 
 > #mauzy"

That would be "| IFS=' ' exec ..." -- note the space before the exec.
(What you are doing amounts to "IFS=' exec'".)

 > 550 /home/tramp/disk2/mauzy/.forward: line 1: "|IFS=' 'exec 
 > /opt_software/procmail/bin.`uname`/procmail -f- || exit 75 #mauzy"... User 
 > mauzy(_at_)galadriel(_dot_)math(_dot_)unc(_dot_)edu doesn't have a valid 
shell for mailing to 
 > programs

Does the /etc/shells file on the Solaris look OK? If not, can you
persuade your admin to fix it? If not, would you consider changing to
a human-usable shell? If not, would you consider using the trick in
the "How to change your login shell" FAQ -- i.e. tell the system your
preferred shell is e.g. /bin/sh but, in your .profile, exec the shell
you actually wish to use? 

The Procmail FAQ as included in the distribution (also available
standalone from <http://www.iki.fi/~era/procmail/> -- get the
"original" FAQ, not the "mini-FAQ" which is something else I've cooked
up for IMHO slightly different purposes) includes something about this
situation, as does the Sendmail FAQ.

(Apparently this is not the restricted mail shell problem, you just
need to use a valid shell.)

/* era */

A good selection of Usenet FAQs is available from <http://www.faqs/org/>; 
here are the URL:s for the two mentioned above (you figure out which
is which :-)
  <http://www.faqs.org/faqs/unix-faq/shell/> (check out other goodies too)
  <http://www.faqs.org/faqs/by-newsgroup/comp/comp.mail.sendmail.html>

-- 
Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r.  <http://www.iki.fi/~era/>
 * Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>


<Prev in Thread] Current Thread [Next in Thread>