Mark Constable [EMAIL PROTECTED] wrote:
> On Monday 15 November 2004 01:06, Julian Mehnle wrote:
> > I guess those of your users who are having problems with such
> > [empty-body] messages are using Outlook, right?
>
> I have one example that appears to be a download attempt
> from Mozilla so it may have this problem too. I just tried
> with KDE's Kmail and it does not have a problem downloading
> these messages via POP, or IMAP. Thunderbird 0.9 (linux)
> also does not have a problem with these messages.

Interestingly, I have received such empty-body messages more than once in
the past, and my Outlook 2000 has never had a problem downloading them via
POP3.

> > What aspect of these messages exactly makes Outlook croak?
> > The missing body?
>
> I can only presume so but they do have a consistant...
>
>  To: undisclosed-recipients: ;

I highly doubt any widely used MUA has a problem with such a "To:" header.

If you are willing to install Courier::Filter (Perl 5.8 required), you can
try using this filter module for a while to see whether it catches all the
broken messages that you and your users have a problem with:

----8<----snip----8<----
package Courier::Filter::Module::EmptyBody;

use warnings;
use strict;

use base qw(Courier::Filter::Module);

sub match {
    my ($module, $message) = @_;

    return 'EmptyBody: ' . ($module->{response} || 'Message body is
empty')
        if $message->body =~ /^\s*$/;

    return undef;
        # otherwise.
}

1;
---->8----snap---->8----

Install it as .../Courier/Filter/Module/EmptyBody.pm and set it up in the
pureperlfilter.conf configuration file as described in the
Courier::Filter::Overview man page.



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to