Carlos Williams schrieb am Friday, den 01. August 2008:

> On Fri, Aug 1, 2008 at 8:28 AM, Alexander Wirt <[EMAIL PROTECTED]> wrote:
> > Its up to you. there is no difference. I would prefer 50-user since it comes
> > after all debian specific files and would override everything from them .
> > Hey, we documented even in README.Debian that you should use 50-user for 
> > your
> > overrides....
> >
> > Alex - debian maintainer of amavisd-new
> 
> So are you saying that I can use (and you recommend) "50-user" as my
> traditional /etc/amavisd.conf file for my configuration alterations of
> Amavisd? I am just trying to understand if I can simply use one config
> file for Amavisd on Debian or if I need to edit and add entries in all
> of the following to get Amavisd properly working?
> 
> email:/etc/amavis/conf.d# ls -l
> total 56
> -rw-r--r-- 1 root root  1458 2007-02-24 13:30 01-debian
> -rw-r--r-- 1 root root   692 2007-02-24 13:30 05-domain_id
> -rw-r--r-- 1 root root   235 2007-02-24 13:30 05-node_id
> -rw-r--r-- 1 root root 13907 2007-02-24 13:30 15-av_scanners
> -rw-r--r-- 1 root root   554 2007-02-24 13:30 15-content_filter_mode
> -rw-r--r-- 1 root root  9187 2007-02-24 13:30 20-debian_defaults
> -rw-r--r-- 1 root root   573 2007-02-24 13:30 25-amavis_helpers
> -rw-r--r-- 1 root root  2130 2007-02-24 13:30 30-template_localization
> -rw-r--r-- 1 root root   318 2007-02-24 13:30 50-user
> 
> Now do I need to modify all the other config files I see above or can
> I simply just add my alterations to "50-user"?
50-user is processed last everything inside here will override any setting of
the files before. You can even do something like:

rm /etc/amavis/conf.d/* ; zcat
/usr/share/doc/amavisd-new/examples/amavisd.conf-sample.gz >
/etc/amavis/conf.d/01-amavisd.conf 

But I would recommend that you just add your settings to 50-user or create
your own file with a number higher than 30. 

If you want to know how your settings would like in a traditional amavisd
config just try the following: 

less /usr/share/amavis/conf.d/* /etc/amavis/conf.d/* 

Thats the way the files are processed. 

Hope that helps. 

Alex

-- 
Alexander Wirt, [EMAIL PROTECTED] 
CC99 2DDD D39E 75B0 B0AA  B25C D35B BC99 BC7D 020A

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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/

Reply via email to