Virtual web hosting - 624Part VRunning Servers3.Configure SpamAssassin to not modify message
624Part VRunning Servers3.Configure SpamAssassin to not modify message bodies by adding the follow- ing line to the end of /etc/spamassassin/local.conf: report_safe 04.Start SpamAssassin: # invoke-rc.d spamassassin start5.Install the ClamAV virus scanning daemon: # apt-get install daemon clamav-daemon6.Install the milter programs that sendmail will use to perform the content filtering: # apt-get install spamass-milter clamav-milter7.Edit the spamass-milter startup parameters in /etc/default/spamass- milter. The configuration settings shown here instruct spamass-milter tonotmodify the message body (which can result in significant performancedecreases) and to reject messages with a spam score higher than 20. # spamass-milt startup defaults# OPTIONS are passed directly to spamass-milter. # man spamass-milter for detailsOPTIONS= -m -r 20 Note the last line in this example. If you have several options to specify, youinclude them in a single OPTIONSline as shown. 8.The master sendmail configuration file is /etc/mail/sendmail.cf. Its formatis very complicated, which is why the preferred method is to edit /etc/mail/ sendmail.mc. /etc/mail/sendmail.mccontains macros that are translatedand copied to the sendmail.cfwhen you run sendmailconfigor when yourun makefrom the /etc/maildirectory. Open sendmail.mcin your text edi- tor and make the following changes: DAEMON_OPTIONS(`Family=inet, Name=MTA-v4, Port=smtp, Addr=127.0.0.1 )dnlThis line tells sendmail to only listen for connections on the loopback interface. If you plan to receive messages directly via SMTP, replace 127.0.0.1 with 0.0.0.0. Add the following line after the DAEMON_OPTIONSlines if you do not have con- trol over all hosts within the domains that you are relaying for (doing so willhelp prevent other machines within those domains from relaying mail throughyour server without authorization): FEATURE(`relay_hosts_only )dnlInsert this line if you have to send all outgoing mail through a specific server: define(`SMART_HOST , `mail.example.org )dnlIf you are going to allow client machines to relay messages through yourserver (see step 12 and the associated Caution), find this line: FEATURE(`access_db , , `skip )dnland replace skipwith /etc/mail/access.
You need excellent and relaible webhost company to host your web applications? Then pay a visit to Inexpensive Web Hosting services.