[Mimedefang] filter_recipient problem (bug?)

Steffen Kaiser skmimedefang at smail.inf.fh-bonn-rhein-sieg.de
Wed Aug 11 05:36:27 EDT 2004


On Wed, 11 Aug 2004, Egor Moskvichev wrote:

> Hi, all!
> The problem is...

explained in man mimedefang-filter section MAINTAINING STATE.

> sub filter_recipient () {
>    my ($recipient, $sender, $ip, $hostname, $first, $helo, $rcpt_mailer,
> $rcpt_host, $rcpt_addr) = @_;
>    $from_host = $ip;
>    $to_recipient = $recipient;
>    return ('CONTINUE', "ok");
> };

Consider you have multiple recipients, what use $to_recipient have in 
this scenario?

When you read man mimedefang-filter section GLOBAL VARIABLES SET BY 
MIMEDEFANG.PL, you see that you needn't filter_recipient as it is now at 
all.

Bye,

-- 
Steffen Kaiser



More information about the MIMEDefang mailing list