On Thu, Jan 13, 2011 at 10:41:53PM +0100, Ralf Hildebrandt wrote:

> From my log:
> 
> Jan 13 22:37:21 mail postfix/postscreen[17587]: warning: 
> postscreen_access_list: unknown command: permit_mynetworks, -- ignoring the 
> remainder of this access list
> 
> The README says:
>     postscreen_access_list = permit_mynetworks,
>             /etc/postfix/postscreen_access.cidr
> 
> which is exactly what I'm using.
> 
>     postscreen_access_list = permit_mynetworks,
>             cidr:/etc/postfix/postscreen_access.cidr
> 
> seems to work, though

An oversight. The "," character is not one of the implemented delimiters.

Index: src/postscreen/postscreen_access.c
--- src/postscreen/postscreen_access.c  13 Jan 2011 06:14:49 -0000      1.1.1.1
+++ src/postscreen/postscreen_access.c  13 Jan 2011 21:50:23 -0000
@@ -76,7 +76,7 @@
 
 #include <postscreen.h>
 
-#define PSC_ACL_SEPARATORS     " \t\r"
+#define PSC_ACL_SEPARATORS     ", \t\r\n"
 
 static ADDR_MATCH_LIST *psc_mynetworks;
 

-- 
        Viktor.

Reply via email to