All the content of other websites but none of the music!
Needed FreeBSD Ports lang/perl5 SpamAssassin requires Perl 5.6 or higher. Note: Remeber to run use.perl ports before builing SpamAssassin. mail/p5-Mail-SpamAssassin databases/mysql40-server databases/p5-DBD-mysql Needed so SpamAssassin can talk to MySQL /usr/local/etc/mail/spamassassin/local.cf I like to store users' settings in a MySQL database. See the SpamAssassin SQL README for instructions on setting that up. user_scores_dsn DBI:mysql:Accounts:localhost user_scores_sql_username sa user_scores_sql_password <password> user_scores_sql_table SA_userprefs MySQL Table CREATE TABLE SA_userprefs ( username varchar(128) default '' NOT NULL, preference varchar(30) default '' NOT NULL, value varchar(100) default '' NOT NULL, prefid int(11) UNSIGNED NOT NULL auto_increment, PRIMARY KEY (prefid), INDEX (username) ) COMMENT = "Accounts' SpamAssassin preferences.
I currently use SpamAssassin on the mail cluster at work and it works pretty well. Unfortunately, it doesn’t work well enough according to many of our customers and, more importantly, my boss. So, I worked out this way to use dspam and SpamAssassin. “Why use both?” you might ask. The answer is “I don’t, really.” What I do is provide dspam as an opt-in service and leave SpamAssassin as the default filter for those that don’t want to be bothered with the reporting that dspam requires.
I recently got a Logitech Marble Mouse at work. It’s a nice little trackball but it has a minor problem. There is no button 2. “What is button 2?” you might ask. Button 2 is the middle mouse button. On your average scroll mouse, this is the button that is triggered when you click the scroll wheel. “So?” you might then ask. So, the middle mouse button is used in X to paste stuff from the X clip board.
Installing Many of the needed packages are masked. Add the following to /etc/portage/ packages.keywords sys-fs/gfs ~x86 sys-cluster/gfs-kernel ~x86 sys-cluster/cman ~x86 sys-cluster/cman-headers ~x86 sys-cluster/cman-kernel ~x86 sys-cluster/ccs ~x86 sys-cluster/magma ~x86 sys-cluster/magma-plugins ~x86 sys-cluster/dlm ~x86 sys-cluster/dlm-headers ~x86 sys-cluster/dlm-kernel ~x86 sys-cluster/iddev ~x86 sys-cluster/gfs-headers ~x86 sys-cluster/fence ~x86 sys-fs/clvm ~x86 sys-cluster/gnbd ~x86 sys-cluster/gnbd-headers ~x86 sys-cluster/gnbd-kernel ~x86 Now you can emerge the packages. All of these packages are needed for the client machines except for sys-fs/clvm.
FreeBSD Install the following from ports: mail/courier Note: Make sure you upgrade Perl before you build courier. This is so that perlfilter can find perl modules installed later, e.g. Courier::Filter. Add to /etc/make.conf # For Courier WITH_GNUPG=yes WITH_ISPELL=yes WITH_LDAP2=no WITH_MYSQL=yes Also, you need to make sure that courier is using Perl > 5.6 and not the system perl. During the build, courier uses /usr/bin/perl5. This is the system perl. Here’s the work around.
Install Kerberos 5 Add kerberos to the USE flag in /etc/make.conf. USE="kerberos" Then install everything: emerge -N world – Or – emerge mit-krb5 This will install the MIT kerberos 5 library which may be restricted under US export restrictions. The Heimdal krb5 implementation is free from those restrictions. You can install Heimdal by doing: emerge app-crypt/heimdal Because the kerberos install will change libgssapi, you will need to run revdep-rebuild to fix any apps that you build prior to install krb5.
Introduction I’ve been using amavis-ng with courier-mta for over a year and for various reasons, I’ve been unhappy with it. I decided to switch to amavisd-new. This doc describes my setup. Note: I use FreeBSD. These docs should work for any OS that courier runs on with appropriate changes to paths, etc. Installation Needed Perl Modules This list is from INSTALL in the package. Archive::Tar (archivers/p5-Archive-Tar) Archive::Zip (archivers/p5-Archive-Zip) (1.
Updating a FreeBSD box is fairly simple but it can still be a pain when you have lots of them to upgrade. I have put together this little tutorial as an “It works for me” example. There may be better ways of doing this. Building Machine The first thing you will need is a building machine. This box will download and build the kernel, userland apps and libraries for every machine.
Setting up the 2100S is actually pretty simple. Here’s how I did it. Configure your Kernel The 2100S uses the asr driver which is included in the GENERIC kernel, however, I take that out of my custom kernels since most of my machine do not have a RAID controller at all, so I added this line to my kernel config and rebuilt. device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID Install the Adaptec RAID Control Software The CD that comes with the controller includes some software to control and configure the RAID.
SPF is a protocol to try to provide some defense against domain spoofing. You can turn on SPF checks in courier-mta by adding various things to bofh. You might want to begin by reading the SPF RFC and the Courier SPF docs. Possible Keywords (descriptions from the RFC): Keyword Description “none” A result of None means that no records were published by the domain.