First, the sendmail.mc configuration file should point to the virtual user database; to do this, include a line
The virtual user database itself should be contained, in clear, in the
file /etc/mail/virtusertable; each line should contain a virtual
address (firstname.lastname@example.org) and the translated address. The .db file is
makemap hash virtusertable.db <
virtusertable, but running
make in the /etc/mail
directory should be enough.
Second, the sendmail.mc should contain the line
and the /etc/mail/local-host-names file should contain all the domains for which we are accepting mail.
make in /etc/mail to transfer your sendmail.mc
changes to the sendmail.cf configuration file, reload sendmail, and
© M. Vallisneri 2012 — last modified on 2010/01/29
Tantum in modicis, quantum in maximis