[quote user="Rolf Lindby"]
There are two options, policy or daemon, if you want to modify the contents of the message. In this case a policy could perhaps solve it. You'll find policy settings under Core configuration. You need to check "This task modifies the raw data of the jobs it examines" to get it to work. From Mercury help:
In some cases, you may wish to allow the external task to modify the actual data in the mail message it examines (for instance, you may want it to add a header to the message). Checking this control tells Mercury to copy the temporary file it creates containing the message's data back into the queue job when policy processing is complete. It is your responsibility to ensure that the policy does not corrupt or damage the message data in this case, and to ensure that the message data remains in legal RFC2822 format. Checking this control will slightly increase the time it takes to process policies on your system.
/Rolf
[/quote]
Thanks. Do/can policy tasks run hidden?
[quote user="Rolf Lindby"]<p>There are two options, policy or daemon, if you want to modify the contents of the message. In this case a policy could perhaps solve it. You'll find policy settings under Core configuration. You need to check "This task modifies the raw data of the jobs it examines" to get it to work. From Mercury help:
</p><blockquote><i>&nbsp;In some cases, you may wish to allow the external task to modify the actual data in the mail message it examines (for instance, you may want it to add a header to the message). Checking this control tells Mercury to copy the temporary file it creates containing the message's data back into the queue job when policy processing is complete. It is your responsibility to ensure that the policy does not corrupt or damage the message data in this case, and to ensure that the message data remains in legal RFC2822 format. Checking this control will slightly increase the time it takes to process policies on your system.</i>
</blockquote><p>/Rolf </p><p>[/quote]</p><p>&nbsp;</p><p>Thanks.&nbsp; Do/can policy tasks run hidden?
&nbsp;</p>