use strict; use Errno qw(ENOENT); # Text by Gary V, mr88talent at yahoo dot com; code courtesy Mark Martinec # This amavisd.conf reads in the Debian amavisd-new 2.6.4 configuration files and # is designed to be used on a system where the Debian squeeze amavisd-new 2.6.4 package # has been removed but the user desires to continue to maintain the Debian style # configuration files. # The assumption is you are replacing the Debian etch packaged amavisd-new 2.6.4 # with a newer (original) version of the amavisd (amavisd-new) executable file # downloaded from http://www.ijs.si/software/amavisd/ # # Once you have replaced the Debian version with the original version please # remember that the Debian package maintainers maintain the Debian version, # not this version. Do not submit bug reports to the Debian team. # In order to use the original version of the amavisd-new executable it is required # that you have a symlink from /etc/amavisd.conf to /etc/amavis/amavisd.conf, e.g.: # ln -s /etc/amavis/amavisd.conf /etc/amavisd.conf # # amavisd must be renamed amavisd-new (/usr/sbin/amavisd-new). One must also # replace or edit the /etc/init.d/amavis initscript so that it does not # check_noncompatible_upgrade # http://verchick.com/mecham/public_html/spam/amavis.init.squeeze.txt # If you use a version of the Debian packaged amavisd-new newer than 2.6.4 and that version # uses configuration files not listed in the qw() function below, you may edit this to # reflect your environment but do not place any comments within the qw() function. my(@conf_files) = qw( /usr/share/amavis/conf.d/10-debian_scripts /usr/share/amavis/conf.d/20-package /etc/amavis/conf.d/01-debian /etc/amavis/conf.d/05-domain_id /etc/amavis/conf.d/05-node_id /etc/amavis/conf.d/15-av_scanners /etc/amavis/conf.d/15-content_filter_mode /etc/amavis/conf.d/20-debian_defaults /etc/amavis/conf.d/25-amavis_helpers /etc/amavis/conf.d/30-template_localization /etc/amavis/conf.d/50-user ); include_config_files(@conf_files); # If you like, you may place config items here. This would be useful for items introduced # after version 2.6.4 of amavisd-new. Typically however, on a Debian system, user settings # are stored primarily in /etc/amavis/conf.d/50-user. See amavisd.conf-sample for examples # of config items that can be used. Items placed here will be the last items read into the # configuration so they typically will override previous settings. #---------- Place configuration items below this line ----------- #------------ Do not modify anything below this line ------------- 1;