> Just for kicks, perhaps you can force /etc/procmailrc for a test: > cat sample-spam.txt | procmail /etc/procmailrc
That's it.. Procmail can't read /etc/procmailrc, or at least /etc is not readable by the user. I got the following error with 'cat sample-spam.txt | procmail /etc/procmailrc' -- procmail: Suspicious rcfile "/etc/procmailrc" procmail: Couldn't read "/etc/procmailrc" -- I moved the procmailrc file to the /tmp directory and it worked perfectly. So the story so far is that Sendmail is not passing the message to procmail and procmail isn't reading /etc/procmailrc .. I tried adding /tmp/procmailrc to the flags in sendmail for procmail, though it didn't help. I think I might also try and compile it on another machine to see if I get the same results. Regards, Andrew > > > > >Yep, the message is there. Though it wasn't passed through to the spamd, > >which suggests to me that procmail is working but not reading > >/etc/procmailrc ?.. > > /etc readable by the user? > > > > > Try setting LOGFILE=/tmp/testing and VERBOSE=YES in > > > /etc/procmailrc. (Remove after you are done) > > > >I set these options (thanx for them) and run a test. > >I received the message, but it wasn't passed to the spamd and no logfile > >or logs were recorded. Same thing again, maybe not reading /etc/procmailrc? > > Hmm. My /etc/procmailrc works just great. man procmail says in the third > para that /etc/procmailrc will [generall] be called. > > Just for kicks, perhaps you can force /etc/procmailrc for a test: > cat sample-spam.txt | procmail /etc/procmailrc > > And see if the log gets created. Oh, and anything logged into > /var/log/messages? > > Other than that, I'm about out of ideas. > > > >-- Andrew > > > > > First things first -- Is procmail working? > > > > > > /etc/procmailrc world readable? > > > > > > cat sample-spam.txt | procmail > > > > > > check the mbox file for the spam. e.g. user foo (on my system) would be > >in > > > /var/spool/mail/foo. > > > > > > Try setting LOGFILE=/tmp/testing and VERBOSE=YES in > > > /etc/procmailrc. (Remove after you are done) > > > > > > Try to run the sample-spam.txt through again. Check the logfile. Mine > > > adds a couple of lines each time indicating the subject of the message and > > > which folder it was delivered to. > > > > > > At 09:57 PM 11/28/02, you wrote: > > > > > Just a shot in the dark, but, did you create any recipes in > >.procmailrc? > > > > > > > >Actually I have created a recipe in the /etc/procmailrc as follows; > > > > > > > >DROPPRIVS=yes > > > > > > > >:0fw > > > >* < 256000 > > > >| /usr/local/bin/spamc -f > > > > > > > >I have not made any individual .procmailrc files yet, but that maybe the > > > >key. > > > >It might be that the /etc/procmailrc file is not recognised/used? > > > > > > > > > > > >When I build the sendmail.mc file I receive no errors and the end result > >is; > > > > > > > >Mlocal, P=/usr/local/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, > > > >S=EnvFromSMTP/HdrFromL, R=EnvToL/HdrToL, > > > > T=DNS/RFC822/SMTP, > > > > A=procmail -Y -a $h -d $u > > > > > > > >-- Andrew > > > > > > > > > > > >----- Original Message ----- > > > >From: "Ed Kasky" <[EMAIL PROTECTED]> > > > >To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > > > >Sent: Friday, November 29, 2002 1:38 PM > > > >Subject: Re: [SAtalk] Sendmail and Procmail > > > > > > > > > > > > > At 09:04 AM Friday, 11/29/2002, Andrew wrote -=> > > > > > >I have the following lines in my sendmail.mc file; > > > > > > > > > > > >FEATURE(local_procmail,`/usr/local/bin/procmail') > > > > > > > > > > This is the only line you really need. > > > > > > > > > > >But Sendmail does not pass the message to procmail. > > > > > >Sendmail will receive the message and skip the filter. > > > > > >Is there something I am missing? > > > > > > > > > > Just a shot in the dark, but, did you create any recipes in > >.procmailrc? > > > > > > > > > > > > > > > Ed Kasky > > > > > Los Angeles, CA > > > > > . . . . . . . . > > > > > There are 3 kinds of people, those who can count & those who can't. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >------------------------------------------------------- > > > >This SF.net email is sponsored by: Get the new Palm Tungsten T > > > >handheld. Power & Color in a compact size! > > > >http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > > > >_______________________________________________ > > > >Spamassassin-talk mailing list > > > >[EMAIL PROTECTED] > > > >https://lists.sourceforge.net/lists/listinfo/spamassassin-talk > > > > > > Regards, > > > Rich > > > > > > > > > > > > > > > >------------------------------------------------------- > >This SF.net email is sponsored by: Get the new Palm Tungsten T > >handheld. Power & Color in a compact size! > >http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > >_______________________________________________ > >Spamassassin-talk mailing list > >[EMAIL PROTECTED] > >https://lists.sourceforge.net/lists/listinfo/spamassassin-talk > > Regards, > Rich > > ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk