H!

On Thu, 2010-10-07 at 14:48 +1100, Nigel Allen wrote:
> Greetings
> 
> I need to export an entire email depending on some test results within
> MIMEDefang-filter.
> 
> The email needs to be exported to an operating system folder as a .eml
> file ready to be scooped up by an application daemon process.
> 
> Two questions
> 
> 1) Is this possible?

Yay! :-)

> 2) Assuming "Yes", can anyone point me in the right direction?

man mimedefang-filter -> GLOBAL VARIABLES SET BY MIMEDEFANG.PL -> $CWD :

"This variable holds the working directory for the current message.
During filter processing, mimedefang.pl chdir's  into  this directory
before  calling  any  of  the filter_ functions.  Note that this
variable is set correctly in filter_sender and filter_recipient, but not
in filter_relay."

The file you want is $CWD/Work/INPUTMBOX 


_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to