{"id":124,"date":"2017-10-16T01:25:00","date_gmt":"2017-10-16T01:25:00","guid":{"rendered":"https:\/\/linuxadmin.melberi.com\/uncategorized\/how-to-upgrade-mailscanner-step-by-ste"},"modified":"2017-10-16T09:11:50","modified_gmt":"2017-10-16T09:11:50","slug":"upgrade-mailscanner-step-by-step","status":"publish","type":"post","link":"https:\/\/www.melberi.com\/linuxadmin\/mailscanner\/upgrade-mailscanner-step-by-step","title":{"rendered":"How to upgrade MailScanner"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\">\n<p><b>Step by step procedure to upgrade MailScanner in CentOS Fedora Linux Ubuntu Redhat Debian Linux.<br \/>\n<\/b><\/p>\n<h2><span style=\"text-decoration: underline;\">MailScanner Upgradation Procedure<br \/>\n<\/span><\/h2>\n<p>To upgrade MailScanner from older version to newer version, you can follow the below simple steps.<\/p>\n<p><b>Pre-Request: <\/b><br \/>\nDownload the latest version of mailscanner rpm package from <b><a href=\"http:\/\/www.mailscanner.info\/downloads.html\">www.mailscanner.info<\/a><\/b> website and transfer the file to your MailServer.<\/p>\n<p><b>Step 1\u00a0<\/b><br \/>\n<b>MailScanner Upgradation <\/b><br \/>\nLogin to your MailServer using remote shell and go to the file location<\/p>\n<div style=\"background-color: #cccccc;\"><b>#rpm -qa mailscanner<\/b><\/div>\n<div style=\"background-color: #cccccc;\"><b>#tar -xvzf MailScanner-4.79.11-1.rpm.tar.gz<br \/>\n#cd MailScanner-4.79.11-1<br \/>\n#.\/install.sh<\/b><\/div>\n<p>For more installation\u00a0 methods, you can read the README file<br \/>\nUp-gradation will take some more time. After the successful completion of installation, you will receive the success message.<br \/>\n<b>\u00a0<\/b><br \/>\n<b>Step 2<\/b><br \/>\n<b>Upgrade your MailScanner config file<\/b><b> <\/b><br \/>\nTo upgrade your MailScanner.conf and languages.conf files automatically, you have to run the below two scripts<br \/>\nupgrade_MailScanner_conf<br \/>\nupgrade_languages_conf<\/p>\n<p><b style=\"background-color: #cccccc;\">#cd \/etc\/MailScanner<br style=\"background-color: #cccccc;\" \/>#upgrade_MailScanner_conf MailScanner.conf MailScanner.conf.rpmnew &gt; MailScanner.new<\/b>This will upgrade the excising config file to newer one. Once you have checked that MailScanner.new contains what you want, you can then save your old one and move the new one into place, using commands like these:<\/p>\n<div style=\"background-color: #cccccc;\"><b>#mv -f MailScanner.conf MailScanner.old<\/b><\/div>\n<p><b style=\"background-color: #cccccc;\">#mv -f MailScanner.new\u00a0 MailScanner.conf<\/b><\/p>\n<p><b>Step 3<\/b><br \/>\n<b>Upgrade Language Script.<\/b><br \/>\n<b style=\"background-color: #cccccc;\">#cd \/etc\/MailScanner\/reports\/en<br \/>\n#upgrade_languages_conf languages.conf languages.conf.rpmnew &gt; languages.new<br \/>\n#mv -f languages.conf languages.old<br \/>\n#mv -f languages.new\u00a0 languages.conf<\/b><br \/>\n<b><br \/>\n<\/b><br \/>\n<b>Step 4<\/b><br \/>\nRestart the MailScanner service and verify the rpm version<\/p>\n<div style=\"background-color: #cccccc;\"><b>#service MailScanner restart<\/b><\/div>\n<div style=\"background-color: #cccccc;\"><b>#rpm -qa mailscanner <\/b><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Step by step procedure to upgrade MailScanner in CentOS Fedora Linux Ubuntu Redhat Debian Linux. MailScanner Upgradation Procedure To upgrade MailScanner from older version to newer version, you can follow&#8230; <a href=\"https:\/\/www.melberi.com\/linuxadmin\/mailscanner\/upgrade-mailscanner-step-by-step\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[120],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/124"}],"collection":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/comments?post=124"}],"version-history":[{"count":4,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/124\/revisions"}],"predecessor-version":[{"id":745,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/124\/revisions\/745"}],"wp:attachment":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/media?parent=124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/categories?post=124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/tags?post=124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}