procmail
[Top] [All Lists]

RE: Help needed setting up simple procmail setup

2009-09-08 11:22:03
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.

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

Rob 


-----Original Message-----
From: N.J. Mann [mailto:njm(_at_)njm(_dot_)me(_dot_)uk] 
Sent: September 8, 2009 10:41 AM
To: Rob Henry
Cc: procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
Subject: Re: Help needed setting up simple procmail setup

Please keep messages on the list so that others may learn from our
mistakes. :-)


In message <012b01ca3091$7cab9050$7602b0f0$(_at_)com>,
        Rob Henry (rob(_at_)sharpbus(_dot_)com) wrote:
ls -l /home/rjh/mail/.Pm/vacation.rc 

comes back with -rw-r----- 1 rjh rjh 4556 Sep  4 06:34
/home/rjh/mail/.Pm/vacation.rc

ls -ld /home/rjh/mail/.Pm 

comes back with drw-r----- 2 rjh rjh 4096 Sep  8 10:02 /home/rjh/mail/.Pm

                  ^^^^^^^^^^

The permissions are wrong on the directory.  It needs to be searchable
(executable), i.e. it should be drwxr-x---- at a minimum.


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