procmail
[Top] [All Lists]

Re: Local setup for procmail?

2000-09-25 16:24:22
"Gijun Lee" wrote:
not work. When I looked up the procmail documentation, the procmail files
need to have 's' permission to run okay. But I wonder if procmail run
correctly without 's' permission.

What version of procmail are you trying to run, and what version of
what operating system?  I've had experiences in the past where
procmail seemed to need the setgid bit turned on (group=mail),
otherwise it would create mailboxes with too-tight permissions (600).
(This was on HP-UX 10.20 IIRC.)  The current version on my current
system (3.11pre7 on linux 2.0.36, SuSE 6.0) doesn't need setgid set.

When you say procmail doesn't work, do you mean that it doesn't get
executed at all?  Or that when it executes, it has permission problems
writing to /var/spool/mail/YourName?  Or something else?

Are you running sendmail?  If the output of
    $ grep ^Mprog /etc/sendmail.cf

looks like this:

    Mprog,          P=/usr/sbin/smrsh, F=lsDFMoqeu9, S=10/30, R=20/40, D=$z:/,

then your sendmail is running the sendmail restricted shell, and
that's why it doesn't like your procmail.  The "smrsh" program is
supposed to be more secure because it won't let mail recipients run
arbitrary programs.  Unfortunately this means it won't let you run
procmail :^<

hth,
-- 
Neither I nor my employer will accept any liability for any problems
or consequential loss caused by relying on this information.  Sorry.
Collin Park                         Not a statement of my employer.

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