Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 117203

Summary: amavisd.conf needs refactoring
Product: Gentoo Linux Reporter: Yuval Kogman <nothingmuch>
Component: New packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED UPSTREAM    
Severity: enhancement CC: antivirus, jakub
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Yuval Kogman 2005-12-30 07:33:59 UTC
The amavisd.conf file keeps getting changed, and is *HUGE*.

Every time I upgrade it's a PITA to merge it.

It should be split up into many files, like spam score thresholds, system config (max_servers, etc), anti virus profiles (one per vendor), etc etc.

Then the main amavisd.conf should just require all these files with a nice loop, a la Module::Pluggable.
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2006-04-07 12:46:29 UTC
I'd like this too, but I'm not too good in perl - have you tried proposing this to upstream?
Comment 2 Andrej Kacian (RETIRED) gentoo-dev 2006-10-06 19:37:23 UTC
I don't want to do this on package maintainer level, as Gentoo tries to stick as close to upstream as possible. Propose this to amavisd-new developers. I would only welcome if config files were more manageable.