• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

README.markdownH A D05-Jun-20211.7 KiB5843

mod_alias.luaH A D05-Jun-20211.4 KiB4427

mod_alias_postfixadmin.shH A D05-Jun-2021864 218

README.markdown

1---
2summary: Point alias accounts or domains to correct XMPP user
3...
4
5Introduction
6============
7
8This module allows you to set up aliases that alert people who try to
9contact them or add them to their roster what your actual JID is.  This
10is useful for changing JIDs, or just in the case where you own both
11example.com and example.net, and want people who contact you@example.com
12to be alerted to contact you at you@example.net instead.
13
14This type of aliasing is well supported in the email world, but very hard
15to handle with XMPP, this module sidesteps all the hard problems by just
16sending the user a helpful message, requiring humans to decide what they
17actually want to do.
18
19This doesn't require any special support on other clients or servers,
20just the ability to receive messages.
21
22Configuration
23=============
24
25Add the module to the `modules_enabled` list.
26
27    modules_enabled = {
28        ...
29        "alias";
30    }
31
32Then set up your list of aliases, aliases can be full or bare JIDs,
33or hosts:
34
35    aliases = {
36        ["old@example.net"] = "new@example.net";
37        ["you@example.com"] = "you@example.net";
38        ["conference.example.com"] = "conference.example.net";
39    }
40
41You can also set up a custom response, by default it is:
42
43    alias_response = "User $alias can be contacted at $target";
44
45A script named mod_alias_postfixadmin.sh is included in this directory to
46generate the aliases array directly from a postfixadmin MySQL database.
47Instructions for use are included in the script.
48
49Compatibility
50=============
51
52  ------- --------------
53  trunk   Works
54  0.10    Works
55  0.9     Unknown
56  0.8     Unknown
57  ------- --------------
58