[Mimedefang] Administrator
Carol Man
mimedefang at yahoo.com
Wed Jul 2 15:46:01 EDT 2003
Stefano,
I can say that Mimedefang is interesting.. We are
studying the case of using these programs here, but
I'm having difficulties in configuring what they
want..=P.. So I'm bothering you to help me.. =)
Well, I tried to put what you said but it didn't
work for me.. =( .. Could see if what I put is
correct, please?
# If you find the SA report useful, add it, I
guess...
action_add_part($entity, "text/plain",
-suggest",
"$report\n",
"SpamAssassinReport.txt", "inline");
action_add_header("X-Spam-Warning",
"SpamAssassin says this message is SPAM");
action_add_header("X-Spam-Status", "Yes,
hits=$hits required=$req");
action_add_header("X-Spam-Report","$report");
foreach $recip (@Recipients) {
delete_recipient($recip);
}
add_recipient($AdminAddress);
} else {
action_add_header("X-Spam-Status",
"No");
}
PS: See that instead of putting $SpamAddress, I put
$AdminAddress.. is it correct?
--- Stefano McGhee <SMcGhee at arcweb.com> wrote:
> Carol,
> You might also want to ensure that you have said
> local spam account
> setup to receive mail and that local delivery is
> allowed. Just in case you
> want to utilize this solution. Otherwise you could
> forward it to an admin
> account on another account. I only use Pine because
> of the "bounce"
> feature.
>
> Hope that helps,
>
> Stefano
>
>
> > Carol,
> > Trying to whittle a filter in an afternoon, eh?
> >
> > In my filter_end right after the part where the SA
> report
> > gets added, I
> > have this section of code:
> >
> > foreach $recip (@Recipients) {
> > delete_recipient($recip);
> > }
> > add_recipient($SpamAddress);
> >
> > What this does is to recursively remove the
> existing
> > recipients and add
> > $SpamAddress, which is my local spam account.
> From that account, can
> > peruse the mail that falls into the gray are and
> forward on
> > (via Pine's
> > bounce) the original message or just delete the
> spam. It
> > works for me.
> > The original recipient is in the headers, BTW.
> >
>
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
More information about the MIMEDefang
mailing list