procmail
[Top] [All Lists]

Re: "unsafe for mailing to programs"

2000-02-04 14:57:03
On 4 February 2000, Dave Robbins <dave(_at_)geol(_dot_)ucsb(_dot_)edu> wrote:
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

    This message is from sendmail, not from procmail.

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
[...]

    Try chmod-ing your .forward to 0644, or adding

        O DontBlameSendmail=GroupWritableForwardFileSafe

to your /etc/sendmail.cf .

    Regards,

    Liviu Daia

-- 
Dr. Liviu Daia               e-mail:   Liviu(_dot_)Daia(_at_)imar(_dot_)ro
Institute of Mathematics     web page: http://www.imar.ro/~daia
of the Romanian Academy      PGP key:  http://www.imar.ro/~daia/daia.asc

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