[Evolution] Automated Configuration of Evolution Accounts

Not Zed notzed@ximian.com
Wed, 23 Feb 2005 09:14:14 +0800


--=-ZiMgKr9BPjCQPM3bgUae
Content-Type: text/plain
Content-Transfer-Encoding: 7bit


It should also follow an rfc822 email-address format.  i.e.
local@domain.

Otherwise, it can be any string, it doesn't have to be the
hostname/time, it just needs to be unique for that user.

On Tue, 2005-02-22 at 08:55 -0500, JP Rosevear wrote:

> On Tue, 2005-02-22 at 21:29 +0800, Murray Trainer wrote:
> > Hi All,
> > 
> > I have managed to automate most of my Evolution account setup using
> > gconftool-2 and sed.  My problem at the moment is the generation of the
> > uid value in the account string shown below.
> > 
> > uid="1103529217.8931.0@vserver"
> > 
> > The first value appears to be the time the account was created in
> > seconds since 1/1/1970 and can be obtained using date +"%s".  The last
> > value is obviously the hostname the account was created on (should it be
> > hostname@domain?).  I was wondering what the other values in the string
> > are and how they are generated?
> 
> The uid just needs to be unique or a 1 in a trillion duplicate shot
> anyhow.  The algorithm we use is iso time, pid, gid, ppid, a serial
> number for the the program's run and the hostname.
> 
> -JP

--=-ZiMgKr9BPjCQPM3bgUae
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.5.5">
</HEAD>
<BODY>
<BR>
It should also follow an rfc822 email-address format.&nbsp; i.e. <A HREF="mailto:local@domain.">local@domain.</A><BR>
<BR>
Otherwise, it can be any string, it doesn't have to be the hostname/time, it just needs to be unique for that user.<BR>
<BR>
On Tue, 2005-02-22 at 08:55 -0500, JP Rosevear wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">On Tue, 2005-02-22 at 21:29 +0800, Murray Trainer wrote:</FONT>
<FONT COLOR="#000000">&gt; Hi All,</FONT>
<FONT COLOR="#000000">&gt; </FONT>
<FONT COLOR="#000000">&gt; I have managed to automate most of my Evolution account setup using</FONT>
<FONT COLOR="#000000">&gt; gconftool-2 and sed.  My problem at the moment is the generation of the</FONT>
<FONT COLOR="#000000">&gt; uid value in the account string shown below.</FONT>
<FONT COLOR="#000000">&gt; </FONT>
<FONT COLOR="#000000">&gt; uid=&quot;1103529217.8931.0@vserver&quot;</FONT>
<FONT COLOR="#000000">&gt; </FONT>
<FONT COLOR="#000000">&gt; The first value appears to be the time the account was created in</FONT>
<FONT COLOR="#000000">&gt; seconds since 1/1/1970 and can be obtained using date +&quot;%s&quot;.  The last</FONT>
<FONT COLOR="#000000">&gt; value is obviously the hostname the account was created on (should it be</FONT>
<FONT COLOR="#000000">&gt; hostname@domain?).  I was wondering what the other values in the string</FONT>
<FONT COLOR="#000000">&gt; are and how they are generated?</FONT>

<FONT COLOR="#000000">The uid just needs to be unique or a 1 in a trillion duplicate shot</FONT>
<FONT COLOR="#000000">anyhow.  The algorithm we use is iso time, pid, gid, ppid, a serial</FONT>
<FONT COLOR="#000000">number for the the program's run and the hostname.</FONT>

<FONT COLOR="#000000">-JP</FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>

--=-ZiMgKr9BPjCQPM3bgUae--