Hi Jeff,

Jeff Jansen [EMAIL PROTECTED] wrote:
> On Tuesday 17 February 2004 16:43, Julian Mehnle wrote:
> > I intend to support Courier::Filter on this mailing list.  So if you
> > have any questions, bug reports, or ideas, please tell me!
> 
> I just installed your *very* nice courier-filter package but I'm having
> trouble.  To begin, this is on RH 7.3 with perl 5.6.1, so perhaps
> that's my problem as your test-modules and other scripts require 5.8.

Courier::Filter itself requires Perl 5.8, too.  The original reason for this was that 
I wanted to use Perl 5.8's ithreads.  Threading worked with 5.8.0, but broke with 
5.8.2, so I disabled threading.  Later, I decided to also use Perl 5.8's 
Unicode/charset support and Encode module (for decoding message header fields in 
Courier::Message).

It may be possible to add Perl 5.6.1 support to Courier::Filter, but I don't know how 
difficult that is, since Perl 5.6.0's Unicode/charset support is completely broken, 
and 5.6.1's one has a lot of pitfalls, too.  Maybe header decoding could be 
deactivated completely if only Perl 5.6 is available.

Is it somehow possible to install an additional Perl 5.8 on your server (in a separate 
path)?

> If not then here's what I've done.  I have copied the Courier modules
> to my perl path, created an /etc/courier/filters/pureperlfilter.conf
> per the example (using the Header.pm example), symlinked it to the
> active directory, and edited Config.pm to make sure the configuration
> is correct. 

Where does your symlink in the "active" directory point?  That symlink must point to 
the "pureperlfilter" script, not to the config file.

> 'courierfilter start' seems to start up correctly in that I see the log
> entry "Starting pureperlfilter.conf" and there are no errors in syslog
> or in the courier-filter.log file that is specified in the conf file.
> But a "ps ax" shows the filter as a zombie.
> 
> 6043 ?        S      0:00 courierfilter start
> 6045 ?        S      0:00 courierlogger courierfilter
> 6046 ?        Z      0:00 [pureperlfilter. <defunct>]
> 
> And no mail gets filtered.  Nor does it get temporarily deferred. 
> Nothing happens.  Any (obvious) ideas where I've messed up?

That's very odd.  I could imagine such a behavior if you set up the symlink 
incorrectly.  Otherwise, if you set up everything correctly, then you should at least 
get an error message in syslog saying that Perl 5.8 is required:

  courierfilter: Starting pureperlfilter
  courierfilter: Perl v5.8.0 required--this is only v5.6.1, stopped at 
/usr/local/share/perl/5.8.0/Courier/Filter.pm line 27.
  courierfilter: BEGIN failed--compilation aborted at 
/usr/local/share/perl/5.8.0/Courier/Filter.pm line 27.
  courierfilter: Compilation failed in require at 
/etc/courier/filters/active/pureperlfilter line 19.
  courierfilter: BEGIN failed--compilation aborted at 
/etc/courier/filters/active/pureperlfilter line 19.

Even if you cannot install Perl 5.8, I'd appreciate it very much if you could help me 
tracking down the problem, since this was totally unexpected for me.



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to