Skip to content

Quick Start

Get SirrChat up and running in minutes with our one-click installation script.

Prerequisites

System Requirements

yaml
System Requirements:
  OS: Ubuntu 20.04+ / macOS 12+ / CentOS 8+
  CPU: 2+ cores
  RAM: 2GB minimum (4GB recommended)
  Storage: 20GB SSD
  Network: 100Mbps

Software Dependencies:
  Go: 1.24+ (for building from source)
  Git: Latest
  Make: Latest

Required Ports

Ensure the following ports are available:

PortServiceRequired
25SMTPOptional
587SubmissionYes
465SMTPSOptional
993IMAPSYes
143IMAPOptional
8825SMTP AltYes

One-Click Installation

Install and configure SirrChat with a single command:

bash
# Download and run the installation script
curl -sSL https://raw.githubusercontent.com/mail-chat-chain/mailchatd/main/start.sh | bash

The automated installer will:

  1. Download & Install the sirrchatd binary for your platform
  2. Domain Configuration - Set up your email domain
  3. DNS Provider Setup - Choose from 15 supported providers
  4. TLS Certificate - Automatic ACME DNS-01 challenge setup
  5. Service Management - Create and start systemd services

Supported DNS Providers

The installation script supports automatic TLS certificate provisioning with the following DNS providers:

ProviderTypeAuthentication
CloudflareGlobal CDNAPI Token
Amazon Route53AWS DNSAccess Key + Secret
DigitalOceanCloud DNSAPI Token
Google Cloud DNSGCP DNSService Account JSON
VultrCloud DNSAPI Key
HetznerEuropean DNSAPI Token
GandiDomain RegistrarAPI Token
NamecheapDomain RegistrarAPI Credentials
+ 7 moreVariousVarious

Manual Installation

If you prefer manual installation:

1. Build from Source

bash
# Clone the repository
git clone https://github.com/mail-chat-chain/mailchatd.git
cd sirrchatd

# Build the binary
make build

# Verify installation
./build/sirrchatd --help

2. Start the Server

bash
# Run the mail server
./build/sirrchatd run

# Or use the start.sh script for automated configuration
./start.sh

First Steps

Create a User Account

bash
# Create user credentials
sirrchatd creds create user@example.com

# Generate password hash (if using password authentication)
sirrchatd hash mypassword

Configure Your Email Client

Use any standard email client (Thunderbird, Outlook, Apple Mail, etc.) with these settings:

Incoming Mail (IMAP):

  • Server: your-domain.com
  • Port: 993
  • Security: SSL/TLS
  • Username: user@example.com
  • Password: your-password

Outgoing Mail (SMTP):

  • Server: your-domain.com
  • Port: 587
  • Security: STARTTLS
  • Username: user@example.com
  • Password: your-password

Send Your First Email

Once configured, you can send and receive emails through your SirrChat server!

Next Steps

Troubleshooting

Common Issues

Port already in use:

bash
# Check which process is using the port
sudo lsof -i :25
sudo lsof -i :587

# Stop the conflicting service
sudo systemctl stop postfix  # Example for Postfix

TLS Certificate Issues:

bash
# Check DNS configuration
sirrchatd dns check

# Verify DNS records
sirrchatd dns export

Service won't start:

bash
# Check service status
sudo systemctl status sirrchatd

# View detailed logs
sudo journalctl -u sirrchatd -n 50

Getting Help


Congratulations! You now have a working SirrChat server. 🎉

Released under the GPL 3.0 License.