Al wrote:
> Am Freitag, 27. Januar 2006 17:53 schrieb Gary V:
>> > The script actually checks for the existence of amavisd.conf.disabled
>> > so if you rename that, it should let you start it up.
> I wonder why it was renamed on other machines automatically. To be sure, to
> start from a default-configuration I purged amavis with aptitude.
I wonder if it left your old amavisd.conf file intact.
>> With this new Debian setup, spam and virus checking is disabled by
>> default so you may also need to enable spam and virus
>> checking if you have not already done so, the settings are in:
>> /usr/share/amavis/conf.d/20-package
> I don't have /usr/share/amavis/conf.d/20-package
> /etc/amavis# ls -lLRh *
> Do you mean that the entries below have to be enabled?
No. If you are missing /usr/share/amavis/conf.d/20-package then that
would be the same as allowing virus and spam checks (because the
settings to disable them would not be present).
> /etc/amavis/conf.d/15-content_filter_mode
> use strict;
> @bypass_virus_checks_maps = (
> \%bypass_virus_checks, [EMAIL PROTECTED],
> \$bypass_virus_checks_re);
> @bypass_spam_checks_maps = (
> \%bypass_spam_checks, [EMAIL PROTECTED], \$bypass_spam_checks_re);
> 1; # insure a defined return
> Al
I wonder if your install is incomplete. I have:
# ls -l /usr/share/amavis/conf.d/
-rw-r--r-- 1 root root 855 Dec 27 08:56 10-debian_scripts
-rw-r--r-- 1 root root 648 Dec 27 08:56 20-package
AFAIK the init script will not start amavisd-new if this directory
does not exist. Maybe it does but you are missing the 20-package file
which would be fine if you are. You would not be fine if the
10-debian_scripts file was missing however. Here are the contents of
the files I have:
###############################################
spamfilter:~# cat /usr/share/amavis/conf.d/10-debian_scripts
use strict;
# ADMINSTRATORS: DO NOT CHANGE THIS FILE
# Change the files in /etc/amavis/conf.d instead
# This file contains Debian system settings that are not to be changed
# unless you really know better.
# Changing or overriding the settings in this file requires changing scripts
# such as the initscript and maybe the cron scripts, and even the amavis user
# home directory.
#
# You have been warned. Don't change these settings.
$daemon_user = 'amavis';
$daemon_group = 'amavis';
$MYHOME = '/var/lib/amavis'; # a convenient default for other settings
$TEMPBASE = "$MYHOME/tmp"; # working directory, needs to be created manually
$ENV{TMPDIR} = $TEMPBASE; # environment variable TMPDIR
$db_home = "$MYHOME/db";
$pid_file = "/var/run/amavis/amavisd.pid";
$lock_file = "/var/run/amavis/amavisd.lock";
1; # insure a defined return
######################################################
spamfilter:~# cat /usr/share/amavis/conf.d/20-package
use strict;
# These settings are here just to enable a Debian package that does not
# depend on clamav. The local admin is expected to override them
# in /etc/amavis/conf.d/15-content_filter_mode, if any sort of antivirus
# support is wanted
@bypass_virus_checks_maps = (1); # DISABLE anti-virus code by default
# These settings are here just to enable a Debian package that does not
# depend on spamassassin. The local admin is expected to override them
# in /etc/amavis/conf.d/15-content_filter_mode, if spamassassin support
# is wanted
@bypass_spam_checks_maps = (1); # DISABLE anti-spam code by default
1; # insure a defined return
#################################################
Gary V
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/