Jabber multiple JID in one account - xmpp

maybe anyone know solution.
I have multiple JID.
user#domain.com
user#domain2.com
user#domain3.com
15 JID, on public servers, and also have own jabber(prosody server)
can i split all that JID to one ?
Now i use PSI with multiple accounts, but I would like to use one and the other to forward messages to it.
And that the answer was from the account in which they wrote.

You may use xmpp-2-xmpp transport. It connects the other XMPP account(s) in your name and forwards (proxies) all messages etc.
There are two implementations that I am aware of:
J2J: http://wiki.jrudevels.org/Eng:J2J
Spectrum: http://spectrum.im (with Libpurple Jabber backend)
Unfortunately if you need to connect multiple accounts, you will need to set up multiple transport instances, as one transport instance allows only one registration per user.

Related

Is there a way to use a Gmail account as a central routing service

I manage a voluntary group project that uses one gmail account for all of its interactions. Up til this year there were two users of the account. Now there are three, and we are looking at maybe three more. Madness! We are constantly chasing each other to see who will handle a given message. Would be so much better to route messages to specific accounts for a given person to deal with. But we still need to have a central archive for all incoming and outgoing messages.
I'm looking at the use of redirects, and am trying to 'frame' a broader concept of what to do, and then get a grip on whatever the necessary details are.
Here's what I think I'm trying to do. Some of it is not very clear!
Whether Gmail will work that way is what I don't know.
Set up a non-gmail domain, e.g. mymail.org.
Within that domain, create six accounts, like info#mymail.org, events#mymail.org, and so on.
Set up our existing gmail account to both send and receive mail addressed to each of those six accounts.
Have gmail redirect incoming messages based on the incoming address.
Have the replies to those messages look like they come from the incoming address. (So that further replies get routed correctly.)
Have a copy of each incoming and outgoing message stored on the one gmail account. This is crucial for recordkeeping or oversight.
Am I asking for something feasible? If not, what is?
Incidentally, I tried using the mymail+bit#gmail.com method of routing for a while. Didn't help much.
You might want to look into Google workspace. I think they must have something along the lines of what you are looking for.

Do XMPP users need to be in same group to be able to communicate with each other?

I am using "openfire" XMPP server. I have setup the server and created two users
with name testUser1, testUser2.
they can send messages with each other when there are in the same group and cannot when there are not in group
Note:
I do not want to create groups at all to avoid broadcasting of "Presence" stanza when one of the users come online.
Do XMPP users need to be in same group to be able to communicate with
each other?
In general: No. XMPP does not impose such a restriction for exchanging messages between entities. But of course, your server could impose one.
There's no such restriction in XMPP. But you have to put full jid like user#server.if you use only user id it won't work.

Sharing Jabber chat session between multiple clients

I'm using Jitsi on client side and ejabberd on server.
It seems that the chat sessions are specific to clients, i.e. if I'm logged in to the same account from 2 different clients, there will be 2 separate sessions, and one can't see what's happening in another.
Is it possible to share the sessions for the same account on all clients? Like Skype or GTalk.
If yes, is it a server configuration or client?
Thank you.
I think what you're looking for is XEP-0280 Message Carbons. Basically the server takes care of relaying the chat to all of your online resources so that you have the same chat session across all devices.
You even get chatstates from all of your other resources so you can infer whether or not you should show an unread IM notification to the user on your resource or not. You'll need client and server support for this, and it looks like ejabberd has implemented it via this module.

Can an IMAP client automatically filter messages that an IMAP server receives?

Let's suppose I have created an IMAP client and I want to create a filter that, say, deletes messages that have certain characteristics.
I can make this a startup task that happens whenever the client is opened, but the problen is that a user might view the inbox in a different client and the filter won't get rid of the unwanted messages before the inbox is viewed.
Is there some way to tell the server to call my service every time it receives a message so the unwanted messages can go away once the server receives them instead of once a client is opened? Is this even possible with IMAP? If not, is there a different well supported e-mail technology that allows this sort of interaction?
You can do server-side email filtering with the Sieve Email Filtering Language and the ManageSieve Protocol. There is good support in open-source software. However, I am only aware of a few major email providers, that support it. If it is supported, it is usually accessible on the IMAP host and with the IMAP account credentials, i.e. you can test it by connecting to TCP port 2000 and 4190.
See the following three links for more information:
http://en.wikipedia.org/wiki/Sieve_%28mail_filtering_language%29
https://www.rfc-editor.org/rfc/rfc5228 (Sieve: An Email Filtering Language)
https://www.rfc-editor.org/rfc/rfc5804 (ManageSieve Protocol)
Sieve also supports a few notifications types. If the filtering language is not powerful enough to for your purposes, you can send notifications for all incoming emails, wake up the IMAP client, and let the client to the filtering.

Can I have two mail server for different emails

I have a registered domain name where the emails are handled by windows live admin center having a single mx record for my domain. I also have access to modify the dns records any time.
We have around 20 email registered in windows live for my domain. for e.g. user1#example.com, user2#example.com etc.
Some users want to go in for google app accounts as they say there are lots of features in it, and therefore I think I need more than one mail server in my organization.
Is it possible that i can have some emails redirected to windows live and some to google apps, provided that I have access to change the dns and mx records?
So you want different users for the same domain to go to different mail servers?
You can't do this by manipulating the DNS records - the mail will be delivered to the server(s) defined by your MX record for the domain without any reference to the user name.
However, there's nothing stopping that mail server being an application that forwards mail onto several other servers based on the user name of the recipient...
This can't be done within the DNS - mail routing is done on the domain part only.
You'll need to arrange for all of the mail to arrive at one central place, and for it to be then forwarded-on depending on who it's for.
Do note that that isn't completely trivial, although any decent mail server should be able to do it. This is because in some cases (cc:, etc) that forwarding will need to result in two copies being forwarded, i.e. if there are multiple recipients and they're not all on the same service.