How to setup a mail relay?

For example to allow mail relay for a private LAN (10.0.0.*):

  1. Edit /etc/mail/access
  2. Add:
10.0.0    RELAY

Then rebuild the database by issuing the make command.