Re: [Exim] FIltering for virtual users.

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: dman
Data:  
Para: exim-users
Asunto: Re: [Exim] FIltering for virtual users.
--
On Tue, May 28, 2002 at 03:58:44PM +0200, Jan Johansson wrote:
| Has someone come up with a cunning plan to allow users that has no
| shell account (and hence no place to have a .forward) to be able to
| use filtering?


Put all filter files in some location, eg
/usr/local/exim_filters/<user>.filter. In the filter transport
have this line

    require_files = /usr/local/exim_filters/$local_part.filter
    file = /usr/local/exim_filters/$local_part.filter


Now all you need is a way for the users to edit their filters, and
also a way to specify what $home should be if it is used for saving
messages. Perhaps you can create a CGI script the users will submit
their filter to and have it do some sanity checking it before saving
it in the filter repository.

HTH,
-D

--

A man of many companions may come to ruin,
but there is a friend that sticks closer than a brother.
        Proverbs 18:24


GnuPG key : http://dman.ddts.net/~dman/public_key.gpg

--
[ Content of type application/pgp-signature deleted ]
--