mailaddrcrypt - a generator and validator for crypted email addresses
This is a proof of concept and is not officially considered to be running stable. Please keep in mind that I wrote this set of utilities primarily for my own setups. If you have problems running the software please write a bug report.
0.3
With mailaddrcrypt you can generate email addresses that contain a crypted message, like, where you're going to use it, a suspicious company's name etc.
The encryption (or call it obfuscation) is very very simple: the message gets XORed with your key and the result gets encoded in base32.
When queried, the server application splits the email address in it's localpart and it's domain, base32 decodes the localpart, XORes it with all keys it finds for the domain and tries to find a valid latin1 string, ending with a null byte. Then it returns the corresponding account.
mailaddrcrypt-server [OPTIONS]
-c,--config FILE
Mandatory. Read config from FILE.
-u,--user USER
Drop privileges to USER.
-p,--port PORT
Bind to port PORT.
--pidfile FILE
Save pid to FILE.
-v,--verbose
Be verbose and don't fork to background.
Place a config file in /etc/mail/mailaddrcrypt-server.conf
global {
user = nobody
pidfile = /var/run/mailaddrcrypt-server.pid
port = 2525
}
@yourdomain.tld {
yourniftykey = youraccount
anotherkey = anotheraccount
}
@anotherdomain.tld {
yetakey = yetanaccount
}
Add this to your main.cf
virtual_alias_maps = tcp:127.0.0.1:2525
mailaddrcrypt-cli [OPTIONS] [DATA]
-k,--key KEY
Mandatory. Your KEY (e.g. your email address or whatever).
-d,--decrypt
Decrypt DATA instead of encrypting it.
Run it by clicking in the toolbar button and select C
Add your key and your desired domain to the extension's configuration dialogue.