|
1. Sub-virtual email address and host mapping. For virtual server accounts
with multiple domains this will allow each domain to share common email user
names. For example, if xyz.com and abc.com are hosted on the same virtual
server, both domains can have mail to "webmaster" go to seperate mail
boxes. Mail to "webmaster@xyz.com", for example, can be mapped or
routed to "user1" (a local pop account) and mail to
"webmaster@abc.com" could be routed to "ruser@isp.com" ( a
remote mail account on an access ISP's server). The feature also supports a
"wild card" mapping in which mail to any user name for a domain name
can be mapped to an user. This can be "catch all" or in conjunction
with other mappings to route "User Unknown" mail to an autoreply or
an account acting as a postmaster for the virtual sub-hosted domain.
2. Anti-SPAM or mail blocking support. This feature allows you to specify
individual mail addresses or whole hostnames that you do not want mail from. If
someone is sending you and your users mail you don't can for you can reject all
email from that someone. You can also block all mail from any user by just
specifying the hostname. (For more information about SPAM see
http://www.vix.com/spam/ "Promote Responsible Internet Commerce: Fight
SPAM")
NOTE: After January 21, 1997 all new accounts by default have the modifications for sendmail.cf already installed. Therefore, if your account was installed adding after this date skip step (1). To take advantage of these features you must update your sendmail.cf file and edit a couple of files:
(1) Run "updatesendmailcf": % updatesendmailcf This will update your ~/etc/sendmail.cf file and add two new files: ~/etc/spammers and ~/etc/virtmaps. (2) Edit ~/etc/spammers and add a list of email addresses and/or hostnames you don't want email from. Each entry needs to be on its own line. For example, if I want mail from "spammer@aol.com" and from anyone at "cyberpromo.com". I would add the following to my ~/etc/spammers file using my favorite UNIX editor: spammer@aol.com cyberpromo.com NOTE: Lines that start with "#" characters are comments. Comments are good. (3) After *everytime* you edit ~/etc/spammers, run "vnewspammers" from the UNIX command prompt: % vnewspammers Note: The "vnewspammers" command will create the ~/etc/spammers.db database file. (4) Edit ~/etc/virtmaps and add email address mappings. The left hand side is the email address that mail is *sent* to and the right hand side is the email address mail is *delivered* to. If the left hand side just contains a domain name then all mail to that domain name will be delivered to the email address on the right hand side. In other words, you can have either "email address -> email address" or "domain name -> email address" mappings in this file. It is a good idea to put all "domain name -> email address" mappings at the bottom of the file so that it tries the "email address -> email address" mappings first. Note that the first mapping that matches is used first. For example, assume I have the domains xyz.com and 123.com virtually sub-hosted on my virtual server. Both owners of these domains want mail to "webmaster" for their domain name to come to them. The owner of xyz.com has a mail box hosted on my virtual server and his user name is "biff". The owner of 123.com prefers to read his mail from his local ISP and his email address there is "bud@isp.net". Also, the owner of xyz.com would like mail not address to "webmaster@xyz.com" (any other username but "webmaster" sent to this domain) sent to his secretary who also has a mail box hosted on my virtual server. The user name for his secretary is "sue". To impliment this I would add the following to my ~/etc/virtmaps using my favorite UNIX editor: webmaster@xyz.com biff webmaster@123.com bud@isp.com xyz.com sue (5) After *everytime* you edit ~/etc/virtmaps, run "vnewvirtmaps" from the UNIX command prompt: % vnewvirtmaps Note: The "vnewvirtmaps" command will create the ~/etc/vertmaps.db database file.
Copyright © 1996-2000, Last Modified: 21 January 2000A Little Technology Shoppe, LLC (ALTS.NET)®. All rights reserved. All brand names and product names used on these web pages are trademarks, or trade names of their respective holders.