Use an override for p1 ejabberd's ejabberd_sm