[Mimedefang] insert text in mail with regex search pattern

Thomas Börnert tb at tbits.net
Tue Jul 3 06:29:27 EDT 2007


hi list,

i would insert a text part in all mails on a specific position, that i can
located by a regular expression.

the text part comes from a sql database.

i wrote a small script to append a text to the end of a mail in the
filter_end section and it works.

in the filter_end section i can't use a action_external_filter.

in the normal filter section i can use action_external_filter and
i can insert a text, no problem. but in this section are the
variables $RelayAddr and $head->get('Received') no availiable.
I need that both to for my select in the database.

any tipps are welcome.

thanks

Thomas



More information about the MIMEDefang mailing list