Note: this page applies to old account types we no longer offer. We have left it up since it may be helpful for someone, since they get a decent amount of search traffic. All current hosting plans with a control panel use Plesk.
If you are an ITS client please contact us for assistance for your account.
The access file is similar to The spammers File, but offers more options and flexibility. For example, with the access file you can:
- Reject e-mail (e.g. Spam) from specific users, domains, IP addresses, and networks.
- Specify the text (or use sendmail's default) of messages to return to senders of rejected e-mail.
- Accept e-mail from specific users within a domain, while rejecting e-mail from all other senders in the domain.
- Reject e-mail sent to specific local users.
There are also a number of other features of the access file, which are documented in the ~/usr/local/sendmail/cf/README file.
Installation
The access file functions can be installed by modifying your sendmail configuration file (~/etc/sendmail.cf). You can do this by using the sendmail M4 macros, which include ready-to-use configuration files with the full anti-spam support. Connect to your server via Telnet or SSH and do the following.
-
Install the sendmail Configuration Utilities.
-
Copy your current ~/etc/sendmail.cf file to a backup location by running the following command:
% cp ~/etc/sendmail.cf ~/etc/sendmail.cf.save
-
Install the new anti-spam sendmail configuration file that is approprate for your server's O/S.
- FreeBSD
% cp ~/usr/local/sendmail/cf/cf/default-spamfilters.cf ~/etc/sendmail.cf - Solaris
% cp ~/usr/local/sendmail/cf/cf/default-spamfilters-sun.cf ~/etc/sendmail.cf - If you don't know the Virtual Server O/S, try the following:
NOTE: The anti-spam rules require an ACL account with mail-abuse.org in order to function. To learn more about getting an ACL account, go to MAPS Fee Structure page.
- FreeBSD
-
Create a file named local-host-names, if it doesn't exist already, in your ~/etc directory on your server. In this file, list all the domains on the server that are allowed to recieve e-mail locally. The list should be one domain per line. Previously, these domains were listed on the Cw line of the sendmail configuration file.
Usage
Create or upload an ~/etc/access text file with the format described in the documentation in the ~/usr/local/sendmail/cf/README file. Then, issue the vnewaccess command:
% vnewaccess
Please note: the information on this page applies to ITS web hosting plans. It may or may not apply to other environments. If you are looking for a feature described here, or better support from your hosting provider, please consider hosting your site with ITS!
Copyright © 1996-2026, Integrated Technical Solutions, Inc., all rights reserved. See Terms/Legal for trademarks, copyright, and terms of use.
Naperville, IL 60563
fax 630.420.2771
