procmail
[Top] [All Lists]

Re: error message 'cannot open' in recipe on solaris

2003-06-26 02:23:59
Scott Wiersdorf wrote:

On Wed, Jun 25, 2003 at 06:55:13PM +0200, Michael Meltzer wrote:
trying to setup a spam filter with procmail 3.22 (compiled from 
procmail.org) and solaris 2.8
I get error messages.
I copied the code from a magazine and modified it (replacing the content of 
variables with lists in files)
trying to fgrep or egrep the contents of this lists mostly I get an error: 
/usr/bin/sh <regex> cannot open

Where is your Bourne shell? Mine in in /bin/sh (on Solaris and most
BSDs). Either remove the SHELL line below or change it to match the
output of 'which sh'.

SHELL=/usr/bin/sh

Scott
--
Scott Wiersdorf
scott(_at_)perlcode(_dot_)org

/usr/bin/sh und /bin/sh are the same:

root #: ls -l /bin/sh
-r-xr-xr-x   4 root     root       95316 Feb 12 00:26 /bin/sh
root #: ls -l /usr/bin/sh
-r-xr-xr-x   4 root     root       95316 Feb 12 00:26 /usr/bin/sh
root #: ls -ld /usr/bin
drwxr-xr-x   4 root     bin         9216 Apr 15 22:59 /usr/bin
root #: ls -ld /bin
lrwxrwxrwx   1 root     root           9 Jun  5  2002 /bin -> ./usr/bin

any other advice ?


--
+---- Michael Meltzer ---+-----------------------------------------+
|   SICAD GEOMATICS      |   EMail : Michael(_dot_)Meltzer(_at_)sicad(_dot_)de  
    |
|   Lilienthal-Str. 7    |   Phone : +49-89-45026-108              |
|   85579 Neubiberg      |   Fax   : +49-89-45026-113              |
+------------------------+-----------------------------------------+




_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail