Configure a mail server via bash script
From this manual you will learn how to configure Postfix-based mail server using a bash script. The script will configure and install Roundcube Webmail, Postfix and Dovecot automatically, also it create mailboxes based on your domain(s).
The cheapest VPS...
How to read Email Headers
Received: by 2002:a17:906:742:b0:958:803f:dba7 with SMTP id z2csp1282371ejb;
Sun, 7 May 2023 03:23:01 -0700 (PDT)
X-Received: by 2002:a17:907:3ea8:b0:953:37d9:282f with SMTP id hs40-20020a1709073ea800b0095337d9282fmr6314816ejc.38.1683454980797;
Sun, 07...
Common mail bounces and their description
Hard bounce
The response from the remote server was:
550 5.7.1 No such user! 1683454980-0NPfrE8P9Cg0-eRlBSO3h
Hard Bounce - Indicates a permanent reason why the email could not be delivered.
Causes for a hard bounce:
The recipient's email address does...
What is a spam trap?
Spam Traps are a fairly effective way to detect spammers and are currently used by most email providers.
If you ignore spam traps, they can negatively affect your domain's reputation and cause blocking.
The main types of traps
Parked Traps.
These are email addresses...
Basic dns settings for mail server
Name
Type
Value
Additional
domain.com.
A (internet address v4)
90.190.100.0
mail.domain.com.
A (internet address v4)
90.190.100.0
imap.domain.com.
A (internet address v4)
90.190.100.0
www.domain.com.
A (internet address v4)
90.190.100.0...
What is a DKIM signature?
The DKIM signature is used to authenticate the sender's email address.
DKIM key generation
First of all, you need to generate a pair of DKIM keys, public and private.
Public key example:
-----BEGIN PUBLIC KEY-----...
What is a DMARC signature?
The DMARC record is designed to protect your domain from phishing and improve the deliverability of your emails. DMARC determines which rules will be applied to your outgoing emails that are not authenticated.
Setting up a DMARC signature
In the DNS settings of the...
What is SPF signature?
SPF (Sender Policy Framework) is a TXT record with ip addresses which allow to send emails from your domain. This technology is designed to protect your domain from spam and improve email deliverability.
Set up an SPF record signature
In the DNS domain settings, create a...