procmail
[Top] [All Lists]

Re: Reinjecting emails into procmail

2003-09-02 23:31:00
On Wed, Sep 03, 2003 at 04:13:32PM +1000, Gonzalo Servat wrote:
Hi again,

After some google'ing, someone suggested:

   # formail -s procmail /path/to/procmailrc < <Maildir file>
        
. but I get this error when running it:

procmail: Suspicious rcfile "/home/gonzalo/.procmailrc"
procmail: Couldn't read "/home/gonzalo/.procmailrc"

I tried changing the permissions to '0644' (it was 0600 before) but that
didn't help.

What's your euid? You'll need to make sure procmail is running under
the same effective uid as the owner of the file before procmail will
allow you to do that. You'll also want to check permissions on the
home directory (can't be world- or group-writable).

From procmail(1):

       Suspicious rcfile "x"  The owner of the rcfile was not the
                              recipient or  root,  the  file  was
                              world  writable,  or  the directory
                              that   contained   it   was   world
                              writable,  or  this was the default
                              rcfile ($HOME/.procmailrc) and  ei-
                              ther  it  was group writable or the
                              directory  that  contained  it  was
                              group  writable (the rcfile was not
                              used).

Scott
-- 
Scott Wiersdorf
scott(_at_)perlcode(_dot_)org

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

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