procmail
[Top] [All Lists]

"unsafe for mailing to programs"

2000-02-04 14:01:03
Hi,

I still haven't gotten procmail 3.14 to work.
Now, anyone emailing me when I have the following file
named as my .forward,

   270 geosci:/home/dave% more .forward.x
   "|exec /usr/local/bin/procmail"

they get (from a unix shell):

   /home/dave/.forward: line 1: "|exec /usr/local/bin/procmail"... 
   Address dave is unsafe for mailing to programs

In a previous post, I noted:

   >I just switched my server
   >
   >   from an ss5 running Solaris 2.5, sendmail.com's 8.9.3 
   >   and procmail 3.11 defined as the local mailer in sendmail.cf.
   >
   >   to a u5 running Solaris 7, Sun's sendmail 8.9.1 
   >   and procmail 3.14 *not* defined as the local mailer.

The files and directory in question are as they should be for
ownership and permissions:

   271 geosci:/home/dave% ls -ald . .procmailrc .forward.x
   drwxr-xr-x  30 dave     sysadmin    2048 Feb  4 12:09 .
   -rw-rw----   1 dave     sysadmin      32 Jan 31 19:39 .forward.x
   -rw-------   1 dave     sysadmin    7345 Jan 20 10:52 .procmailrc

I haven't yet used INCLUDERC in my .procmailrc so that could not be
affecting this.

Does procmail 3.14 need any special install considerations that
I did not make note of?

The script from my install procedure:

   500 geosci:/opt# ftp www.procmail.org
   ftp> bin
   ftp> get procmail-3.14.tar.gz
   ftp> quit

   501 geosci:/opt# gzip -dc procmail-3.14.tar.gz |tar xvpf -
   502 geosci:/opt/procmail-3.14# cp -p Makefile Makefile.orig
   503 geosci:/opt/procmail-3.14# vi Makefile

   504 geosci:/opt/procmail-3.14# diff Makefile Makefile.orig
   5c5
   < BASENAME      = /usr/local
   ---
   > BASENAME      = /usr
   10c10,11
   < ARCHITECTURE  =.sun4
   ---
   > ARCHITECTURE  =
   > #ARCHITECTURE =.sun4

   505 geosci:/opt/procmail-3.14# make install
   506 geosci:/opt/procmail-3.14# make install-suid VERBOSE=on
   507 geosci:/opt/procmail-3.14# cd /opt/local/bin.sun4
   508 geosci:/opt/local/bin.sun4# foreach f ( * )
   ? ln -s $cwd/$f /usr/local/bin/$f
   ? end

I realize ARCHITECTURE didn't have to be set to .sun4

Thanks for any help.  

Dave Robbins

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                   David G. Robbins
           mailto:robbins(_at_)geology(_dot_)ucsb(_dot_)edu
            http://www.geol.ucsb.edu/~dave
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 System & Network Manager
 Geological Sciences
 University of California
 Santa Barbara,CA 93106
 Office: 805-893-8203         Home: 805-682-9306
 Fax:    805-893-2314         Father to Becky, age 8

 "Little boys and girls, even older boys and girls 
 need to have your attention all the time -- and in 
 many different ways.  When a child does not get 
 the attention he or she thinks they need or deserve, 
 they will act negatively."  -- Suzanne Newton

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