Email module transition to Rspamd¶
Previous NethServer installations are automatically upgraded to Rspamd as described by this section.
New configuration features, specific to the Rspamd-based implementation, are documented in Email. Here is a brief list:
- DKIM signature
- Rspamd web UI
- Greylist threshold 
Append a legal notice¶
The Email > Domains > Append a legal note to sent messages (also
known as “Disclaimer”) feature was split in a separate, optional package:
nethserver-mail2-disclaimer. New installations should avoid it, as it relies
on an old package  that can be removed in future releases.
Block port 25¶
The block of port 25 can prevent abuse/misuse by LAN machines. If the system is acting as the LAN network gateway, the administrator can create a firewall rule inside the Rules page.
Additional host name aliases¶
The following host name aliases were automatically registered in the local DNS
service, if the
When upgraded from an old Email module based on Amavisd, the
postfix/MxRecordStatus is removed and those aliases are pushed as
records in the
hosts DB. They can be edited from DNS > Server
MX record for LAN clients¶
The new Email module implementation based on Rspamd does not push the MX record override for LAN hosts any more. Ensure the LAN mail user agents are configured to use SMTP/AUTH or are listed in Email > SMTP access > Allow relay from IP addresses before upgrading.
Manual upgrade procedures are no longer needed: upgrade occurs automatically.
After the upgrade the old antispam engine services provided by amavisd and spamassassin are stopped and their packages can be removed.
To clean up the old antispam rpms type
yum remove amavisd-new spamassassin
|||Rspamd – Fast, free and open-source spam filtering system. https://rspamd.com/|
|||Domain Keys Identified Mail (DKIM) is an email authentication method designed to detect email spoofing – Wikipedia|
|||Greylisting is a method of defending e-mail users against spam. A mail transfer agent (MTA) using greylisting will “temporarily reject” any email from a sender it does not recognize – Wikipedia|
|||alterMIME is a small program which is used to alter your mime-encoded mailpack – https://pldaniels.com/altermime/|