Files @ 1bb9f7ac1072
Branch filter:

Location: majic-ansible-roles/roles/xmpp_server/tests/data/mcabber.cfg.j2 - annotation

branko
MAR-112: Added alternate SMTP port:

- Updated mail_server role to deploy firewall rules that include redirection
from TCP port 27 to TCP port 25.
- Updated documentation to include references to the additional port.
- Updated tests to cover the new functionality.
set jid = {{ item.jid }}
set password = {{ item.password }}
set server = {{ item.server }}

{% if item.security == 'tls' %}
set port = 5222
set tls = 1
{% elif item.security == 'ssl' %}
set port = 5223
set ssl = 1
{% endif %}

set nickname = {{ item.nickname }}

alias me = say /me
alias online   = status online
alias away     = status away
alias dnd      = status dnd
alias notavail = status notavail

# Key bindings
# Ctrl-q (17) bound to /roster unread_next
bind 17 = roster unread_next
# Ctrl-x (24) bound to /roster alternate
bind 24 = roster alternate
# F5 (269) bound to /roster toggle_offline  (centericq-like, IIRC)
bind 269 = roster toggle_offline
# F12 (276) bound to /roster toggle
bind 276 = roster toggle
# Ctrl-Up/Ctrl-Down bound to /buffer up/down  (like Ctrl-p/Ctrl-n)
bind 521 = buffer up
bind 514 = buffer down