Exim/SmartCatch

From wiki
< Exim
Revision as of 21:26, 5 April 2016 by Vincent (talk | contribs) (Created page with "One great thing about having your mail server is to have an infinite number of email addresses. This is great to protect against spam. Eg. you give the address ''sitename@exam...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

One great thing about having your mail server is to have an infinite number of email addresses. This is great to protect against spam. Eg. you give the address sitename@example.com to a website. If this address starts to receive spam, you know who sold it and you can easily block it.

A common way to implement that is through a catchall address: all the emails to any address will end up in your box. The issue is that spammer are sending spam to random addresses and your smart idea to avoid spam will become an enormous spam trap.

Here we will configure addresses with embedded hash-code so only you can generate new addresses. The addresses will looks like sitename-rtx@example.com.

Generate secret

The first step is to generate some secret. This will be used both for generating your addresses and validating them.

$ </dev/urandom tr -dc A-Za-z0-9 | head -c8; echo
AwatgLfG

Validate Address

TODO

Generate Addresses

fcgiwrap
# apt install fcgiwrap
TODO