[JDEV] Sending to jabber server equiv of /dev/null
Dov Katz
worklists at dovkatz.net
Mon Oct 14 10:00:47 CDT 2002
I have a question.
We are running a Jabber server with full logging. I need to log some stuff from clients, and I'd like to do it (for now) by simply sending it to /dev/null address on the server, so it ends up in the message log. I don't care who consumes the message, or if it ever gets delivered, I just don't want it coming back to the client. (If I did, the intuitive thing would be to send it to myself, which would log it on the server).
Is there any address built into the server, which would allow me to send a message to the server, without it returning any errors to me...
For example... message to=devnull at myjabberserver
Sending to @jamserver returns a 404 to me.
Oh yeah, the other thing is that the server is only logging message packets, so I need it to be a message.
The only thing I can think of, which I don't feel is that good of a solution, is to route messages to a chatbot, which ignores them, but I'd love to do something which wouldn't have potential for the server to spool (ie. if the bot went down, the server would spool everything).
Let me know if you have any ideas!
Thanks,
-Dov
More information about the JDev
mailing list