Skip to content

Quickstart

Welcome to BillionMail! This page will walk you through installing BillionMail and launching your very first Email marketing server.

Before Installation

BillionMail is currently developed based on Linux

Minimum hardware requirements

md
CPU: 1Core
RAM: 1GB
Hard disk: 20GB

Prerequisites

  • Currently only the Linux operating systems that support amd64 and arm64 architectures.

Firewall & Ports

Please check whether the port of BillionMail is open and not used by other applications:

ss -tlpn | grep -E -w '25|110|143|465|587|993|995'
# or:
netstat -tulpn | grep -E -w '25|110|143|465|587|993|995'

If you have a firewall or security group in front of BillionMail, make sure these port connections are open:

ServiceProtocolPort
Postfix SMTPTCP25
Postfix SMTPSTCP465
Postfix SubmissionTCP587
Dovecot IMAPTCP143
Dovecot IMAPSTCP993
Dovecot POP3TCP110
Dovecot POP3STCP995

Regarding Port 25

  • Currently, mail servers can only communicate via port 25; it's not possible to directly use other ports for communication.

    1. Submit a ticket to the server provider to open port 25.

    2. Use an SMTP relay server for forwarding: SMTP Relay

  • How to check if the outbound direction of port 25 on the server is open?

    Execute the following commands on the server to check:

    • Redhat/CentOS:
      yum install telnet -y && telnet gmail-smtp-in.l.google.com 25
    • Debian/Ubuntu:
      apt install telnet -y && telnet gmail-smtp-in.l.google.com 25

    More test addresses: telnet smtp.qq.com 25 , telnet smtp.163.com 25

    • If port 25 is blocked, the output will look like this, and it will continuously show as connecting:

      You can press Ctrl+C to exit

      alt text

    • If not blocked, the output will look like this:

      You can type quit to exit

      alt text

  • How to handle if port 25 is occupied?

    1. Use the command to check the process occupying the port:
      ss -tulnp | grep :25
    2. Common programs that occupy port 25: Exim, Postfix, Sendmail
    3. If you do not need the program (e.g., you are not using Exim or Postfix to send emails), you can directly stop and disable it. Stop the program based on its name:
      systemctl stop exim && systemctl disable exim
      Or
      systemctl stop postfix && systemctl disable postfix
      Or
      service sendmail stop && chkconfig sendmail off

Install

One-click installation script (Recommended): Script

Docker Compose: Docker

Released under the AGPLv3 License