Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
procmail suspicious rcfile, stumped SOLVED
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Dillinger
Apprentice
Apprentice


Joined: 27 Jul 2003
Posts: 226
Location: Huntington Beach, Ca

PostPosted: Sun Dec 21, 2003 3:42 am    Post subject: procmail suspicious rcfile, stumped SOLVED Reply with quote

#*****procmail: Suspicious rcfile "/home/tyler/.procmailrc"
procmail: Couldn't read "/home/tyler/.procmailrc"
not flushed

This is the message I've been getting when running fetchmail, I have no idea what the problem is and it just started doing this today. Any thoughts?
_________________
registered Linux user #338885
www.easylinuxguide.com
www.linuxforums.org


Last edited by Dillinger on Mon Dec 22, 2003 5:31 am; edited 1 time in total
Back to top
View user's profile Send private message
destiney
n00b
n00b


Joined: 21 Dec 2003
Posts: 39

PostPosted: Sun Dec 21, 2003 8:26 am    Post subject: Reply with quote

.procmailrc needs a minimal of permissions.

Mine is:

-rw------- 1 destiney 491 Dec 10 09:35 .procmailrc
Back to top
View user's profile Send private message
Dillinger
Apprentice
Apprentice


Joined: 27 Jul 2003
Posts: 226
Location: Huntington Beach, Ca

PostPosted: Sun Dec 21, 2003 7:33 pm    Post subject: Reply with quote

I tried that, still getting the same message.
_________________
registered Linux user #338885
www.easylinuxguide.com
www.linuxforums.org
Back to top
View user's profile Send private message
Chris W
l33t
l33t


Joined: 25 Jun 2002
Posts: 972
Location: Brisbane, Australia

PostPosted: Mon Dec 22, 2003 1:30 am    Post subject: Reply with quote

If you let us in on the secret of what permissions the file and directory actually had then perhaps we can see the problem :)

In the meantime, the $HOME/.procmailrc file should be owned by tyler or root (possibly the same group as tyler) and have no group or other file permissions. Your home directory should not have write permissions to group or other.
_________________
Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein
Back to top
View user's profile Send private message
Dillinger
Apprentice
Apprentice


Joined: 27 Jul 2003
Posts: 226
Location: Huntington Beach, Ca

PostPosted: Mon Dec 22, 2003 5:31 am    Post subject: Reply with quote

SOLVED

Thanks for the input :D
_________________
registered Linux user #338885
www.easylinuxguide.com
www.linuxforums.org
Back to top
View user's profile Send private message
mrmg
n00b
n00b


Joined: 17 Feb 2004
Posts: 6
Location: London, UK

PostPosted: Wed May 26, 2004 9:20 am    Post subject: Reply with quote

What would I need to chmod the procmailrc file? Mine is coming up with the same errors. I've tried 'chmod 700 .procmailrc' but that still puts the same error into /var/log/messages/ and I am not getting my email at all.
_________________
--
MG
Back to top
View user's profile Send private message
destiney
n00b
n00b


Joined: 21 Dec 2003
Posts: 39

PostPosted: Wed May 26, 2004 3:06 pm    Post subject: Reply with quote

chmod 600 is what you need, as i posted previously
Back to top
View user's profile Send private message
mrmg
n00b
n00b


Joined: 17 Feb 2004
Posts: 6
Location: London, UK

PostPosted: Wed May 26, 2004 3:30 pm    Post subject: Reply with quote

I tried that and it didn't work. All is working at 0740 which is strange! Thanks for your help.
_________________
--
MG
Back to top
View user's profile Send private message
ixion
l33t
l33t


Joined: 16 Dec 2002
Posts: 708

PostPosted: Sun Jan 09, 2005 5:13 pm    Post subject: Reply with quote

I've done as all of you have suggested, still getting this error.. funny thing is that another user with the exact same perms on his .procmailrc works just fine.. this is extremely frustrating..

should root:root have ownership at 0600? 0740? user:group 0600? 0740? I'm lost now...
_________________
only the paranoid survive
Back to top
View user's profile Send private message
ixion
l33t
l33t


Joined: 16 Dec 2002
Posts: 708

PostPosted: Sun Jan 09, 2005 5:44 pm    Post subject: Reply with quote

Chris W wrote:
If you let us in on the secret of what permissions the file and directory actually had then perhaps we can see the problem :)

In the meantime, the $HOME/.procmailrc file should be owned by tyler or root (possibly the same group as tyler) and have no group or other file permissions. Your home directory should not have write permissions to group or other.


After re-reading your post in less frustration noticed the homedir statement.

Code:

chmod -R 744 /home/user5


sorted. thank you!
_________________
only the paranoid survive
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum