Re: DB files across machines

2009-11-12 Thread Ralf Hildebrandt
* Ansgar Wiechers : > > My setup currently copies the plain text versions and creates a flag > > file. A cron job then looks for the flag file and postmaps the files if > > needed. > > Use incron instead of cron. Yes, it's a bit tricky to get right, but once it works... -- Ralf Hildebrandt

Re: DB files across machines

2009-11-12 Thread Ansgar Wiechers
On 2009-11-12 Gaby Vanhegan wrote: > Is there a portable way to share postmapped file across machines? > > I have one postfix server running OpenBSD and another running CentOS, I > want the CentOS server to provide secondary services for for the BSD box. > The OpenBSD box uses virtual delivery:

Re: DB files across machines

2009-11-12 Thread Ralf Hildebrandt
* Gaby Vanhegan : > I guess I was just misleading myself with respect to CDB and > performance: > > http://www.postfix.org/CDB_README.html I've been using it for years, no problems... -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin

Re: DB files across machines

2009-11-12 Thread Ralf Hildebrandt
* Gaby Vanhegan : > I was under the impression that there was a performance penalty using > CDB with Postfix? A negative penalty, yes -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Be

Re: DB files across machines

2009-11-12 Thread Gaby Vanhegan
On 12 Nov 2009, at 14:14, Ralf Hildebrandt wrote: * Gaby Vanhegan : Is there a portable way to share postmapped file across machines? Yes: 1) share the text files, then use a Makefile to convert them on the target systems I already do this, I wanted to take this step out. 2) Use comp

Re: DB files across machines

2009-11-12 Thread Gaby Vanhegan
On 12 Nov 2009, at 14:17, lst_ho...@kwsoft.de wrote: I get the same error if I try to read the contents of the .db file using postmap directly. Is there going to be some architectural difference between the two systems? Is there a more cross-platform file format I could use for the datab

Re: DB files across machines

2009-11-12 Thread lst_hoe02
Zitat von Gaby Vanhegan : Is there a portable way to share postmapped file across machines? I have one postfix server running OpenBSD and another running CentOS, I want the CentOS server to provide secondary services for for the BSD box. The OpenBSD box uses virtual delivery: /etc/postfi

Re: DB files across machines

2009-11-12 Thread Ralf Hildebrandt
* Gaby Vanhegan : > Is there a portable way to share postmapped file across machines? Yes: 1) share the text files, then use a Makefile to convert them on the target systems 2) Use compatible BerkeleyDB versions 3) Don't use BerkeleyDB, use CDB -- Ralf Hildebrandt Geschäftsbereich IT |

DB files across machines

2009-11-12 Thread Gaby Vanhegan
Is there a portable way to share postmapped file across machines? I have one postfix server running OpenBSD and another running CentOS, I want the CentOS server to provide secondary services for for the BSD box. The OpenBSD box uses virtual delivery: /etc/postfix/main.cf:(BSD box) ... # Wh