[Mimedefang] Action Bounce Question

Jeff Grossman jeff at stikman.com
Mon Jan 17 14:54:05 EST 2005


I must have something wrong in my filter.  I am getting the following error:

Jan 17 10:57:28 mail mimedefang.pl[29405]: action_bounce called outside of
messa
ge context


Here is the part of my filter which is triggering this: (it is in
filter-recipient)

sub filter_recipient {

my($recip, $sender, $ip, $host, $first, $helo, $rcpt_mailer, $rcpt_host,
        $rcpt_addr) = @_;

$recip2 = $recip;
$recip2 =~ tr/<>//d;
$recip2 = lc($recip2);

if ($recip2 eq 'signalhill at turners.com' or
        $recip2 eq 'reseda at turners.com') {
                action_bounce("The intended recipient is not allowed to
receive 
e-mail");
                return action_notify_administrator("Incorrect Recipient
$recip2"
);
}


Thanks for the help.





More information about the MIMEDefang mailing list