procmail
[Top] [All Lists]

Re: 'Valid Shells for mailing to programs'

1997-04-17 00:12:00
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>