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

-- 
-Chuck
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to