Nikolaos Milas:
> On 4/4/2013 3:38 ??, Wietse Venema wrote:
> 
> >      # cp /var/lib/postfix/verify_cache.db tempfile.db
> >      # postmap -s btree:tempfile.db
> 
> Thanks Wietse, it works fine this way:
> 
>     # postmap -s btree:verify_cache_copy
> 
> By the way, is there a way/command to lengthen the validity of all 
> current entries in the verify cache?

Configure a larger address_verify_positive_expire_time?
The default is 31 days.

Note that Postfix does not wait until cached information expires.
By default it refreshes cached records after 7 days (the refresh
happens after the user receives email).

Therefore. cached information about active accounts will be valid
for 24..31 days.

> As currently set, our gateway mail server(s) queries the final 
> destination (internal) server to verify recipients using:
> 
>     relay_recipient_maps = <empty>
> 
> In case of planned downtime of internal (final destination) mail server, 
> I would like to avoid expiration of the gateway server's verify cache 
> during the downtime.

How long is your expected downtime? Even it someone receives only
one email per week, they should expire in 24 days.

        Wietse

Reply via email to