On 1/17/05 12:20 PM, "Dave O'Neill" <[EMAIL PROTECTED]> wrote:
> 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');
> }
I was not aware of that. Thanks for the information.
Jeff
--
Jeff Grossman ([EMAIL PROTECTED])
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang