[Mimedefang] How to quit mimedefang-filter early?

David F. Skoll dfs at roaringpenguin.com
Thu Nov 18 10:19:08 EST 2004


On Thu, 18 Nov 2004, Jim McCullars wrote:

> On Thu, 18 Nov 2004, Scott Galambos wrote:

> > In filter_begin I want to simply accept the message and quit, skipping all
> > my subsequent code.  If I add:

> > action_accept();
> > exit();

it fails,

>    You need to do this instead:
>
> 	return('ACCEPT_AND_NO_MORE_FILTERING', "ok");

That won't work from filter_begin.  See the mimedefang-filter man
page and search for message_rejected().

Regards,

David.



More information about the MIMEDefang mailing list