WEB WORKBENCH

My Project Workspace

A collection of systems, experiments, and builds

🧭 Stage 10 — Webmail (Roundcube) + SMTP2GO Setup + Domain Verification

At this stage I move from basic email functionality into a fully validated mail system that can send and receive real-world email reliably.

The goal is:
Make sure my domain is verified, SMTP is authenticated, and email delivery works externally.

📬 Installing Roundcube (webmail testing layer)

First I install Roundcube through Virtualmin.

This gives me a browser-based email interface so I can:

Log into mailboxes
Send test emails
Receive external emails
Verify IMAP is working correctly

At this stage Roundcube is purely for testing, not my main email client.

📧 Creating the first mail user

Inside Virtualmin, I create the first real mailbox user:

Username: (my chosen email user)
Password: (secure password set during creation)
Domain: webworkbench.co.uk

This becomes the first working email identity on the system.

🌐 SMTP2GO account setup

Next I create an account with SMTP2GO to handle outgoing email delivery.

This improves:

Email deliverability
Spam reputation handling
Reliability from a home-hosted server

After creating the account, SMTP2GO requires domain verification before it will allow sending.py.

🔐 Domain verification (important step)

SMTP2GO generates 3 CNAME records that must be added into Namecheap DNS. These are used to prove ownership of the domain.

I add each CNAME record into Namecheap exactly as provided by SMTP2GO.

Once added:

SMTP2GO verifies the domain automatically
Outgoing mail is enabled for that domain
The system becomes trusted for sending email

⚙️ Configuring Postfix to use SMTP2GO

Inside Virtualmin (Postfix configuration), I set SMTP relay:

i click on SMTP Authentication And Encryption option

Send outgoing mail via host: mail-eu.smtp2go.com:2525

Then Use SASL SMTP authentication set to Yes

🔐 Adding SMTP credentials (SSH step I always forget)

On the Ubuntu server via SSH, I configure the SMTP authentication file:

sudo nano /etc/postfix/sasl_passwd

Add:
mail-eu.smtp2go.com:2525 SMTP2GO_USERNAME:SMTP2GO_PASSWORD

Then compile the map file:
sudo postmap /etc/postfix/sasl_passwd

Lock permissions:
sudo chmod 600 /etc/postfix/sasl_passwd

Restart Postfix:
sudo systemctl restart postfix

🧠 What this step achieves

This ensures:

Postfix securely stores SMTP credentials
SMTP2GO handles all outbound email
Emails are properly authenticated
Domain is verified and trusted for sending

📡 DNS + email alignment check

At this stage I also confirm:

MX record points to mail.webworkbench.co.uk
SMTP2GO CNAME verification is complete
Domain is fully authorised for sending email
Roundcube can send and receive messages

🧱 Stage result

At the end of this stage:

  • Roundcube is installed and working

  • First mailbox user is created

  • SMTP2GO account is active

  • Domain verified via 3 CNAME records

  • Postfix configured with SMTP relay

InfoAbout Cookie infoContactFAQs