Jeff Grossman wrote:
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
message context

You can't call most of the various action_ methods from within filter_recipient(). What you can do instead is:


if ($recip2 eq '[EMAIL PROTECTED]' or $recip2 eq '[EMAIL PROTECTED]') {
action_notify_administrator("Incorrect recipient $recip2");
return ('REJECT', 'The intended recipient is not allowed to receive email');
}


Cheers,
Dave
_______________________________________________
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