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

ennova2005-jabber at yahoo.com ennova2005-jabber at yahoo.com
Fri Aug 25 11:14:55 CDT 2006


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 <ch at westend.com> wrote: 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 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 to log in, all the others get "connection has been replaced"
error messages.

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 already is a Jabber way of accomplishing it...)

bye,

-christian-

-- 
Christian Hammers             WESTEND GmbH  |  Internet-Business-Provider
Technik                       CISCO Systems Partner - Authorized Reseller
                              Lütticher Straße 10      Tel 0241/701333-11
ch at westend.com                D-52064 Aachen              Fax 0241/911879


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20060825/c7fea3a5/attachment-0002.htm>


More information about the JDev mailing list