Re: [Dbmail-dev] RE: unique_id discussion/problem

2003-06-12 Thread Jesse Norell
Hello, Original Message From: Aaron Stone To: dbmail-dev@dbmail.org Subject: Re: [Dbmail-dev] RE: unique_id discussion/problem Sent: Thu, 12 Jun 2003 07:21:42 -0700 (PDT) > In fact, I would highly recommend that a database is used. I envision a > table that has a row for each server in

Re: [Dbmail-dev] RE: unique_id discussion/problem

2003-06-12 Thread Jesse Norell
Hello, > > I plan on making one function to generate uuid's (for unique_id or > > anywhere else, if someone needs them), and then make all the pop3 > > stuff use it everywhere it currently generates a unique_id (in > > multiple functions). > > Is it the mail sender or the mail receiver that gen

Re: [Dbmail-dev] RE: unique_id discussion/problem

2003-06-12 Thread Jesse Norell
Hello, The uuid generation needs to know the nodeid of the machine, and save that and some state info (timestamp and a sequence number). My plan was to make it read the mac addr off a hardware ethernet card - but if for some reason that doesn't work, or if a user doesn't want to give that info o

Re: [Dbmail-dev] RE: unique_id discussion/problem

2003-06-12 Thread Aaron Stone
In fact, I would highly recommend that a database is used. I envision a table that has a row for each server in the cluster and a "uuid prefix" or something to the like. Synchronization information might also be stored in this table, such as the IP address of each server as it links up with a row i

Re: [Dbmail-dev] RE: unique_id discussion/problem

2003-06-12 Thread Magnus Sundberg
Jesse Norell wrote: Hello, On the issue of unique_id in general, I think our whole problem was because we added constraints to guarantee that that field actually was unique - that is not necessary, and even arguably wrong. The rfc actually says that a client should be able to handle multipl

Re: [Dbmail-dev] RE: unique_id discussion/problem

2003-06-12 Thread Magnus Sundberg
Hi, I have a small question, that I don't understand. What reason is there to not store this data in the database? /Magnus Jesse Norell wrote: Hello, I'm working on implimenting UUID's into dbmail, and need both a place for non-volitale storage, for which I plan on using a /etc/dbmail/ direc

[Dbmail-dev] hi everyone (+netscape sha1 hack)

2003-06-12 Thread zeek
Hi everyone, After being thrown into migrating a netscape messaging server 3.5 to i found this little piece of software that fitted the role perfectly. I can now say that DBmail works perfectly in this enviroment (well after a few days that i spent figuring how to migrate users+passwords/ema

[Dbmail-dev] RE: unique_id discussion/problem

2003-06-12 Thread Jesse Norell
Hello, I'm working on implimenting UUID's into dbmail, and need both a place for non-volitale storage, for which I plan on using a /etc/dbmail/ directory (with a "nodeid" and "state" file), and need an inter-process locking mechanism for which I'm planning on using flock() on the state file. Do