Dave,
If you want to read it from a file, just substitute the existing with:
@local_domains_maps = ( read_hash("/etc/mail/amavis/local_domains") );
In that file, just add the domains, one / line.
Best regards,
Martin
> Hey folks, me again. I've got quite a few domains that are
> considered "local"...sticking them in @local_domains_maps is pretty
> unwieldy. Is there a way to pull that information from a file, or
> (better for me) a MySQL table?
>
> The answer to this might be obvious to a Perl person, as the
> config file is actually a Perl script...but I'm primarily a C and
> assembly language programmer and have zero Perl knowledge. :-(
>
> Thanks,
> -Dave
>
> --
> Dave McGuire
> Port Charlotte, FL
> Farewell Ophelia, 9/22/1991 - 7/25/2007
>
>
>
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell. From the desktop to the data center, Linux is going
> mainstream. Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> _______________________________________________
> 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/
>
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
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/