File: README

package info (click to toggle)
courier-filter-perl 0.16
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 256 kB
  • ctags: 144
  • sloc: perl: 1,248; makefile: 45
file content (61 lines) | stat: -rw-r--r-- 2,970 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Courier::Filter 0.16
A purely Perl-based mail filter framework for the Courier MTA.
(C) 2003-2005 Julian Mehnle <julian@mehnle.net>
<http://www.mehnle.net/software/courier-filter>
==============================================================================

The Courier MTA's courierfilter interface
-----------------------------------------

The Courier MTA <http://www.courier-mta.org> offers an interface for
daemon-style processes to act as mail filters, called courierfilters.  For
every incoming mail message, right after the DATA command in the SMTP
transaction phase has completed, Courier calls every registered mail filter
through a UNIX domain socket the filter is listening on, and feeds it the file
names of the incoming message and one or more control files.  The mail filter
processes the message and its control file(s), and returns an SMTP-style
status response.  If the status response is a positive ("2xx") one, Courier
accepts the message.  Otherwise, Courier rejects the message using the
returned response code and text.

About Courier::Filter
---------------------

Courier::Filter implements the courierfilter interface as a framework for mail
filter modules that frees modules from the duties of creating and handling the
UNIX domain sockets, waiting for connections from Courier, and reading and
parsing message and control files.  Thus, authors of filter modules can
concentrate on writing the actual filter logic without having to care about
things that can easily be abstracted and can be performed by the framework.

Courier::Filter allows multiple filter modules to be installed, and filter
modules can be stacked and grouped hierarchically, and even a module's polarity
can be reversed, so some modules can be used for explicitly accepting messages
while others are used in the traditional way for rejecting messages.

Getting started
---------------

Read the following perldocs in order to get started with Courier::Filter:
* Courier::Filter::Overview
* Courier::Filter
* Courier::Filter::Module

Upgrading from versions prior to 0.15
-------------------------------------

Starting from version 0.15, the Courier::* Perl modules are no longer being
installed in your Perl's configured "vendorlib" path, but in the private path
'/usr/share/courier-filter-perl/perl5'.  (This is because Courier::Filter is
primarily a plug-in for the Courier MTA, and not a library of Perl modules that
are intended to be used by other programs or modules.  However some of the
modules (e.g. Courier::Message) are indeed designed genericly, and should any
other program or module actually make use of them in the future, I will split
them off into a separate library package.)

Due to this partial relocation, upgrading from a version prior to 0.15 is
probably best achieved by removing the old version and doing a fresh install.
You can of course keep your old configuration file(s).

# $Id: README,v 1.10 2005/01/17 18:26:45 julian Exp $
# vim:tw=79