PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Amavisd-new startet nach Update nicht mehr



Mano
14.05.06, 17:22
Hallo,

soeben habe ich auf meinem Debiansystem per apt-get install amavisd-new die Version aktualisiert. Dieses hat alles wunderbar geklappt. Nur leider kann ich den amavis nicht mehr starten.


Richte amavisd-new ein (2.4.0-1) ...
Creating/updating amavis user account...
Starting amavisd: Found incompatible config file flag!
Due to safety concerns, amavisd-new will not be started.
Refer to /usr/share/doc/amavisd-new/README.Debian for instructions.
invoke-rc.d: initscript amavis, action "start" failed.
dpkg: Fehler beim Bearbeiten von amavisd-new (--configure):
Unterprozess post-installation script gab den Fehlerwert 1 zurück

Diese Meldung erhalte ich nun beim Starten. Als ich in die Readme geschaut habe bin ich leider auch nicht viel schlauer geworden als vorher.


Configuration layout
--------------------

Configuration is split into two directories, and processed in the order below:

Read-only configuration: /usr/share/amavis/conf.d/
10-debian_scripts: Stuff you'd better not override
20-package: Packaging decisions, override at will

Read-write conffiles: /etc/amavis/conf.d/
01-debian: Rarely modified settings
05-domain_id: mydomain autodetection, local_domains config
05-node_id: myhostname autodetection
15-av_scanners: AV scanner interface configuration
15-content_filter_mode: Use this to re-enable spamassassin/av checks
20-debian_defaults: Commonly modified settings
50-user: Place your overrides here, if you want

If the package detects legacy config files, it renames them adding a
".disabled" extension, and the amavisd-new initscript will refuse to start the
service until these files with a ".disabled" extension are removed or renamed.
The legacy config files are /etc/amavis.conf and /etc/amavis/amavis.conf.

Antivirus and spam-checking
---------------------------

amavisd-new does not depend on any antivirus, so antivirus checking is not
enabled by default. It also does not depend on spamassassin, so spam checking
is not enabled by default. They are turned off in
/usr/share/amavis/conf.d/20-package. To enable them, edit
/etc/amavis/conf.d/15-content_filter_mode.

If you use clamav-daemon, make sure that it is configured to init supplementary
groups when it drops priviledges, and that you add the clamav user to the
amavis group: add AllowSupplementaryGroups to /etc/clamav/clamd.conf if it is
not there yet, and run "adduser clamav amavis" as root.

If you use spamassassin with the Bayes database system, you should make sure
that the spamassassin configuration option "bayes_auto_expire 0" is set in
spamassassin configure files. This disables the automatic expiration of tokens
which causes problems for amavisd-new when activated. The amavisd-new package
includes cron jobs that take care of syncing and expiring the token database
frequently.

Hat jemand eine Idee was ich tun muss um das Konfigurationslayout anzupassen? Bin da leider nicht schlau raus geworden ...

carnil
06.06.06, 12:51
Hallo

Also mein Englisch ist leider nicht so gut, aber ich verstehe das so:


If the package detects legacy config files, it renames them adding a
".disabled" extension, and the amavisd-new initscript will refuse to start the
service until these files with a ".disabled" extension are removed or renamed.
The legacy config files are /etc/amavis.conf and /etc/amavis/amavis.conf.

Beim Upgrade wurden "alte Konfigurationsdateien" gefunden, und bei denen wurde ein .disabled angehängt. Solange nun solche Dateien mit einer .disabled-Endung existieren, weigert sich amavisd zu starten. D.h. die Konfigurationen müssen für dich angepasst werden (weisst du dann wohl am "besten" was eingestellt werden müsste) und der Dienst wird gestartet sobald keine .disabled-Files mehr vorhanden sind (bis du sie umbenannt oder gelöscht hast - wenn fertig konfiguriert).

Grüsse
S.