Philip,
Thank you so much for your help. That was indeed the problem! I tested it
just now, and its working! As I am the only user on this system, I went
with the simple option of changing the file permissions on my home
directory and my .procmailrc file.
As regards your question about the message coming in two
parts: I wrote the message at home with pico. I wanted to spend some time
gathering all the relevant information so as not to recieve replies about
checking my sendmail setup and other various files etc. I didn't want to
log into my compsoc account to do this online as my connection to this
account is sometimes very slow, and I cannot mail to the list from
here (mark(_at_)localhost(_dot_)localdomain). So in the end, I sent the mail
with my
carefully typed problem as an attachment.
I have no idea why it came as base 64. I've had a couple of
problems with this account (binary files being displayed a garbage text in
the body of recieved mails!). Hope this sheds some light on your question.
Once again, thanks for your help.
Best regards,
Mark Irvine
===================================
Always reply to mirvine(_at_)compsoc(_dot_)com
===================================
On Wed, 22 Mar 2000, Philip Guenther wrote:
Mark Irvine <mirvine(_at_)compsoc(_dot_)com> writes:
...
The following mail is quite long, and rather newbieish is content. My
appologies for sendind such a long mail, but I have been stuck on this
problem for several weeks now.
I'm trying to get procmail working on my home PC running
Linux(2.2)(RedHat6.0).
I am having some strange problems getting it to actually do ANYTHING.
When I say it won't do anything, it won't do any basic filtering, or even
generate a log file!
...
The problem is almost certainly one of permissions. If you were to examine
the maillog file in /var/log you should find bunches of messages saying
Suspicious rcfile "/home/mark/.procmailrc"
If you then look up "Suspicious rcfile" in the procmail(1) manpage you'll
see a blurb about procmail not trusting the default rcfile if it's either
a) world writable
b) in a world writable directory
c) group writable, or
d) in a group writable directory
The default Redhat installation puts each user in their own group and sets
their default permissions to include group-write, such that conditions
(c) and (d) are both met. There are two solutions:
1) The prefered solution is to install a version of procmail compiled with
the GROUP_PER_USER define set in the config.h file at compile time.
At one time there was an RPM of procmail version 3.13.1 that had this
set, but I don't know what happened to it. If you can't find such
a beast you can always download the source from:
ftp://ftp.procmail.org/pub/procmail/
and compile it yourself.
2) chmod g-w ~ ~/.procmailrc
This is quick, but fragile: don't forget to do this for all the other
users on the system and the new user template...
BTW: your message came across as a MIME multipart message, the first
part containing only the command
Always reply to mirvine(_at_)compsoc(_dot_)com
while the second part had the actual text of your question, encoded for
some reason in base64! That just leaves me asking "why????" Was this
intentional?
Philip Guenther