This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
plugins:spamassassin [2014/02/18 14:35] mrpink |
plugins:spamassassin [2017/03/15 21:17] ciscllc pyzor and razor are not optional! |
||
---|---|---|---|
Line 5: | Line 5: | ||
===== Requirements ===== | ===== Requirements ===== | ||
- | * i-MSCP versions >= 1.1.0 | + | * i-MSCP versions >= 1.2.3 |
- | * Spamassassin 3.3.x | + | * Spamassassin 3.3.x or 3.4.x |
- | * Roundcube 0.9.x | + | * Roundcube 1.x |
* See installation section for required software packages. | * See installation section for required software packages. | ||
Line 16: | Line 16: | ||
===== Installation ===== | ===== Installation ===== | ||
- | **1. Install the needed Debian / Ubuntu packages if not already done.** | + | **1. Install the needed Debian / Ubuntu packages** |
- | + | ||
- | **Debian Squeeze / Ubuntu Lucid** (Spamassassin version 3.3.1) | + | |
Installation of spamassasin packages: | Installation of spamassasin packages: | ||
# aptitude update | # aptitude update | ||
- | # aptitude install spamassassin spamass-milter libmail-dkim-perl libnet-ident-perl libencode-detect-perl | + | # aptitude install spamassassin spamass-milter libmail-dkim-perl libnet-ident-perl libencode-detect-perl pyzor razor |
- | Configuration of spamassasin: | + | ** Make sure spamassasin is started again after a restart ** |
+ | # update-rc.d spamassassin defaults | ||
- | # groupadd -g 5001 debian-spamd | + | **2. Get the plugin from Plugin Store** |
- | # useradd -u 5001 -g debian-spamd -s /bin/sh -d /var/lib/spamassassin debian-spamd | + | |
- | # mkdir /var/lib/spamassassin | + | |
- | # chown debian-spamd:debian-spamd /var/lib/spamassassin | + | |
- | **Debian Squeeze - from backports** (Spamassassin version 3.3.2) | + | http://i-mscp.net/filebase/index.php/Filebase/ |
- | + | ||
- | Add the backports of Debian Squezze to your /etc/apt/sources.list: | + | |
- | + | ||
- | # deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free | + | |
- | + | ||
- | Installation of spamassasin packages: | + | |
- | + | ||
- | # aptitude update | + | |
- | # aptitude -t squeeze-backports install spamassassin | + | |
- | # aptitude install spamass-milter libmail-dkim-perl libnet-ident-perl libencode-detect-perl | + | |
- | + | ||
- | **All other versions** | + | |
- | + | ||
- | Installation of spamassasin packages: | + | |
- | + | ||
- | # aptitude update | + | |
- | # aptitude install spamassassin spamass-milter libmail-dkim-perl libnet-ident-perl libencode-detect-perl | + | |
- | **2. Optional install pyzor and razor** | + | **3. Plugin upload and installation** |
- | + | ||
- | # aptitude install pyzor razor | + | |
- | + | ||
- | **3. Get the plugin from github** | + | |
- | + | ||
- | # cd /usr/local/src | + | |
- | # git clone git://github.com/i-MSCP/plugins.git | + | |
- | + | ||
- | **4. Create new Plugin archive** | + | |
- | + | ||
- | # cd plugins | + | |
- | # tar cvzf SpamAssassin.tar.gz SpamAssassin | + | |
- | + | ||
- | **5. Plugin upload and installation** | + | |
* Login into the panel as admin and go to the plugin management interface | * Login into the panel as admin and go to the plugin management interface | ||
Line 73: | Line 38: | ||
===== Update ===== | ===== Update ===== | ||
- | **1. Get the plugin from github** | + | **1. Get the plugin from Plugin Store** |
- | + | ||
- | # cd /usr/local/src | + | |
- | # git clone git://github.com/i-MSCP/plugins.git | + | |
- | + | ||
- | **2. Create new Plugin archive** | + | |
- | # cd plugins | + | http://i-mscp.net/filebase/index.php/Filebase/ |
- | # tar cvzf SpamAssassin.tar.gz SpamAssassin | + | |
- | **3. Backup your current plugin config** | + | **2. Backup your current plugin config** |
# plugins/SpamAssassin/config.php | # plugins/SpamAssassin/config.php | ||
- | **4. Plugin upload and update** | + | **3. Plugin upload and update** |
* Login into the panel as admin and go to the plugin management interface | * Login into the panel as admin and go to the plugin management interface |