Changelog
Close this window to continue.
18 APR 2008
Forgot to rotate mailzu.log:
cd /etc/logrotate.d
wget http://www200.pair.com/mecham/spam/mailzu.logrotate.txt
mv mailzu.logrotate.txt mailzu
12 MAR 2008
Updated for amavisd-new 2.5.4
12 DEC 2007
Updated for amavisd-new 2.5.3
11 DEC 2007
The amavisnewsql plugin stores the whitelist/blacklist sender addresses in the
wblist table as opposed to a separate table (which would avoid duplication and be a more
efficient way to do it). As a result, the index for that table will not allow
adding more than one entry per recipient. To fix this, log into MySQL and index on the appropriate fields.
I fixed the schema to reflect this change:
USE amavis;
ALTER TABLE `wblist` DROP PRIMARY KEY;
ALTER TABLE `wblist` ADD PRIMARY KEY ( `rid` , `email` );
29 OCT 2007
Added a new section "The alias issue" on page 1. As a result, I also
changed the "Acting as a relay server" section to reflect this change in the setup.
23 SEP 07
And apply a second small patch to amavisd-new (2.4.x through 2.5.2):
cd /usr/sbin
wget http://www200.pair.com/mecham/spam/amavisd-new-trim-whitespace.patch2.txt
patch amavisd-new <amavisd-new-trim-whitespace.patch2.txt
rm amavisd-new-trim-whitespace.patch2.txt
09 SEP 07
And apply a small patch to amavisd-new (2.4.x through 2.5.2):
cd /usr/sbin
wget http://www200.pair.com/mecham/spam/amavisd-new-trim-whitespace.patch.txt
patch amavisd-new <amavisd-new-trim-whitespace.patch.txt
rm amavisd-new-trim-whitespace.patch.txt
28 AUG 07
I commented out each occurrence of:
-o receive_override_options=no_address_mappings
in master.cf. If address rewriting in disabled before amavisd-new, the alias
will not be found in the amavis MySQL database. If not found, default amavisd-new
settings are used. This could create confusion for the end user. Ideally, aliases
should either direct mail to an email address in the amavis MySQL database, or to an
address external to the server. Don't create aliases that point to other aliases.
If one needs to rewrite user+spam@example.com style
addresses to user@domain.tld style addresses, then address rewriting cannot be
disabled after amavisd-new either. Any time address rewriting is enabled both before
and after the content_filter, there is a possibility of duplicate messages. Avoid
the use of always_bcc, recipient_bcc_maps or similar, as this would create one
bcc before and one bcc after the content_filter.
See http://www.postfix.org/postconf.5.html#receive_override_options
27 AUG 07
I renamed a number of files dealing with SSL certificates. No changes are required for
existing installations. Instead of using the date for naming certificate files I now
use the host name. This makes it easier for those that create more than one set of certificates.
I also now configure apache-ssl, courier imap-ssl and courier pop3-ssl to use the renamed
files instead of the default names the were using. The renamed files are simply more descriptive.
Added this note referring to SASL AUTH:
There is an issue with Mozilla Thunderbird. It tries to use CRAM-MD5 before it
tries PLAIN. This will result in a "SASL authentication failure: empty secret"
warning unless you enter a cleartext password for these clients. If you don't
wish to do that, you can either fix Thunderbird, or not use CRAM-MD5. To fix
Thunderbird, go to Tools->Options->Advanced->General->Config Editor and then
double click on mail.smtpserver.default.trySecAuth (which is set to true by
default) in order to set it to false.
20 AUG 07
Added a %banned_rules section to the 50-user file which defines a custom set of banned rules called
'BLOCK_EXE' which is used in both policy banks.
Also added: spam_dsn_cutoff_level_bysender_maps => [9999], to both policy banks. This is needed (only) when
one has upgraded to a newer version of amavisd-new and wishes to continue to bounce spam back to trusted senders.
18 AUG 07
Added this:
Quiet down logcheck:
echo "amavis\[[0-9]+\]: \(rel-.{12}\) Quarantined message release:" >>/etc/logcheck/ignore.d.server/amavisd-new
echo "amavis\[[0-9]+\]: \(rel-.{12}\) Quarantine release" >> /etc/logcheck/ignore.d.server/amavisd-new
Corrected the mistake in the command "cp Botnet.pm cp Botnet.pm~"
06 AUG 07
Botnet 0.8 was released. You may want to reinstall it:
cd /usr/local/src
mkdir Botnet-0.8
cd Botnet-0.8
wget http://people.ucsc.edu/~jrudd/spamassassin/Botnet-0.8.tar
tar -xf Botnet-0.8.tar
wget http://www200.pair.com/mecham/spam/botnet8patch.txt
cp Botnet.pm cp Botnet.pm~
patch -p0 <botnet8patch.txt
cp Botnet.pm /etc/spamassassin/
cp Botnet.cf /etc/spamassassin/
cd /etc/spamassassin/
sed -i 's/5.0/2.0/' Botnet.cf
amavisd-new reload
spamassassin --lint
If you are running amavisd-new 2.5.2 or newer and the sanesecurity ClamAV signatures:
cd /etc/spamassassin
wget http://www200.pair.com/mecham/spam/amavis-sanesecurity.cf
spamassassin --lint
04 AUG 07
Initial release.
http://www200.pair.com/mecham/spam/virtual.html