> 
> Still, a bit strange that most of the Courier configfiles reside in
> /usr/local/etc/courier/ but some seem to do not. Does anyone which files do
> not reside under /usr/local/etc/courier/ (but /usr/local/etc/)?
> 
> Kind Regards,
> Sander Holthaus
> 
I am with you, Sander.  I am never sure whether to believe references to
things outside of the main courier installation (mine is in
/usr/lib/courier).

Courier installation layout has been so well thought out and compact in
general, I've been assuming that most documentation references to other
locations must be outdated.

Below is an excerpt from man courierfilter.  It mentions many different
directories, and I am almost convinced it can't be right.  For example,
it mentions /etc/courier/filters/active.  In my installation (one from
courier-mta.org, redhat, there is a /usr/lib/courier/etc/filters/active.


Sam et.al., can you shed some light on this?  Thanks in advance.

--
Available mail filter binaries are located in the directory
/usr/lib/courier/libexec/filters. The filterctl script looks in this
directory to see which mail filters are available to be installed.
Installing a mail filter consists of simply creating a soft link from
the directory /etc/courier/filters/active to its corresponding binary in
/usr/lib/courier/libexec/filters. The courierfilter start command simply
reads /etc/courier/filters/active and runs every program in this
directory.

The filterctl script sends a HUP signal to courierfilter after
installing or uninstalling a filter. courierfilter will reread the
contents of /etc/courier/filters/active then start or stop individual
mail filters.

After starting, an individual mail filter must create a filesystem
domain socket in one of two directories: /var/spool/courier/filters or
/var/spool/courier/allfilters. The name of the socket should be the same
as a name of the filter, and the mail filter must make sure to remove
any socket by the same name in the other directory. For various silly
reasons, the recommended implementation is to create
/var/spool/courier/filters/.NAME or /var/spool/courier/allfilters/.NAME
(after making sure that it doesn't exist) then rename .NAME to NAME.






-------------------------------------------------------
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_id=1356&alloc_id=3438&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to