Anders wrote:
> I'm setting up a new mail server and get a bit confused by amavis-new
> parameter @local_domains_maps.
> What good does it do really?
For one thing, X-Spam headers and Subject tagging will only occur for
local domains. With 30 domains, it would probably be easier to list
them in a file, one domain per line (prefix with a period to add
subdomain/host wildcard):
@local_domains_maps = ( read_hash("$MYHOME/local_domains") );
.example.com
.example.net
Local or not affects a growing number of things. You need to set it in
order for some things to work as expected.
> Also a question about amavisd.conf-sample, I see this:
> # use old or new style of banned lookup table; not both to avoid confusion
> #
> # @banned_filename_maps = (); # to disable old-style
> $banned_namepath_re = undef; # to disable new-style
> If I use the definitions above these lines, what should it read? As it
> looks here, my spontaneous thought is that @banned_filename_maps is used
> and $banned_namepath_re is disabled?
Right
> Yet I have this above;
> # new-style of banned lookup table
> $banned_namepath_re = new_RE(
> [...]
> );
> My guess is that I should comment out $banned_namepath_re = undef;, am I
> correct there?
As shown, you can only use one or the other. I suggest using the easier to
understand @banned_filename_maps. Remember, this is a sample file.
Examples of both types are shown, then due to the later assignment:
$banned_namepath_re = undef;
$banned_namepath_re is disabled. I would leave it that way unless you
know that @banned_filename_maps does not meet your needs and you
instead need the more flexible, yet more complex $banned_namepath_re.
Gary V
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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/