[Mimedefang] Wordy quarantine notices

David F. Skoll dfs at roaringpenguin.com
Fri Jun 6 17:14:01 EDT 2003


On Fri, 6 Jun 2003, Kenneth Porter wrote:

> There are parts that are intended to survive upgrades (RPM), such as the
> filter in /etc/mail, and parts that get blindly overwritten.

Understood.

> Biting the bullet, I looked up the code and find that the message is
> composed entirely in send_quarantine_notifications() in
> mimedefang.pl. Is there some Perl way of replacing that function
> without replacing or editing mimedefang.pl?

I don't think so; I suspect Perl will complain if you redefine a function.
For now, why not make your own version of send_quarantine_notifications
(called my_send_quarantine_notifications) and call it from your filter
instead of the built-in one?

Regards,

David.



More information about the MIMEDefang mailing list