mailaddrcrypt

Spam-prevention: a generator and validator for crypted email addresses

firefox screenshot  

Download

install xpi

Feedback

Documentation

NAME

mailaddrcrypt – a generator and validator for crypted email addresses

DISCLAIMER

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.

DESCRIPTION

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 better 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
SYNOPSIS
mailaddrcrypt-server [OPTIONS]
DESCRIPTION

mailaddrcrypt-server is a daemon that provides a virtual_alias_map to postfix. The given email address gets decoded/decrypted/deobfuscated, and if valid, mapped to a local account and given as response to postfix.

OPTIONS
  • -c, --config <FILE>
    Mandatory. Read config from <FILE>.
  • -p, --port <PORT>
    Listen on port <PORT>. Defaults to 2525.
  • -v, --verbose
    Be verbose. Use twice for debug output.
CONFIGURATION

####### mailaddrcrypt-server

Place a config file in /etc/mail/mailaddrcrypt-server.conf:

@yourdomain.tld {
    yourniftykey = youraccount
    anotherkey = anotheraccount
}

@anotherdomain.tld {
    yetakey = yetanaccount
}

####### Postfix

Add this to your main.cf:

 virtual_alias_maps = tcp:127.0.0.1:2525
mailaddrcrypt-cli
SYNOPSIS
mailaddrcrypt-cli [OPTIONS] [DATA]
OPTIONS
  • -k, --key <KEY>
    Mandatory. Your <KEY> (e.g. your email address or whatever).
  • -d, --decrypt
    Decrypt <DATA> instead of encrypting it.
mailaddrcrypt.xpi

This is the Firefox-extension to generate obfuscated email addresses for the current site.

Run it by right-clicking anywhere on the open tab and select generate address.

CONFIGURATION

Add your key and your desired domain to the extension's configuration dialogue.

AUTHOR

Philippe Kueck <projects at unixadm dot org>