Saturday, November 27, 2010

For Linux a variety of application server configuration tools Clamav anti-virus

Second, the mail server anti-virus settings here to postfix mail server, for example.

Install Postfix, and set the Postfix mail server gateway. Yuminstallpostix servicesendmailstop chkconfigsendmailof use editor to modify/etc/postfix/main.c myhostname = mail.domain.com mydomain = domain.com myorigin = $ mydomain mydestination inet_interfaces = all = $ mydomain, localhost. $ mydomain, localost local_recipient_maps = (empty) networks_style = ost relay_domains = domain.com transport_maps = hash:/etc/postfix/transport append_at_myorigin = no use editor to modify/etc/postfix/transport domain.comsmtp: [192.168.1.1] postmap/etc/postfix/transport servicepostfixstart/etc/using editor to modify a few lines of ld.so.conf, joining/usr/local/lib ldconig MailScanner introduction and workflow MailScanner which scanner you can and your mail server communication, the content of the message, such as subject, sender, annex, article done processing, you have two choices MailScanner, AMaVis, but there is a webmin module MailScanner, and mrtg statistics chart, so you can simplify management and install than soft easy, but in fact the two programs are based on the language perl program theme, so some modules will need to install, MailScanner has in the kit contains a perl module. MailScanner workflow is as follows: after executing MailScanner, MailScanner repeat work as follows: 1. collect messages by Incomingqueue 2. check whether you can spam messages, and if you need to mark it 3. selective remove simple text messages to outgoingqueue and trigger so that it is delivered 4. unzip the MIME structure containing all of the messages and attachments 5. scan virus scan file name out of 6. users set of rule 7. scan all offensive e-mailclient programs such as Outlook or Eudora 8. Remove infected attachments or dangerous checked into a quarantine zone (quarantinearea), if you have set 9. replace the infection or dangerous attachments using your specified Word content to explain, ready to use ' 10. join a short message in front of the original file 11. mobile security and not infected messages to outgoingqueue 12. reconstruction of the modified message to outgoingqueue 13. delete a message in the incomingqueue 14. trigger messages transmitted outgoingqueue 15. notify the local postmaster, and the mail carrier, an infection or dangerous messages found 16. If possible, not infected the original attachment sent them to the original recipient, and use a notice explains what has happened is the work flow diagram graph 2MailScanner. Figure 2MailScanner is the work flow diagram. Download and install the MailScanner # wgethttp://www.mailscanner.info/files/4/rpm/mailscanner-4.70.7-1.rpm.tar.gz tarzxfMailScanner-4.70.7-1.rpm.tar.gz cdMailScanner-4.70.7-1./install.s MailScanner profile such as table-2. Use the editor to modify/etc/MailScanner/MailScanner.con RunAsUser = postix RunAsGroup = postix IncomingQueueDir =/var/spool/postfix/old OutgoingQueueDir =/var/spool/postfix/incoming MTA = postix VirusScanning = yes VirusScanners = clamav UseSpamAssassin = yes SpamAssassinUserStateDir =/var/spool/MailScanner/spamassassin SignCleanMessage = no (not addressed tail raise "Thismessagehasbeenscanned ...") mkdir/var/spool/MailSCanner/spamassassin chownpostfix: postfix/var/spool/MailScanner/* use the editor to modify/etc/postfix/main.c header_checks = regexp:/etc/postfix/header_checks use editor to modify/etc/postfix/header_checks/^ Received:/OLD servicepostfixstop serviceMailScannerstart settings of anti-virus functionality, webmail here using OpenWebmail as plug-in of WEBMAIL mail server, Sendmail and postfix and seamless connectivity, support for Chinese language pack, automatic reply, automatic delete spam, and other functions. # Edit the openwebmail.conf is amended as follows: enable_viruscheckyes viruscheck_pipe/usr/local/bin/clamdscan--mbox--disable-summary--stdout-viruscheck_source_allowedall

No comments:

Post a Comment