[Discuss] Does sendxmpp actually work?

Dan Ritter dsr at randomstring.org
Fri Mar 4 14:19:47 EST 2016


On Fri, Mar 04, 2016 at 02:05:41PM -0500, Daniel Barrett wrote:
> 
> Has anyone on the list ever used the sendxmpp command to send instant
> messages? I can't get it to work at all (version 1.23 on Ubuntu
> 15.10), and I'm wondering if it's just fundamentally broken.
> 
> I've created usernames on several Jabber sites, and they work with
> popular graphical IM clients on Linux, so I tried sendxmpp.  I created
> a local ~/.sendxmpprc file with my user information, e.g.:
> 
>   bongo at rows.io:5222	<password>
> 
> However, no matter which username & Jabber server I use, I can't send
> a message with sendxmpp. I always get a connection failure. Here is
> one example in verbose mode:
> 
> $ echo foo | sendxmpp -v bongo at rows.io
> sendxmpp: config: 'password' => '********'
> Use of uninitialized value $val in concatenation (.) or string at /usr/bin/sendxmpp line 195.
> sendxmpp: config: 'component' => ''
> sendxmpp: config: 'username' => 'bongo'
> sendxmpp: config: 'jserver' => 'rows.io'
> sendxmpp: config: 'port' => '5222'
> sendxmpp: ssl_verify: 1
> sendxmpp: tls_ca_path:
> Could not connect to 'rows.io' on port 5222: IO::Socket::INET: connect: timeout
> 
> Does sendxmpp ever work?

I just got it working with -e and -n options to connect to a
test ejabberd.

Try -e or -t ?

-dsr-



More information about the Discuss mailing list