Comments on Send Instant Messages (Notifies) By XMPP (Jabber/Google Talk) From Linux Command Line
Send Instant Messages (Notifies) By XMPP (Jabber/Google Talk) From Linux Command Line sendxmpp is a perl-script to send xmpp (jabber), similar to what mail does for mail. Obviously, to use sendxmpp , you need a jabber account; they are freely available at jabber.org, but you can also run your own server. The good news is, instant messaging between the Google Talk servers and its clients uses an open protocol, XMPP, allowing users of other XMPP/Jabber clients to communicate with Google Talk users. This tutorial shows how you can compile and install SendXMPP on CentOS 5.5 server.
5 Comment(s)
Comments
You can easilly raise: sudo apt-get install libio-socket-ssl-perl libnet-xmpp-perl
Thanks for the hint. on Ubuntu Lucid Lynx (10.04) you can even proceed with
> sudo apt-get install sendxmpp
sendxmpp needs ca_root_nss
for FreeBSD it is:
/usr/ports/security/ca_root_nss
do not forget to add symlink
ln -s /usr/local/share/certs/ca-root-nss.crt /etc/ssl/cert.pem
Google Talk account in sendxmpp can be configured as follows:
echo "[email protected] your-secure-password gmail.com" > ~/.sendxmpprc
The latest version of sendxmpp can be installed very simply:
cd /tmp
git clone https://github.com/lhost/sendxmpp.git
cp sendxmpp/sendxmpp /usr/local/bin/
chmod 755 /usr/local/bin/sendxmpp
and then send test message using your google account:
echo "test `date`" | sendxmpp --tls [email protected]
With talk.google.com server you must use "--tls" or "-t" parameter.
Hi, I was wondering that Can I extract a list of online users of g talk at any particular instance? If yes then how?Cheers!!