We're going to build and install Sendmail so that it processes all inbound, outbound, and relayed mail looking for viruses and SPAM. We use a *very* similar setup on the linux-sxs.org site.
perl -MCPAN -e shellinstall MD5install LWPinstall File::Pathinstall File::Specinstall IPC::Open2install E/ER/ERYQ/IO-stringy-2.108.tar.gzinstall MIME::Base64install MIME::QuotedPrintinstall Net::SMTPinstall Mail::Internetinstall Digest::SHA1install Net::DNSinstall Digest::Nilsimsainstall HTML::Parserinstall Mail::Auditsh Build config.cfINPUT_MAIL_FILTER(`mimedefang', `S=unix:/var/spool/MIMEDefang/mimedefang.sock, F=T, T=S:60s;R:60s;E:5m')dnlsh Build config.cfmkdir /var/spool/MIMEDefangchown smmsp:smmsp /var/spool/MIMEDefangchmod 700 /var/spool/MIMEDefangThat should be it. You should now have sendmail processing all email through MIMEDefang which will check for SPAM and viruses. Enjoy!
|
|
|
|
|
|