[Mimedefang] Capturing the URL from action_replace_with_url

David F. Skoll dfs at roaringpenguin.com
Mon Nov 14 16:38:45 EST 2011


On Mon, 14 Nov 2011 16:32:29 -0500
"Larry G. Wapnitsky" <LWapnitsky at ph.wrtdesign.com> wrote:

> I finally have MIMEDefang up and running and am creating some custom
> actions on my filter.  One thing I'd like to do is pass the URL from
> the action_replace_with_url function to our in-house URL shortener,
> then have that placed in the message.  Is that at all possible?

Gah, doesn't look like it.  The URL is generated internally in a local
variable and there's no way to get at it. :(

You'd have to look at the source for action_replace_with_url and write
your own analogous function.

Regards,

David.



More information about the MIMEDefang mailing list