On Sat, 17 Jun 2000, Jim Pazarena wrote:
> I created an unseen DIRECTOR with a "smartuser" driver to pick out ONE
> of my multiple domain names and send an email back to the sender with
> a message similar to an "on holidays message", while flowing thru to
> the regular localuser director for local delivery.
>
> Then I clued in that "smartuser" doesn't validate the local part. While
> "localuser" DOES. So I changed the unseen DIRECTOR to a "localuser" driver.
>
> I'm unsure if switching to "localuser" was correct. I think I could have
> also left the "smartuser" but included the option "check_local_user".
> It seems to me that both ways would accomplish the same thing.
> Is there something I am missing here?
Smartuser does not have a check_local_user option; only forwardfile
does.
But this comment allows me to make a more general statement:
As Exim has developed, not only have the routers and directors grown
more similar, but individual directors have also grown more similar.
If, and it is a *BIG* "if", I ever get round to a massive clean-up
such as merging routers and directors into one type of thing, then
some of the individual drivers would also be merged. Smartuser and
localuser are a good pair of candidates for this. It might even be
possible to merge all four directors:
no file, no check_local_user => smartuser
no file, check_local_user => localuser
file, no search_type => forwardfile
file, search_type => aliasfile
but that might be just as confusing in a different way!
Please don't send me lots of detailed comments on this. I am not at
present even contemplating thinking about how to do it. Too many other
things to get done first.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.