procmail
[Top] [All Lists]

Re: Help needed setting up simple procmail setup

2009-09-08 11:45:14
In message <013f01ca3098$107cb150$317613f0$(_at_)com>,
        Rob Henry (rob(_at_)sharpbus(_dot_)com) wrote:
Sorry about the wrong reply address. 
I did as you suggested and it still doesn't work. I have tried directory
permissions of 777 and 750 still get 

procmail: [914] Tue Sep  8 11:15:42 2009
procmail: No match on "^X-Spam-Status: Yes"
procmail: Assigning
"PATH=/home/rjh/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin"
procmail: Rcfile: "/home/rjh/.procmailrc"
procmail: Assigning "DROPPRIVS=YES"
procmail: Assuming identity of the recipient, VERBOSE=off
procmail: Assigning "VERBOSE=ON"
procmail: Assigning "INCLUDERC=/home/rjh/mail/.Pm/vacation.rc"
procmail: Couldn't read "/home/rjh/mail/.Pm/vacation.rc"
procmail: Assigning "VERBOSE=ON"
procmail: Locking "/var/spool/mail/rjh.lock"
procmail: Assigning "LASTFOLDER=/var/spool/mail/rjh"
procmail: Opening "/var/spool/mail/rjh"
procmail: Acquiring kernel-lock
procmail: Unlocking "/var/spool/mail/rjh.lock"
procmail: Notified comsat: "rjh(_at_)556:/var/spool/mail/rjh"
From rjh(_at_)mail(_dot_)sharpbus(_dot_)com  Tue Sep  8 11:15:41 2009
 Subject: sharp567 vacation on
  Folder: /var/spool/mail/rjh
6413
procmail: Unlocking "/home/rjh/mail/.Pm/lockmail"

BTW. The log file is located at .Pm/procmail.log and it gets written to.

I'm rusty on my linux file permissions. What is the octal it should be set
to.

If you can not remember them then use the symbolic ones, e.g.

chmod a+r file-to-be-made-world-readable

Also, the log file as owner of root and group of mail. Should the .rc file
have similar?

I _think_ the user procmail is 'switching' to is not the owner of the
directory tree /home/rjh.  Try making the directory and file world
readable, i.e.

chmod a+rx /home/rjh/mail/.Pm 
chmod a+r /home/rjh/mail/.Pm/vacation.rc

and to be on the safe side

chmod a+rx /home/rjh /home/rjh/mail

I should have asked you to provide a ls -ld of those two as well.
Please do so now.

Hopefully we will get there eventually. :-)


Cheers,
       Nick.
-- 

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail