4735dd2
INSTALLATION
4735dd2
------------
4735dd2
Installing amavisd-new from Fedora Extras is simple.  First, install
4735dd2
the amavisd-new package:
4735dd2
4735dd2
  yum -y install amavisd-new
4735dd2
4735dd2
Don't be alarmed at the number of dependencies this installs.  This
4735dd2
package tries to be as full-featured as possible, including many
4735dd2
optional components for amavisd-new.
4735dd2
4735dd2
Next, configure amavisd-new to start on boot:
4735dd2
4735dd2
  chkconfig --level 2345 amavisd on
4735dd2
4735dd2
If you want to use the Clam Antivirus daemon (recommended), set it to
4735dd2
start on boot as well:
4735dd2
4735dd2
  chkconfig --level 2345 clamd.amavisd on
4735dd2
4735dd2
When you are ready, start the clamd.amavisd (optional but recommended)
4735dd2
and amavisd services:
4735dd2
4735dd2
  service clamd.amavisd start
4735dd2
  service amavisd start
4735dd2
4735dd2
Check /var/log/maillog for startup messages from both daemons.
4735dd2
4735dd2
The next step is to integrate amavisd with your MTA.
4735dd2
4735dd2
POSTFIX
4735dd2
-------
4735dd2
The simplest method for enabling amavisd-new support in postfix is to
4735dd2
use the content_filter configuration option to tell postfix to relay
4735dd2
mail through amavisd-new using SMTP.  In this configuration, incoming
4735dd2
mail passes from postfix to amavisd and back to postfix.  (Mail never
4735dd2
actually leaves the control of postfix however, since amavisd does not
4735dd2
answer OK until it scans the message and transfers it back to postfix.
4735dd2
The worst that can happen is a failure at just the right time could
4735dd2
allow a message to be queued twice.)
4735dd2
4735dd2
Add the following to /etc/postfix/main.cf:
4735dd2
4735dd2
  content_filter = smtp:[127.0.0.1]:10024
4735dd2
4735dd2
You will probably also want to limit the number of postfix processes
4735dd2
to keep mail from coming in faster than it can be processed by adding
4735dd2
the following to /etc/postfix/main.cf:
4735dd2
4735dd2
  default_process_limit = 20
4735dd2
4735dd2
Add the following to /etc/postfix/master.cf:
4735dd2
4735dd2
  127.0.0.1:10025 inet n - - - 0 smtpd -o content_filter=
4735dd2
4735dd2
Be sure to read the TUNING section in README.postfix for information
4735dd2
on process limits.
4735dd2
4735dd2
SENDMAIL
4735dd2
--------
4735dd2
See README.sendmail* in this directory.
4735dd2
4735dd2
Please note that amavisd-new's milter functionality is not enabled in
4735dd2
this package.
4735dd2
4735dd2
EXIM
4735dd2
----
4735dd2
See README.exim* in this directory.