First, the sendmail.mc configuration file should point to the virtual user database; to do this, include a line FEATURE(‘virtusertable’,‘hash /etc/mail/virtusertable.db’)dnl
The virtual user database itself should be contained, in clear, in the
file /etc/mail/virtusertable; each line should contain a virtual
address (user@site.com) and the translated address. The .db file is
created with Second, the sendmail.mc should contain the line FEATURE(use_cw_file)dnl and the /etc/mail/local-host-names file should contain all the domains for which we are accepting mail.
Now run |
virtusers
(/linuxtricks)
2003-11-11, 20:39
[edit]