以下是我的ejabberd yml配置
-
port: 8888
ip: "::"
module: ejabberd_service
access: all
shaper_rule: fast
ip: "127.0.0.1"
privilege_access:
roster: "both"
message: "outgoing"
presence: "roster"
delegations:
"urn:xmpp:mam:1":
filtering: ["node"]
"http://jabber.org/protocol/pubsub":
filtering: []
hosts:
"mycomponent.p-pc":
password: "secret"
"sender.p-pc":
password: "secret"
发送到mycomponent.p-pc的邮件已发送至sender.p-pc
答案 0 :(得分:1)
hosts
变量是单个组件的别名列表,而不是不同的组件名称