[Mimedefang] Re: filter_begin

Daniel Aquino mr.danielaquino at gmail.com
Fri May 25 09:48:54 EDT 2007


On 5/25/07, Daniel Aquino <mr.danielaquino at gmail.com> wrote:
> To me it appears that filter_begin is ran each time a message comes in...
>
> But filter_relay and what not is ran first...
>
> Is there no call back I can use that will run """before""" EVERYTHING ?
>
> I wanted to setup a method that will reload included files...
>
> This way it would be easier for a develop...
>


I have an idea...

We could modify mimedefang.pl so that it would have a development mode
switch... In development mode mimedefang-filter would get reloaded
every time a message is to be processed...  Of course this has
overhead but if your developing you want to be able to change the code
and fire off an email to see the results...  You don't want to be
stopping and starting sendmail/mimdefang every other minute...



More information about the MIMEDefang mailing list