This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
procmail [2016/05/10 08:14] – created jansen | procmail [2018/09/25 10:57] – [See also:] jansen | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Mail filtering using procmail ====== | + | ====== Mail filtering |
- | Procmail is the tool run by the mail server to deliver mail to your mailbox, or to several mailboxes of your choosing. It can be used to filter mail using all kinds of criteria (sender, subject, spam score, basically anything that is in the headers of the mail). | + | Procmail is the tool run by the mail server to deliver mail to your mailbox, or to several mailboxes of your choosing. It can be used to **filter** mail using all kinds of criteria (sender, subject, spam score, basically anything that is in the headers of the mail). |
+ | It can also be used to **forward** mail to another mail address (eg when you move to another institute, or if you'd rather read your mail of gmail). | ||
To get started, create a file called '' | To get started, create a file called '' | ||
+ | The '' | ||
+ | |||
+ | A simple mail forwarding rule (provided in a comment in the template file) will look like this: | ||
+ | |||
+ | :0 | ||
+ | ! your_address@example.com | ||
+ | |||
+ | If you decide to **forward** your mail to another mail account, please make sure the lines are in place that filter out known spam. Spam forwarded to elsewhere sometimes cause our mailserver to be blacklisted as suspected source of spam, and in such cases, we will be forced to remove your forwarding rules. | ||
Line 10: | Line 19: | ||
* man pages for procmail, procmailrc and procmailex (examples) | * man pages for procmail, procmailrc and procmailex (examples) | ||
- | * Our [[procmailrc template]] (note: version in the wiki may be outdated compared by the actuial | + | * Our [[procmailrc template]] (note: version in the wiki may be outdated compared by the actual |