virtusertable blocking seems to have no effect

Chuck Swiger cswiger at
Wed Mar 29 15:00:42 UTC 2006

Glenn Dawson wrote:
[ ... ]
> This is what I typically do:
> foo at           localaccount1
> bar at           localaccount2
>              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 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 before
looking up, so the more specific match will win.


More information about the freebsd-questions mailing list