[Mimedefang] Heads-up on upcoming change to MIMEDefang
David F. Skoll
dfs at roaringpenguin.com
Tue Jan 10 15:21:30 EST 2006
Hi,
The next release of MIMEDefang will feature a change that might
require you to edit your filter file.
Currently, filter_begin is called with no arguments. In the next
release, it will be passed the MIME::Entity that results from parsing
the message.
So if you use prototypes in your filter function, you'll need to change:
sub filter_begin () { ... }
to:
sub filter_begin ($) { ... }
However, the best bet is just not to use prototypes at all. So change it
to:
sub filter_begin { ... }
and your filter will work with 2.54, and continue to work with the upcoming
2.55.
Regards,
David.
More information about the MIMEDefang
mailing list