modeemi:pub:mail_system
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| modeemi:pub:mail_system [2026/03/03 23:07] – [Mail client parameters] niko | modeemi:pub:mail_system [2026/04/26 16:28] (current) – [Sieve config] niko | ||
|---|---|---|---|
| Line 45: | Line 45: | ||
| + | ===== Sieve config ===== | ||
| + | If You are member of many aliases, You may like to send them to different folders in your mailbox, depending which alias mail was sent to. Sieve allow You to set up that kind of organizing mailbox - it catches the incoming messages, and depending on Your settings can put them in specific folder, or even do something else! | ||
| + | |||
| + | To configure sieve for your account, create file // | ||
| + | < | ||
| + | # My Sieve Filter | ||
| + | # List the extensions used by this script | ||
| + | require [" | ||
| + | |||
| + | # Messages bigger than 2MB will be rejected with an error message | ||
| + | if size :over 40000K { | ||
| + | reject "I am unable to accept email larger than 40MB."; | ||
| + | } elsif anyof ( | ||
| + | address :matches " | ||
| + | header :contains " | ||
| + | address :matches " | ||
| + | header :contains " | ||
| + | ) { | ||
| + | fileinto " | ||
| + | } elsif address :is [" | ||
| + | fileinto " | ||
| + | } elsif address :matches " | ||
| + | fileinto " | ||
| + | } elsif address :matches " | ||
| + | fileinto " | ||
| + | } elsif address :matches " | ||
| + | fileinto " | ||
| + | } elsif address :matches " | ||
| + | fileinto " | ||
| + | } elsif not anyof( | ||
| + | address :is " | ||
| + | address :is " | ||
| + | ) { | ||
| + | fileinto " | ||
| + | } | ||
| + | </ | ||
modeemi/pub/mail_system.1772579250.txt.gz · Last modified: by niko