[Mimedefang] action_external_filter: entire contents
Steffen Kaiser
skmimedefang at smail.inf.fh-bonn-rhein-sieg.de
Mon Jun 9 08:27:52 EDT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, 9 Jun 2008, TOUZEAU DAVID wrote:
> i see action_external_filter for y mind, this feature allow only to send
> eMail's parts to external process.
> I need to send the entire contents of the mail include headers, body, parts
> to my tool in order to provide backup features
>
> Is it possible to do this with this function ?
The intend of this function is different.
But look into add_recipient(), though, the original sender might get a
bounce, if the delivery fails.
However, in minutes you have a working function by copy'n'paste'ing from
stream_by_recipient() :)
Alternatively, the complete message is located in "./INPUTMSG", if your
filter user can write to the backup store, you can do so right in filter()
or filter_end() directly. (see man mimedefang-protocol)
Bye,
- --
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFITSHK5ThHZhj8SBwRAr57AJ9Fmi5+7dujrIux3eFABgkqRPiOxgCePLU8
X0lsb2Ggcp+ObIMi+TkV0zo=
=T7p+
-----END PGP SIGNATURE-----
More information about the MIMEDefang
mailing list