virtusertable blocking seems to have no effect
Chuck Swiger
cswiger at mac.com
Wed Mar 29 15:00:42 UTC 2006
Glenn Dawson wrote:
[ ... ]
> This is what I typically do:
>
> foo at bar.com localaccount1
> bar at bar.com localaccount2
> @bar.com error:nouser 550 No such user here
>
> Note that the order of the entries is important, the catch-all has to be
> at the end. Organizationally, I typically keep all the @bar.com type
> entries at the end of the file and group the others before those in
> whatever way makes the most sense.
These files get turned into hash databases using makemap (ie, when you "cd
/etc/mail && make all"); the order of entries is not significant.
What is significant is that the MTA will look up more specific entries before
looking up general entries, so it will try looking up user at example.com before
looking up example.com, so the more specific match will win.
--
-Chuck
More information about the freebsd-questions
mailing list