Re: [exim-dev] [PATCH] Implement redirect

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Peter Bowyer
Date:  
À: exim-dev
Sujet: Re: [exim-dev] [PATCH] Implement redirect
On 29/06/06, Robert Millan <rmh@???> wrote:
> On Thu, Jun 29, 2006 at 12:20:26AM +0100, Peter Bowyer wrote:
> >
> > I can see the need for this functionality, and thanks for producing a
> > patch rather than just an idea....
> >
> > It seems to be hard-wired to local system users who have home
> > directories to drop files in - while I'm sure that fits with your
> > needs, shouldn't a generalised implementation play better with other
> > ways of specifying valid recipients?
>
> Sendmail uses a special syntax in /etc/mail/aliases to define which user aliases
> should actualy work as 551 redirections. The reason why I opted for the home
> dir dotfile is that this allows local users to set/unset/update their
> redirections without need for manual work by the admin.
>
> As you accurately guessed, the ~/.redirect interface fits with my needs, but I
> don't see why not supporting the Sendmail one as well. I can send a patch to
> support both if you like.


The Exim philosophy would encourage you to implment the general
functionality in a generic way such that it can be 'driven' from a
router which can point to a set of files from another implementation
if that's what the admin wants, or draw its data from any other
supported source.

For example, no implementation I deal with has ever made any use of
system users and ~/ files. I should still be able to use your 551
functionality but driven from my virtual users setup.

Peter


--
Peter Bowyer
Email: peter@???