Configuring Sendmail for the Brightmail Filter
40
Symantec
Brightmail AntiSpam™
Configuring Sendmail for the Brightmail Filter
Configuring Sendmail for Brightmail Scanner with sendmail.cf
There are two ways to configure Sendmail to work with Symantec Brightmail AntiSpam.
You can either edit the
sendmail.cf
file, or you can use
m4
to generate a new
sendmail.cf
file. This section covers what you need to know to use
sendmail.cf
to
configure Sendmail. To use
m4
, refer to
“Configuring Sendmail for Brightmail Scanner
with M4,” on page 41
.
NOTE:
Before completing this procedure, make sure you have followed the instructions in
“Enable Sendmail External Filtering,” on page 17
.
1
Log in as
root
.
2
Open the Sendmail configuration file,
sendmail.cf
, for editing. The
sendmail.cf
file is usually located in
/var/mail/sendmail.cf
or
/etc/mail/sendmail.cf.
3
In the
OPTIONS
section, add the Brightmail Filter as follows:
4
In the
FILTER
DEFINITIONS
section, enter the following line to complete the
socket for the Brightmail Filter configuration:
Refer to
“Understanding the Filter Address and Optional Settings,” on page 33
for
information on address values.
5
Save the file.
6
Stop Sendmail:
7
Verify that Sendmail is no longer running:
If any processes are shown other than
grep
, send a
SIGTERM
to each process to
terminate it:
8
Restart Sendmail:
OPTIONS
O InputMailFilters=bmifilter
Xbmifilter, S=inet:port
@
machine.your_domain.com
#
/etc/init.d/sendmail stop
#
ps -ef | grep sendmail
# kill process_id
#
/etc/init.d/sendmail start
Summary of Contents for BRIGHTMAIL - SYM ANTISPAM AND
Page 1: ...Symantec Brightmail AntiSpam Version 6 0 Installation Guide ...
Page 6: ...vi Symantec Brightmail AntiSpam Table of Contents ...
Page 112: ...Plug Ins and Foldering 106 Symantec Brightmail AntiSpam Plug Ins and Foldering ...
Page 150: ...144 Symantec Brightmail AntiSpam Appendix A Symantec Brightmail AntiSpam Files ...