Sendmail 8.11.1 Release Notes
the configuration file. In the generic-hpux10.mc file, the version id string
and the DOMAIN () flag can be modified to contain ‘mydomain.com’.
2. Create a file mydomain.com.m4 in
/usr/newconfig/etc/mail/cf/domain/ directory. This file must be
similar to the /usr/newconfig/etc/mail/cf/domain/generic.m4 file,
with the version id containing ‘ mydomain.com’.
3. Generate the sendmail.cf.gen file using gen_cfutility with
‘virtusertable’ option and move this file to /etc/mail/sendmail.cf.
NOTE: For more information on gen_cf, read the “Generating the
Configuration File” section above.
4. Create the virtusertable in/etc/mail directory. A sample virtusertable may
look like:
joe@mydomain.com jschmoe
jane@mydomain.com jdoe@othercompany.com
@mydomain.com jschmoe
In the first example, the address joe@mydomain.com will be mapped to the
local user jschmoe, jane@mydomain.com to the remote user
jdoe@othercompany.com, and any other address in mydomain.com will
also be mapped to jschmoe.
5. Build the virtusertable database file in the command line as follows:
# makemap dbm /etc/mail/virtusertable <
/etc/mail/virtusertable
If you wish to reverse-map local users for out-bound mail, you will need to
generate sendmail.cf file with ‘genericstable’ option in addition to
‘virtusertable’ option.
You must generate the genericstable similar to the virtusertable, but with the
entries reversed.
Example:
jschmoe joe@yourdomain.com
6. Add your domain name to /etc/mail/sendmail.cw file.
7. Kill and Restart Sendmail.
Now you should be able to receive mails at mydomain.com.
New Features 15