Changes between Version 14 and Version 15 of configure_new_server


Ignore:
Timestamp:
Oct 30, 2007, 2:52:45 PM (13 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • configure_new_server

    v14 v15  
    504504}}}
    505505
    506  * Add a new rule for spamassassin (debian etch or above only!)
    507 
    508  * Create /usr/local/share/spamassassin/plugins
    509 {{{
    510 sudo mkdir /usr/local/share/spamassassin; sudo mkdir /usr/local/share/spamassassin/plugins
    511 }}}
    512 
    513  * Download the ImageInfo plugin to that directory
    514 {{{
    515 cd /usr/local/share/spamassassin/plugins
    516 sudo wget http://www.rulesemporium.com/plugins/ImageInfo.pm
    517 }}}
    518  * Add rule to /etc/spamassassin
    519 {{{
    520 cd /etc/spamassassin
    521 sudo wget http://www.rulesemporium.com/plugins/imageinfo.cf
    522 }}}
    523  * Edit /etc/spamassassin/init.pre. Add the following line:
    524 {{{
    525 loadplugin Mail::SpamAssassin::Plugin::ImageInfo /usr/local/share/spamassassin/plugins/ImageInfo.pm
    526 }}}
    527 </ul>
    528 
    529506 * Enable dcc - uncomment line in /etc/spamassassin/v310.pre the refers to dcc
    530507
     
    540517
    541518 * Edit /etc/default/spamassassin - enable spamassassin
    542 
    543  * Setup sa-update
    544 {{{
    545 sudo apt-get install gnupg libnet-dns-perl libnet-ssleay-perl libnet-ident-perl
    546 # test with:
    547 sudo sa-update -D
    548 # make sure the above command exited cleanly
    549 # Create a file in /etc/cron.daily called "mfpl-sa-update" with:
    550 #!/bin/bash
    551 sa-update && /etc/init.d/spamassassin restart
    552 # always exit with 0 - sa-update will exit with 1 if no update is available
    553 # and we don't want cron to report that to us
    554 exit 0
    555 }}}
    556519
    557520== Maildrop ==