Changes

From SME Server
Jump to navigationJump to search
267 bytes added ,  17:13, 6 October 2016
no edit summary
Line 19: Line 19:  
  wget -q http://smeoptimizer.com/SMEOptimizer.pl.updated -O SMEOptimizer.pl
 
  wget -q http://smeoptimizer.com/SMEOptimizer.pl.updated -O SMEOptimizer.pl
 
  chmod +x SMEOptimizer.pl
 
  chmod +x SMEOptimizer.pl
 +
 +
Now make sure to install the two Perl modules which is not part of the SME core but can be downloaded from the [[epel]] repository. If you cannot get them at epel, then see download instructions below.
 +
 +
yum install --enablerepo=epel perl-Digest-MD5-File perl-JSON
    
Create and configure the MySQL database
 
Create and configure the MySQL database
Line 24: Line 28:  
  mysql smeoptimizer
 
  mysql smeoptimizer
   −
Now configure the database
+
Now configure the database which will be used for configuration and logging.
{{Note box|Please note that you *have* to use the below credentials for now during the testing phase.}}
+
{{Note box|Please note that you *have* to use the below credentials (database, user and password).}}
 
  GRANT ALL PRIVILEGES ON smeoptimizer.* TO 'smeoptimizer'@'localhost' IDENTIFIED BY 'password';
 
  GRANT ALL PRIVILEGES ON smeoptimizer.* TO 'smeoptimizer'@'localhost' IDENTIFIED BY 'password';
 
  FLUSH PRIVILEGES;  
 
  FLUSH PRIVILEGES;  
 
  EXIT
 
  EXIT
   −
Now make sure to install the two Perl modules which is not part of the SME core
+
Now initialize which will start the cron jobs that checks for new functionality and reports spam. Notice that each individual server need to be registered with its SME server unique ID.
{{Note box|Please note that both the required perl modules are available from the [[epel]] repository}}
+
 
 +
./SMEOptimizer.pl –initialize
 +
 
 +
There is no further need for configuration or installation as the SMEOptimizer script automatically will get and install the qpsmtpd plugin that handles capturing the rejected spam messages and also the SpamAssassin configuration file which contains the DNS blacklist configuration. All action will be logged in the /var/log/smeoptimizer.log file.
 +
 
 +
==FAQ==
 +
* Question: What is transferred from my server to the central server as part of the spam report that is used to build the DNS Blacklist?
 +
** Answer: The qpsmtpd plugin captures the sender address, recipient address, the sending ipaddress, the qpsmtpd plugin which rejected the mail and the plugins return text.
 +
 
 +
 
 +
===RPM Download instructions===
 +
If you do <u>'''not'''</u> use the epel repository, then the needed Perl modules can be downloaded here.
 
====For SME 8.x====
 
====For SME 8.x====
   Line 43: Line 58:  
  wget http://smeoptimizer.com/downloads/SME9/perl-JSON-2.50-1.el6.rfx.noarch.rpm
 
  wget http://smeoptimizer.com/downloads/SME9/perl-JSON-2.50-1.el6.rfx.noarch.rpm
 
  yum localinstall perl-Digest-MD5-File-0.07-1.el6.rf.noarch.rpm perl-JSON-2.50-1.el6.rfx.noarch.rpm
 
  yum localinstall perl-Digest-MD5-File-0.07-1.el6.rf.noarch.rpm perl-JSON-2.50-1.el6.rfx.noarch.rpm
  −
Now initialize which will start the cron jobs that checks for new functionality and reports spam. Notice that each individual server need to be registered with its SME server unique ID.
  −
  −
./SMEOptimizer.pl –initialize
  −
  −
There is no further need for configuration or installation as the SMEOptimizer script automatically will get and install the qpsmtpd plugin that handles capturing the rejected spam messages and also the SpamAssassin configuration file which contains the DNS blacklist configuration. All action will be logged in the /var/log/smeoptimizer.log file.
  −
  −
==FAQ==
  −
* Question: What is transferred from my server to the central server as part of the spam report that is used to build the DNS Blacklist?
  −
** Answer: The qpsmtpd plugin captures the sender address, recipient address, the sending ipaddress, the qpsmtpd plugin which rejected the mail and the plugins return text.
  −
   
----
 
----
 
[[Category:Contrib]]
 
[[Category:Contrib]]
177

edits

Navigation menu