How Can We Help?

Configuring WeeChat for SASL

You are here:
< All Topics
Table of Contents

Configuring WeeChat for SASL

Here’s a simple guide for password-based authentication, based on the WeeChat quick-start guide.

If you haven’t already set up your connection to IRC4Fun, use this command:

/server add irc4fun -ssl

If you have already set up a connection to IRC4Fun, or if that command fails with a message like irc: server "irc4fun" already exists, can't add it!, then use these commands to ensure that SSL/TLS is enabled for your connection:

/set irc.server.irc4fun.addresses ""
/set irc.server.irc4fun.ssl on

Now, configure SASL:

/set irc.server.irc4fun.sasl_mechanism PLAIN
/set irc.server.irc4fun.sasl_username <nickname>
/set irc.server.irc4fun.sasl_password <password>

It is recommended to store the password as secured data (skip setting passphrase if already set):

/secure passphrase <passphrase>
/secure set irc4fun_password <password>
/set irc.server.irc4fun.sasl_password "${}"

For more complete instructions, including non-password-based mechanisms, see the official WeeChat documentation.

Scroll to Top