[Mimedefang] Action Bounce Question

Jeff Grossman jeff at stikman.com
Mon Jan 17 16:46:34 EST 2005

On 1/17/05 12:20 PM, "Dave O'Neill" <dmo at roaringpenguin.com> 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 'signalhill at turners.com' or $recip2 eq
> 'reseda at turners.com') {
>                  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 Grossman (jeff at stikman.com)

More information about the MIMEDefang mailing list