Re: Verify cache dump

2013-04-04 Thread Nikolaos Milas
On 4/4/2013 11:06 μμ, Wietse Venema wrote: You weren't paying attention when i explained automatic cache refresh. I admit I was confused with the initial explanation. Your latest clarifications make things much clearer to me. I understand that the gateway server should work fine with the cur

Re: Verify cache dump

2013-04-04 Thread Wietse Venema
Nikolaos Milas: > On 4/4/2013 5:42 ??, Wietse Venema wrote: > > > How long is your expected downtime? Even it someone receives only > > one email per week, they should expire in 24 days. > > It will be around 5-6 hours. I would like to avoid the gateway server > bouncing mails due to not being a

Re: Verify cache dump

2013-04-04 Thread Nikolaos Milas
On 4/4/2013 5:42 μμ, Wietse Venema wrote: How long is your expected downtime? Even it someone receives only one email per week, they should expire in 24 days. It will be around 5-6 hours. I would like to avoid the gateway server bouncing mails due to not being able to verify the recipients.

Re: Verify cache dump

2013-04-04 Thread Wietse Venema
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 leng

Re: Verify cache dump

2013-04-04 Thread 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 entr

Re: Verify cache dump

2013-04-04 Thread Wietse Venema
Nikolaos Milas: > On 23/1/2013 3:43 ??, Nikolaos Milas wrote: > > > Interestingly, at first I tried it but it didn't seem to produce any > > output at all (I had to break with Ctrl-C): > > > > # postmap -s /var/lib/postfix/verify_cache > > ^C > > # postmap -s btree:/var/lib/postfix/verify_cache >

Re: Verify cache dump

2013-04-04 Thread Nikolaos Milas
On 23/1/2013 3:43 μμ, Nikolaos Milas wrote: Interestingly, at first I tried it but it didn't seem to produce any output at all (I had to break with Ctrl-C): # postmap -s /var/lib/postfix/verify_cache ^C # postmap -s btree:/var/lib/postfix/verify_cache ^C # postmap -q u...@example.com /var/lib/

Re: Verify cache dump

2013-01-23 Thread Wietse Venema
Nikolaos Milas: > On 23/1/2013 2:24 ??, Noel Jones wrote: > > > man postmap the -s and -q options may be of particular interest. > > Thanks Noel, > > It worked fine in the end. It's almost guaranteed not to work. To prevent multiple writers from corrupting the database, verify(8) maintains an e

Re: Verify cache dump

2013-01-23 Thread Nikolaos Milas
On 23/1/2013 2:24 μμ, Noel Jones wrote: man postmap the -s and -q options may be of particular interest. Thanks Noel, It worked fine in the end. Interestingly, at first I tried it but it didn't seem to produce any output at all (I had to break with Ctrl-C): # postmap -s /var/lib/postfix/v

Re: Verify cache dump

2013-01-23 Thread Noel Jones
On 1/23/2013 6:11 AM, Nikolaos Milas wrote: > Hello, > > Is there a way to dump/view the verify cache so as to check which > addresses are currently included therein? > > (I am using Postfix 2.9.4 on Centos 6.3 x86_64) > > # postconf | grep address_verify_map > address_verify_map = btree:$data_d