The roh dothack, not to be confused with Cyrus dothack, is a method for easily identifying spam mail, as well as making it easy to sort inbound mail.

Implementing the roh dothack is a matter of instructing your MTA to deliver all mail destined to to, regardless of the value of bar. Using rules matching the second field of the destination email address, you can filter mail into a specific IMAP folder, for instance. Or, you can delete the mail because you know it is spam. (On my MTA, mail destined to cartel.real is automatically dropped. Thanks for nothing, RealNetworks.)

In Postfix, this can be implemented using the following PCRE virtual alias map:

/(.*)\.(.*)\ $1

Of course, replace with your domain name, and repeat for any other virtual domains you may want to implement the dothack under.

If anyone bothers to implement this under a different MTA, please tell me, and I will write it up here.

Log in or register to write something here or to contact authors.