Webuzo is a single user control panel that uses exim. Like other panels using exim, mailbaby can be integrated editing the exim.conf file. One drawback of Webuzo is that unlike other panels, there is no by the book way to properly edit exim.conf and ensure that no future updates overwrite the changes. Making the below changes will enable mailbaby, but should webuzo update /etc/exim/exim.conf then the config will not be preserved.

To start ensure exim is installed in the webuzo control panel.

Connect to the server via ssh and edit /etc/exim/exim.conf

Look for the line begin routers and above routers_autoreply and add

send_via_mailbaby:
driver = manualroute
domains = ! +local_domains
ignore_target_hosts = 127.0.0.0/8
transport = mailbaby_smtp
route_list = * relay.mailbaby.net::25 randomize byname
no_more

Next look for the line begin transports and after transport_userautoreply and above remote_smtp and add

mailbaby_smtp:
driver = smtp
hosts_require_auth = *
tls_tempfail_tryclear = true
headers_add = X-AuthUser: $authenticated_id
hosts_try_chunking =
hosts_try_fastopen =

Next look for the line begin authenticators above dovecot_plain and add

mailbaby_login:
driver = plaintext
public_name = LOGIN
client_send = : yourusername : yourpassword

Save the file and exit. Restart exim with

systemctl restart exim

Leave a Reply

Your email address will not be published. Required fields are marked *