Nick,
Well it made a difference but not the one we are looking for.
Log file:
procmail: [1257] Tue Sep 8 11:50:22 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: Suspicious rcfile "/home/rjh/.procmailrc"
procmail: Couldn't read "/home/rjh/.procmailrc"
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:50:21 2009
Subject: sharp567 vacation on
Folder: /var/spool/mail/rjh
8331
procmail: Unlocking "/home/rjh/mail/.Pm/lockmail"
drwxrwxr-x 6 rjh rjh 4096 Sep 8 11:22 /home/rjh
drwxrwxr-x 7 rjh rjh 4096 Sep 8 10:04 /home/rjh/mail
I think I read that if /home/user was world readable that procmail will
complain as it did above.
Changing /home/rjh to drwxr-x--- 6 rjh rjh 4096 Sep 8 11:22 /home/rjh
Fixed that problem but not the other
procmail: [1344] Tue Sep 8 11:56:43 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_)9848:/var/spool/mail/rjh"
From rjh(_at_)mail(_dot_)sharpbus(_dot_)com Tue Sep 8 11:56:42 2009
Subject: sharp567 vacation on
Folder: /var/spool/mail/rjh
9292
procmail: Unlocking "/home/rjh/mail/.Pm/lockmail"
Rob
-----Original Message-----
From: N.J. Mann [mailto:njm(_at_)njm(_dot_)me(_dot_)uk]
Sent: September 8, 2009 11:45 AM
To: Rob Henry
Cc: procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
Subject: Re: Help needed setting up simple procmail setup
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.
--
Up To Date Bus Cancellations at www.sharpbus.com
This communication may contain privileged or other confidential information.
If you are not the intended recipient, or believe that you have received this
communication in error, please do not print, copy, retransmit, disseminate, or
otherwise use the information. Please indicate to the sender that you have
received this email in error, and delete the copy you received.
**This message has been scanned on 8/9/2009 by GFI at SHARPBUS.COM and is virus
free.**
____________________________________________________________
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