> First things first -- Is procmail working? Yep
> /etc/procmailrc world readable? I set agu+rwx to be sure .. > 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. 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 ?.. > 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? -- 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