Mark Constable wrote:
> On Monday 15 November 2004 08:54, Julian Mehnle wrote:
> > 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:
>
> I would like to use your SPF filter, and look into other
> filters so I am making the effort to set this up. I am using
> a Debian testing server for this so I've installed the deb
> created by a download from your site, "ii courier-filter-p 0.15"
> [...]
> I have an embarassing perl FAQ-like question...
>
> # test-filter-module EmptyBody f-email2
> Can't locate Error.pm in @INC
> (@INC contains: /usr/share/courier-filter-perl/perl5 /etc/p...

Oops, this is a mistake in the version you downloaded, I forgot a
dependency on the liberror-perl package.  I have updated the 0.15 tarball
on my website.  (I have not yet officially released 0.15, so I haven't
incremented the version number.  But 0.15 should now be generally fine for
production use.)

> Also, in /etc/courier/filters/pureperlfilter.conf I'm still not
> clear if I need to add anything to...
>
>     modules     => [
>
>         # Sample declaration:
>         #Courier::Filter::Module::Header->new(
> ... etc ...

Yes, you need to add a declaration for the
Courier::Filter::Module::EmptyBody filter module:

  Courier::Filter::Module::EmptyBody->new()

Also, you need an according "use ..." statement for the filter module
below the other "use" statements at the top of the file.



-------------------------------------------------------
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