You read the procmailex and procmailrc man pages. Then you install
something that does what you want. I do not have such a script so
I cannot help you. If you scan back in archives for this list you
will find several diversions based on the X-Spam-Level: *********
header. Some others were based on the spam score from the subject
header *****SPAM***** 032.7 ** Powerhouse Investment... It ends up
looking something like:
# If it is guaranteed spam divert to /dev/null. Be aware that life
# issues no guarantees.
:0:
* <replace with your "guaranteed spam" header criterion>
/dev/null
# If it might be spam but you're not sure divert to a spam folder and
# review it periodically.
:0:
* <replace with your "maybe spam" header criterion>
$HOME/mail/spam
Since I am sure your needs are different from mine I cannot help
you any further. At some point you need to learn something and do
it for yourself. Otherwise there is too much potential to make a
mistake that does not meet your particular needs.
Be aware that SpamAssassin does misfire. So if you set the threshold
score for discarding mail too low you are risking losing a very
important email that got mismarked. If you set it too high you run
the risk of accepting way too much spam into your spam folder to
satisfy yourself.
Basically, sir, it is time to break down and read that f<ed> manual.
{^_^}
----- Original Message -----
From: "suresh kumar" <[EMAIL PROTECTED]>
I am using procmail with spamassassin for sendmail
MTA. Where I can get the procmail scripts for the mail
diversion? Or Is it a better choice to user milter and
mimedefang integrated with spamassassin for spam
handling and diversion.
Suresh.
--- jdow <[EMAIL PROTECTED]> wrote:
How are you running SpamAssassin? If you are calling
it from procmail
then there are innumerable scripts floating around
for doing the
bad message diversion. (If you are doing it on mail
just before it
is fetched by your mail reader, say OutlookExpress,
then "No way"
comes to mind. It becomes a setup issue in
OutlookExpress. Check
out filters and the "delete it from server" option.)
There are so many ways to deal with it that I'm
rather astonished
you have never run across any such descriptions.
They float throughout
the wiki. And someone of modest imagination could
figure out the
OutlookExpress rule to deal with spam. (That is
where I do almost all
of my spam diversion and spam handling.)
{^_^}
----- Original Message -----
From: "suresh kumar" <[EMAIL PROTECTED]>
> I am using sendmail as my MTA. Is there any
option
> or additional packages to block the spam mails or
to
> move it some folder instead of user's mailbox when
> identifying as spam mail.
> Suresh
>
>
> --- Forrest Aldrich <[EMAIL PROTECTED]> wrote:
>
>> Depending upon what MTA you're using, I have used
>> the Spamass-Milter
>> successfully to block emails that rate at or
above
>> the required_hits
>> level (now named required_score).
>>
>> Though I'm having some trouble with SA as per my
>> last post ;-)
>>
>>
>>
>>
>> jdow wrote:
>>
>> > From: "suresh kumar" <[EMAIL PROTECTED]>
>> >
>> >> hi, Thanks for the response for my
>> earlier question.
>> >> I don't want the spam mails to be delivered to
my
>> >> mailbox and to block from the mailclient using
>> the
>> >> filters . I want to discard those spam mails
when
>> they
>> >> are identified as spam by spamassassin or to
move
>> them
>> >> to a common place other than the user's
mailbox
>> for
>> >> verification .
>> >> Can We do that using spamassassin . If
possible
>> kindly
>> >> assist me in doing that where and how to set
it.
>> >>
>> >> Your earliest answer will be very useful
to
>> me.
>> >> Suresh
>> >
>> >
>> > Suresh, at the risk of being overly repetitive,
>> "No, you cannot
>> > block mails with SpamAssassin. All you can do
is
>> score mails so
>> > that some other agent can look at the score and
>> dispose of this
>> > mail accordingly. I have OutlookExpress feeding
>> the spam to the
>> > spam folder it maintains. I could have it
delete
>> the spam. It's
>> > also a simple thing to delete the spam with say
>> "procmail" when
>> > it is in your processing path. But SpamAssassin
>> does not delete
>> > mail. It only scores it and marks it."
>> >
>> > {^_^}
>> >
>>
>
>
> Send instant messages to your online friends
http://uk.messenger.yahoo.com
Send instant messages to your online friends http://uk.messenger.yahoo.com