EXIM4 configuration for Debian Squeeze
Help fight spams by allowing user control of email validity. Basically:
email@example.com amazon is not blacklisted
firstname.lastname@example.org the expiration date is not reached
Rewrite localparts to remove chars after a '-', with additional checks:
- trailing dates in format
YYYY-MM-DDare in the past
- trailing key is not present in
Local parts that fails these conditions will be delivered to user
instead (which is unlikely to exist).
So for instance the email
email@example.com will be delivered
firstname.lastname@example.org) until the first of January 2012, while
email@example.com will get delivered (to
user-foobar is not listed in
/etc/exim4/no-locals.dbm (Note: it's
The two mechanisms can be used together, as long as the expiration date is last.
The purpose of this is to be able to forge unique email addresses that are valid up to a given point.
makewill build not-locals.dbm from not-locals.txt
make DOMAIN=your.domain.com installwill reload exim with the new configuration
make DOMAIN=your.domain.com checkwill test that the rules are in place and will show some example of what's to expect. Depending on your configuration you may want to replace the user name, though.