Top 10 Cybersecurity Mistakes That Put You at Risk (And How to Fix Them)
Welcome to Cyber Tech Arena – your go-to hub for everything tech! From the latest in gadgets and innovations to deep dives into cybersecurity, ethical hacking, and real-world cyber attacks, we break down complex topics into easy-to-understand insights. Whether you're a tech enthusiast, a budding hacker, or just someone who wants to stay safe online, you'll find valuable content, tips, and updates right here.
mail.example.com)You need to create few records for domain to get started. They are as follows.
| Type | Host | Value | ||
| A | @ | Your IP address | ||
| A | Your IP address | |||
| MX | @ | mail.yourdomain.com 10 | ||
| TXT | @ | v=spf1 a mx ip4:138.68.14.182 ~all | ||
| TXT | _dmarc | v=DMARC1; p=quarantine; rua=mailto:admin@cybertech-arena.com; ruf=mailto:admin@cybertech-arena.com; fo=1 Auto |
Set Hostname and Hosts File on VPS
SSH into your Contabo VPS:
ssh root@your_vps_ip
Set the hostname:
hostnamectl set-hostname mail.yourdomain.com
Replace mail.yourdomain.com with your domain.
Edit /etc/hosts:
nano /etc/hosts
Add your VPS IP and hostname:
123.45.67.89 mail.yourdomain.com mail
Save (CTRL+O → ENTER → CTRL+X).
Test:
hostname -f
Should print:
mail.yourdomain.com
Install System Dependencies
apt update && apt upgrade -y apt install net-tools wget curl unzip tar dnsutils -y
Download Zimbra OSE 10.1.4 (Community Build)
cd /optwget https://github.com/maldua/zimbra-foss-builder/releases/download/zimbra-foss-build-ubuntu-22.04/10.1.4/zcs-10.1.4_GA_4200000.UBUNTU22_64.20241224171952.tgz
Extract and enter folder:
tar xvf zcs-10.1.4_GA_4200000.UBUNTU22_64.20241224171952.tgz
cd zcs-10.1.4_GA_4200000.UBUNTU22_64.20241224171952Run the Installersudo ./install.sh
Accept license → Y
Enable components:
zimbra-ldap
zimbra-logger
zimbra-mta
zimbra-snmp
zimbra-store
zimbra-apache
zimbra-spell
zimbra-memcached
zimbra-proxy
When asked:
The system will be modified. Continue? [N] Ychoose Y
Set Admin password when prompted.
Verify domain: it should detect mail.yourdomain.com.
When finished, installer outputs:Configuration complete - press return to exit
Start Zimbra and Check Services
su - zimbra
zmcontrol statusTo access the Zimbra Admin Portal, type below URL in Web Browser
To access Zimbra Mail Web Client, type the following URL in the browser
Enter Your Username And PassWord
Note: For both the URLs we can use user name as “admin” and password that we set during the installation
su - zimbra zmprov ca user1@example.com strongpassword displayName "User One" zmprov ca user2@example.com strongpassword displayName "User Two"
Verify:
zmprov -l gaa
Setting Up DKIM (DomainKeys Identified Mail)
su - zimbrazmprov ms mail.yourdomain.com zimbraDomainKeyStatus enabled
zmprov ms mail.yourdomain.com zimbraDomainKeySelector selector1
zmprov ms mail.yourdomain.com zimbraDomainKeyBits 1024
zmprov ms mail.yourdomain.com zimbraDomainKeyAlgo rsa
zmprov ms mail.yourdomain.com zimbraDomainKeyMethod rsa
zmprov ms mail.yourdomain.com zimbraDomainKeyPrefix dkimRun this command to verify:
zmprov gms mail.yourdomain.comcat /opt/zimbra/dkim/domainkeys/mail.yourdomain.comv=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A...
Comments
Post a Comment