[ejabberd] s2s conf issues

Randy Bush randy at psg.com
Tue Mar 8 03:44:49 MSK 2005

aleksey gave me the following hack

create a file inetrc containing

    {file, resolv, "/etc/resolv.conf"}.

chown it 644

in /usr/local/bin/ejabberd, hack the start command to add one line

    --- ejabberd~   Tue Mar  8 00:32:04 2005
    +++ ejabberd    Tue Mar  8 00:37:32 2005
    @@ -27,8 +27,9 @@
     exec erl -sname ejabberd \
	 -s ejabberd \
	 -ejabberd config \"$CONFIG\" log_path \"$LOG\" \
    +    -kernel inetrc \"/usr/local/etc/inetrc\" \
	 -sasl sasl_error_logger \{file,\"$SASL_LOG\"\} \
	 -mnesia dir \"$SPOOL\" \

this tells erlang to use your local resolver as opposed to its
own.  this works around an lack of srv processing in erlang.


More information about the ejabberd mailing list