Hi,
I use Microsoft Outlook Express, and as you know, it doesn't handle
multipart/signed very well. To get around this problem, I've written a quick
mail filter that changes the header to 'multipart/mixed'. Although my
solution works perfectly, I don't think I've done it in the best manner. Can
anyone suggest a more slick way of achieving this?
Here's what I've done...
in .mailfilter
if (/^Content-Type: multipart\/signed/)
{
echo "multipart/signed - filtering"
xfilter "/usr/local/bin/oepgpfix"
}
in /usr/local/bin/oepgpfix
#!/usr/bin/perl
use strict;
while (<STDIN>) {
$_ =~ s/Content-Type: multipart\/signed/Content-Type:
multipart\/mixed/;
print $_;
}
exit 0;
--
Ian Cass
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users