I'm getting this error in my mail.log when starting up courierfilters:

Can't call method "close" on an undefined value 
at /usr/local/lib/perl5/site_perl/5.8.4/Courier/Filter.pm line 299.

I'm using the stock pureperlfilter with just SPF and Logger.

I saw that someone else was having a similar problem, but I didn't see 
any solution posted to the list archives.

my .conf file:
<snip>
use utf8;

use Courier::Filter::Logger::File;
use Courier::Filter::Module::SPF;

$options = {
    logger => Courier::Filter::Logger::File->new(
        file_name => '/var/tmp/mail.perlfilter',
        timestamp => 1
    ),

    modules => [
        Courier::Filter::Module::SPF->new(
            reject_on => ['fail', 'softfail', 'error']
        )
    ],
    testing => 1
};

1;
</snip>

It looks like it's having trouble getting file handle 3.  I tried 
changing things so that it only closes the file handle if it is open, 
but that a) breaks the courierfilter spec as I read it and b) doesn't 
seem to help.

Any advice?    Let me know if I you need more info about my system.

-- 
Shawn Edwards
[EMAIL PROTECTED]

If it was so, it might be; and it were so, it would be; 
but as it isn't, it ain't. That's logic. - Lewis Carrol


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to