In amavisd.conf, I have:

 @trusted_networks =  ( read_hash("$MYHOME/trusted_networks") );
 
and:

 @client_ipaddr_policy = (
      \...@trusted_networks                => 'BYPASS',
      \...@mynetworks                      => 'MYNETS',
    );
 
which leads to:

 Error in config file "/usr/local/etc/amavisd.conf": Global symbol
 "@trusted_networks" requires explicit package name at
 /usr/local/etc/amavisd.conf line 36.
 Global symbol "@trusted_networks" requires explicit package name at
 /usr/local/etc/amavisd.conf line 55.

Is it possible to define a custom @foo?  Or would it be more direct to
read_hash() within the @client_ipaddr_policy declaration?  Incidentally, is
there a way to specify hostnames in addition to IPs in the aforementioned
policy list?  i.e. .google.com instead of enumerating all their sending IPs
and/or the associated CIDR.

If any of these are explained in the RELEASE_NOTES or docs, please feel free
to hit me with a cluebat. :-)

-- 
Sahil Tandon <sa...@tandon.net>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
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