* Wietse Venema <wie...@porcupine.org>:

> This will not work.  You can't have two postscreen processes writing
> to the same postscreen_cache file.

> Instead, you must specify
> 
>     memcache = inet:mail.charite.de:11211
>     backup = proxy:btree:/var/lib/postfix/postscreen_cache
> 
> (and be sure that "postconf proxy_write_maps" shows the
> btree:/var/lib/postfix/postscreen_cache table).

I must admit I have not understood this. I always assumed the
postscreen processes on mail & mail2 use ONE memcache instance, but
their own local "backup"

Now I made the changes (added proxy:) and now I'm getting:

Dec 28 21:34:23 mail postfix/proxymap[4387]: warning: request for unapproved 
table: "btree:/var/lib/postfix/postscreen_cache"
Dec 28 21:34:23 mail postfix/proxymap[4387]: warning: to approve this table for 
read-write access, list proxy:btree:/var/lib/postfix/postscreen_cache in 
main.cf:proxy_write_maps
Dec 28 21:34:23 mail postfix/postscreen[4861]: fatal: proxywrite service is not 
configured for table "btree:/var/lib/postfix/postscreen_cache"

# postconf proxy_write_maps
proxy_write_maps = $smtp_sasl_auth_cache_name $lmtp_sasl_auth_cache_name 
$address_verify_map $postscreen_cache_map 
btree:/var/lib/postfix/postscreen_cache

So, what should be listed?
btree:/var/lib/postfix/postscreen_cache
or
proxy:btree:/var/lib/postfix/postscreen_cache

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebra...@charite.de | http://www.charite.de
            

Reply via email to