Some Access Databases are really simple. They list all of the IP
networks and domains which are allowed to relay through your mail server.
For this purpose, you probably don't even need mkaccess. However, if you have
a more "complete" Access Database (using spam blocking entries), mkaccess can
be a good tool to use.
I've seen many accessdbs with something like the following:
-
user@sub.baddom.ain
user@baddom.ain
baddom.ain
10.168.1.123
10
These three entries can be simplified down to the single "baddom.ain",
and "10" entries. This is because sendmail, by default, will check down
to the domain on incoming hosts and email addresses, and to the first
octet on IP addresses. Therefore, the "optimized" database entries are:
-
baddom.ain
10