Of course, I do not write to the list, if I did not look anywhere I had some idea to look. Procmailrc.example was the first one I found on my drive. Anywhere, it is only very basic to procmail rules.
Please, any other idea to start with ? Peter Rosa ----- Original Message ----- From: "Morris Jones" <[EMAIL PROTECTED]> To: "Peter Rosa" <[EMAIL PROTECTED]> Sent: Wednesday, October 22, 2003 7:52 PM Subject: Re: [SAtalk] Procmail+Sendmail+SpamAssassin > There's an example procmailrc in the spamassassin package. Look for > procmailrc.example. > > Best regards, > Mojo > > On Wed, 22 Oct 2003, Peter Rosa wrote: > > > Hello list's friends. > > > > I have FreeBSD box with sendmail+spamassassin+procmail. As it comes more and > > more spam messages I realize to prepare rules for spam deletion. I have done > > 3 months work on spam mesgs+senders+scores analysis. Now I'm ready to do it, > > but I'm not very familiar with procmail. I prepared the following list > > > > I want to write rules, which will do following: > > 1. check if the X-Spam-Level is more than 15 > > 2. retrieve the sender domain from Form: header > > 3. compare sender domain against my own list (freemails.txt), > > where are all big freemail sites listed. > > 4. if sender is not there, add sender domain to the ACCESS > > database with REJECT 550 Stop Spamming > > 5. delete the spam message > > 6. spams marked with score 10 should go to quarantene. > > > > > > > > Please help me with second rule, as it can not work - it's only an idea: > > > > FREEMAILS=`cat /etc/mail/freemails.txt` > > SENDERDOMAIN=`egrep From: - | awk -F@ '{ print $2 }'` > > > > :0: > > * ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\* > > * ${SENDERDOMAIN}<>${FREEMAILS} > > | echo '${SENDERDOMAIN}\t\t550 Stop Spamming' >> /etc/mail/access > > > > :0: > > * ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\* > > /dev/null > > > > :0: > > * ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\* > > ! [EMAIL PROTECTED] > > > > > > > > Any solution is very welcome :-) > > > > Peter Rosa > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by OSDN developer relations > > Here's your chance to show off your extensive product knowledge > > We want to know what you know. Tell us and you have a chance to win $100 > > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 > > _______________________________________________ > > Spamassassin-talk mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/spamassassin-talk > > > > -- > Morris Jones <*> > San Rafael, CA > [EMAIL PROTECTED] > http://www.whiteoaks.com > > ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk