[Mimedefang] Administrator

Stefano McGhee SMcGhee at ARCweb.com
Wed Jul 2 14:47:01 EDT 2003


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.

Cheers,

Stefano
> 
>   well, now I have another question..=P.. is it
> possible to Mimedefang/SpamAssassin block the message
> and then send it entirely to the administrator?
> Because now the administrator only receives the
> Mimedefang Report..
> 
>   I know that we can see the entire message in
> /var/spool/MIMEDefang/qdir../ENTIRE_MESSAGE, but it's
> all in binary.. could the administrator receive it in
> normal text to analize it later?
> 
>   Thanks for help!!  =)
> 
>   Carol




More information about the MIMEDefang mailing list