Gary V skrev:
> 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
The problem is that the domains are stored in a MySQL server, managed by
web-cyradm. It would be really impractical to dump the database and
store it on the mail server in a text file.
It would be optimal to read it directly from the DB like Postfix does.
I don't do the address mangling until after amavis, so amavis would see
all the virtual addresses, then feed back to postfix that remaps them to
one (the local) domain.
Anders Norrbring
Norrbring Consulting
-------------------------------------------------------------------------
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/