public:email_related_notes
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| public:email_related_notes [2016/09/22 06:14] – Fufu Fang | public:email_related_notes [2018/03/31 00:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Email Related Notes ====== | ||
| + | ===== Exim4 Spam Filter Configuration ===== | ||
| + | This is the local spam filter configuration for Exim4. This server is using mbox, the following set up should move spam mails into a separate folder. | ||
| + | * Follow this guide: https:// | ||
| + | * Replace the relevant segment with these: | ||
| + | < | ||
| + | warn | ||
| + | spam = Debian-exim | ||
| + | add_header = X-Spam-Score: | ||
| + | X-Spam-Score-Int: | ||
| + | X-Spam-Bar: $spam_bar\n\ | ||
| + | X-Spam-Status: | ||
| + | remove_header = Subject | ||
| + | add_header = Subject: ***SPAM (score: | ||
| + | </ | ||
| + | * You should not put '' | ||
| + | * The relevant section might be in ''/ | ||
| + | |||
| + | |||
| + | * Add '' | ||
| + | < | ||
| + | # Exim filter | ||
| + | if "${if def: | ||
| + | then | ||
| + | save $home/ | ||
| + | finish | ||
| + | endif | ||
| + | </ | ||
| + | ==== Spam denial ==== | ||
| + | Rather than re-writing the subject line of the spam, and adding extra header lines, you can also consider denying the spam message outright with an error message: | ||
| + | < | ||
| + | deny | ||
| + | spam = Debian-exim | ||
| + | message = You have sent a suspected spam. Please re-send your email to spam@auti.st | ||
| + | </ | ||
| + | |||
| + | ==== References ==== | ||
| + | * https:// | ||
| + | * http:// | ||
| + | |||
| + | |||
| + | ===== Standard Email Test Strings ===== | ||
| + | ==== Spam ==== | ||
| + | http:// | ||
| + | < | ||
| + | XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X | ||
| + | </ | ||
| + | |||
| + | ==== Virus ==== | ||
| + | http:// | ||
| + | < | ||
| + | X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H* | ||
| + | </ | ||
| + | |||
| + | |||
public/email_related_notes.1474524871.txt.bz2 · Last modified: (external edit)
