Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
userguide:user:personalemail [2014/07/23 19:13] – Chris Gebhardtuserguide:user:personalemail [2026/09/06 23:40] (current) – Michael Stauber
Line 2: Line 2:
 [[userguide:start|BlueOnyx]] > [[userguide:personalprofile:start|Personal Profile]] > Email [[userguide:start|BlueOnyx]] > [[userguide:personalprofile:start|Personal Profile]] > Email
  
-There are three options available in the Email "Basic Settings" section: Email Forwarding and Vacation Message.  In addition, BlueOnyx includes an IMAP Synchronization feature.+There are four options available in the Email "Basic Settings" section: Email Forwarding, Vacation Message, and Anti-Spam.  In addition, BlueOnyx includes an IMAP Synchronization feature. 
 + 
 +**Note:** The Anti-Spam tab is only available if the [[https://shop.blueonyx.it/blueonyx/email/av-spam.html|AV-SPAM]] add-on package is installed.
  
 ---- ----
Line 36: Line 38:
 ---- ----
  
-===IMAP Synchronization==+===Anti-Spam=== 
 +The Anti-Spam tab provides personal spam filtering controls when the [[https://shop.blueonyx.it/blueonyx/email/av-spam.html|AV-SPAM]] add-on is installed. Users can configure their own spam delivery preferences independently of server defaults. 
 + 
 +**Delivery Actions** 
 +  * **DISABLE** — No spam filtering; all mail is delivered normally. 
 +  * **DELIVER** — Spam is delivered to the inbox with a modified subject line. 
 +  * **FILE** — Spam is delivered to a dedicated spam folder (requires Procmail). 
 +  * **DELETE** — Spam is discarded silently. 
 + 
 +**Personal Scoring Overrides** 
 +Users can override the server default scores for: 
 +  * **Add header score** — Score at which an ``X-Spam: YES`` header is added. 
 +  * **Reject score** — Score at which incoming mail is rejected. 
 +  * **Greylist score** — Score at which greylisting is temporarily applied. 
 + 
 +**Sender Lists** 
 +Users can maintain personal allow/block lists: 
 +  * **Sender IP blacklist / whitelist** — Block or allow specific IP addresses or CIDR ranges. 
 +  * **Sender domain blacklist / whitelist** — Block or allow entire sender domains. 
 +  * **Sender email blacklist / whitelist** — Block or allow specific email addresses. 
 + 
 +**Custom Rules** 
 +Users can create custom Rspamd rules in SpamAssassin-style syntax or multimap expressions. Rules are stored in ``~/.rspamd/custom_rules.rules``. 
 + 
 +===== Automatic HAM/SPAM Bayes Training (AV-SPAM v8.1) ===== 
 + 
 +Since AV-SPAM v8.1, the email folder **``caughtspam``** is created automatically whenever a user is created or modified via the GUI. 
 + 
 +If a user has his SPAM-filter configured to move all detected SPAM to the folder ``caughtspam`` and/or a user manually moves an email into that folder, the email is presented to Rspamd to learn it as **SPAM**. It may not accept emails that have insufficient numbers of tokens, but still: Such emails are at least considered for training. 
 + 
 +If an email is moved **out** of the folder ``caughtspam``, then this email is trained as **HAM**. 
 + 
 +This is implemented via special ImapSieve rules and a script that is triggered via a timer and does batch processing of up to 50 emails per user. Only new emails are taken into account and it keeps track of those it has already seen. 
 + 
 +The training progress can be monitored via: 
 + 
 +<code bash> 
 +journalctl -u solarspeed-rspamd-imapsieve.service 
 +</code> 
 + 
 +On the Anti-Spam tab you will find a table that shows how many HAM/SPAM emails were already learned for your account. 
 + 
 +**Note:** This is an optional feature and must be enabled in the **Services** tab of the [[userguide:rspamd:rspamdsettings|AV-SPAM Settings]] for it to work. 
 + 
 +---- 
 + 
 +===IMAP Synchronization===
 IMAP Synchronization allows you to copy the emails and IMAP folders from one mailbox to another. This can be used to import emails of a single user from another server after a server migration. It can also be used to export emails of a local user to a mailbox locate on another server. IMAP Synchronization allows you to copy the emails and IMAP folders from one mailbox to another. This can be used to import emails of a single user from another server after a server migration. It can also be used to export emails of a local user to a mailbox locate on another server.
  
 When you tick the 'Enable' checkbox, have all required fields filled out and save the changes, then this server will attempt to import emails via ImapSync from the remote to the local destination. A logfile of the transaction is created and can then be viewed to determine if the transfer was successful or not. When you tick the 'Enable' checkbox, have all required fields filled out and save the changes, then this server will attempt to import emails via ImapSync from the remote to the local destination. A logfile of the transaction is created and can then be viewed to determine if the transfer was successful or not.
 +