Peter,

> I am trying to include access to port 10024 from different host by
>
> $inet_socket_port = [10024,10039,9998];   # listen on this local TCP
> port(s) $inet_socket_bind = undef;              # all interfaces
> @inet_acl => qw(127.0.0.1 [::1] 10.8.69.10 10.8.69.20 10.8.131.10);
>
> But when I try the logfiles says:
>
> Mar 10 12:23:38 msec1 amavis[19750]: Net::Server: 2009/03/10-12:23:38
>   CONNECT TCP Peer: "10.8.131.10:40797" Local: "10.9.224.11:10024"
> Mar 10 12:23:38 msec1 amavis[19750]: loaded base policy bank
> Mar 10 12:23:38 msec1 amavis[19750]: lookup_ip_acl (inet_acl):
>   key="10.8.131.10", no match
> Mar 10 12:23:38 msec1 amavis[19750]:
>   (!)DENIED ACCESS from IP 10.8.131.10, policy bank ''

> What I don't understand is the base policy bank. I have several policy
> banks connected with other ports but none with port 10024 so I thought that
> it would use the defaults defined in the amavisd.conf file

> What am I missing

Syntax.

The 10.8.131.10 is not in your @inet_acl, it is left at its default.

You need an assignment operator '=' to change global settings;
the '=>' operator is equivalent to a comma and is used in hashes
to separate key from a value, e.g. within policy banks.

  Mark

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
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