[Mimedefang] Outlook Calendar invitations and Mimedefang

Marcel Kolkman mkolkman at hotmail.com
Fri Dec 15 11:17:20 EST 2006


Hi,

We are running mimedefang 2.57 together with Sendmail 8.12.11 to add a disclaimer to outgoing e-mail.
 
/etc/mail/mimedefang-filter:
###############################################################
sub filter_end {
my($entity) = @_;
if ($Sender =~ /\@domain/i) {
append_text_boilerplate($entity,"--\n"."text"."--\n",0);
append_html_boilerplate($entity,"<hr>\n"."text"."<hr>\n",0);
……
..
###############################################################
Everything works fine, except for Outlook appointments.
 
Mimedefang adds the text disclaimer to the "text/plain" MIME part and the HTML disclaimer to the "text/html" MIME part.
The "text/calender" MIME part, containing the actual appointment, does not get a disclaimer in it. So all is working fine.
 
But because all MIME parts get a "Content-Disposition: inline" line, the appointment gets mangled.
When opened in Outlook, it's not possible to Accept/Decline the meeting.
 
The only sollution I found in the mailinglists was to skip the "action_rebuild();" action.
But in the /etc/mail/mimedefang-filter" configuration file, this option is hased(#) out already.
Within "/usr/bin/mimedefang.pl" it is still used, because a part is added to the e-mail, resulting in a rebuild of the e-mail.
 
Is there a simple and neat sollution not to add the "Content-Dispostion:" line to the "/text/calendar" part?
 
Thanks for an Answer,
Marcel Kolkman


_________________________________________________________________
Search from any Web page with powerful protection. Get the FREE Windows Live Toolbar Today!
http://www.toolbar.live.com



More information about the MIMEDefang mailing list