Changes between Version 14 and Version 15 of configure_new_server
- Timestamp:
- Oct 30, 2007, 2:52:45 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
configure_new_server
v14 v15 504 504 }}} 505 505 506 * Add a new rule for spamassassin (debian etch or above only!)507 508 * Create /usr/local/share/spamassassin/plugins509 {{{510 sudo mkdir /usr/local/share/spamassassin; sudo mkdir /usr/local/share/spamassassin/plugins511 }}}512 513 * Download the ImageInfo plugin to that directory514 {{{515 cd /usr/local/share/spamassassin/plugins516 sudo wget http://www.rulesemporium.com/plugins/ImageInfo.pm517 }}}518 * Add rule to /etc/spamassassin519 {{{520 cd /etc/spamassassin521 sudo wget http://www.rulesemporium.com/plugins/imageinfo.cf522 }}}523 * Edit /etc/spamassassin/init.pre. Add the following line:524 {{{525 loadplugin Mail::SpamAssassin::Plugin::ImageInfo /usr/local/share/spamassassin/plugins/ImageInfo.pm526 }}}527 </ul>528 529 506 * Enable dcc - uncomment line in /etc/spamassassin/v310.pre the refers to dcc 530 507 … … 540 517 541 518 * Edit /etc/default/spamassassin - enable spamassassin 542 543 * Setup sa-update544 {{{545 sudo apt-get install gnupg libnet-dns-perl libnet-ssleay-perl libnet-ident-perl546 # test with:547 sudo sa-update -D548 # make sure the above command exited cleanly549 # Create a file in /etc/cron.daily called "mfpl-sa-update" with:550 #!/bin/bash551 sa-update && /etc/init.d/spamassassin restart552 # always exit with 0 - sa-update will exit with 1 if no update is available553 # and we don't want cron to report that to us554 exit 0555 }}}556 519 557 520 == Maildrop ==