Re: [jdev] winpopup like sending from multiple programs but one account simultaneously?

2006-08-25 Thread Matthias Wimmer
Hi Sander! Sander Devrieze schrieb: PID of the spawned process that parses the email will work as well.. but someday you may want to run your program on more than one machine ;-) I hear /dev/random is a good alternative to handle this case. ...there still is change to have the same value twice

Re: [jdev] winpopup like sending from multiple programs but one account simultaneously?

2006-08-25 Thread Sander Devrieze
Op vrijdag 25 augustus 2006 18:22, schreef Norman Rasmussen: > On 8/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > You could parse the Message-Id of the email and use that as the xmpp > > resource when authenticating your xmpp client. > > > > PID of the spawned process that parses the emai

Re: [jdev] Discovering the Federation.

2006-08-25 Thread Hal Rottenberg
On 8/25/06, Norman Rasmussen <[EMAIL PROTECTED]> wrote: On 8/26/06, Hal Rottenberg <[EMAIL PROTECTED]> wrote: > Why can't you use S2S to discover the meshed network of servers and > available services? Because no one wrote a JEP for it yet? That's a lame excuse. :) Oh btw the email<->jabber

Re: [jdev] Discovering the Federation.

2006-08-25 Thread Norman Rasmussen
On 8/26/06, Hal Rottenberg <[EMAIL PROTECTED]> wrote: Why can't you use S2S to discover the meshed network of servers and available services? Because no one wrote a JEP for it yet? -- - Norman Rasmussen - Email: [EMAIL PROTECTED] - Home page: http://norman.rasmussen.co.za/

Re: [jdev] Discovering the Federation.

2006-08-25 Thread Hal Rottenberg
Well, usually client developers download the list of servers before the user ever logs on (so the user can choose a server). If we say that you need to be connected to the XMPP network before you can get a list of servers, then we have a bootstrapping problem. Let me come at the OPs question a d

Re: [jdev] winpopup like sending from multiple programs but one account simultaneously?

2006-08-25 Thread Hal Rottenberg
On 8/24/06, Christian Hammers <[EMAIL PROTECTED]> wrote: This account does not need to be visibly online or receive any answers I just want to (mis)use Jabber to replace the old Samba+Winpopup solution. (Of course I could implement it like a single threaded printer-spooler but maybe there alread

Re: [jdev] winpopup like sending from multiple programs but one account simultaneously?

2006-08-25 Thread Norman Rasmussen
On 8/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: You could parse the Message-Id of the email and use that as the xmpp resource when authenticating your xmpp client. PID of the spawned process that parses the email will work as well.. but someday you may want to run your program on more

Re: [jdev] winpopup like sending from multiple programs but one account simultaneously?

2006-08-25 Thread ennova2005-jabber
You could parse the Message-Id of the email and use that as the xmpp resource when authenticating your xmpp client.PID of the spawned process that parses the email will work as well.. but someday you may want  to run your program on more than one machine ;-)Christian Hammers <[EMAIL PROTECTED]> wro

Re: [jdev] winpopup like sending from multiple programs but one account simultaneously?

2006-08-25 Thread Kevin Smith
On 25 Aug 2006, at 11:08, Maciek Niedzielski wrote: Christian Hammers wrote: Is it possible to send messages from different programs simultaneously using only one account? Make sure you use different resource identifiers for different connections and you should be fine. If you want a quick

Re: [jdev] winpopup like sending from multiple programs but one account simultaneously?

2006-08-25 Thread Maciek Niedzielski
Christian Hammers wrote: > Is it possible to send messages from different programs simultaneously > using only one account? > (...)> > But as this program reacts on emails via /etc/aliases, it may happen that > more than one instance gets started simultaneously but only the first one > is allowed

[jdev] winpopup like sending from multiple programs but one account simultaneously?

2006-08-25 Thread Christian Hammers
Hello Is it possible to send messages from different programs simultaneously using only one account? I'm writing a small email2jabber converter script for Nagios that pops up a message on all technician's desktops on critical errors. This works so far using "jabberclass-0.8" (PHP). But as this p