Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Does sendxmpp actually work?



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-



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org