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 '[EMAIL PROTECTED]' or
        $recip2 eq '[EMAIL PROTECTED]') {
                action_bounce("The intended recipient is not allowed to
receive 
e-mail");
                return action_notify_administrator("Incorrect Recipient
$recip2"
);
}


Thanks for the help.


_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to