On Mon, 25 Oct 2004, Aleksandar Milivojevic wrote:

> I wanted to extend my mimedefang-filter to block disposition
> notifications (return receipts).

> if (lc($entity->head->get("content-type")) =~
>      m+multipart/report.*disposition-notification+) {
>          md_graphdefang_log('disposition-notification');
>          return action_bounce("Disposition notifications not allowed");
> }

There's a bug in MIMEDefang; the rebuilt entry that gets passed to filter_end
is always of type multipart/mixed, multipart/alternative or multipart/digest.
The next release will fix this.

Regards,

David.
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to