procmail
[Top] [All Lists]

Re: Why isn't this .forward working?

1996-03-22 15:58:06
Kent Perrier <kent(_at_)scout(_dot_)hstn(_dot_)tensor(_dot_)pgs(_dot_)com> 
writes:
Hi all.  I am trying to install procmail on our systems here and I am having
problems with the .forward file.  Located below is the bounce error message.
System info: Sparc 4 running sunos4.1.4  We are running a recient version
of the Berkeley Sendmail (I don't know the exact version number).
...
sh: cannot use & in command


This is the sign of smrsh (sendmail restricted shell).  You'll need to
get smrsh to accept procmail as a valid command for .forward files.
This is generally done by putting a copy (or hardlink) of procmail in
smrsh directory

        /usr/adm/sm.bin

After that, change your .forward file to just say:

        procmail -f-

If you really want the retry on failure semantics of the "||exit 75"
part of the .forward you were using, try using

        procmail -f- -t

instead.

Philip Guenther

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