Automatic disposable email addresses for Google Apps

Plus Suffixing

There’s a pretty nifty feature with gmail that most people don’t know about. I’ve seen people reference it as the “plus hack” or “plus suffixing”. If you have username@gmail.com, you can add a “+” followed by any letters and numbers, and it will still be delivered to username@gmail.com.

I’ve been using this for corporate email forms — if facebook wants an email, they get matthew+facebook, for example. I can then add a precise filter on that “To:” address and delete all email from that company if it “goes evil.”

There’s a glitch in plus suffixing, though — most web forms don’t realize that the plus sign is a totally valid email character, and will reject your plus-suffixed hack.

So what to do?

Well, if you’re using gmail, you’re out of luck. But if you’re using a google apps account for a custom domain (say, your company or family), and you are an administrator for that domain, you can enable “minus suffixing”!

Router bot to the rescue

Note that you must be an administrator of your google apps account to make this work.

Log into your google apps dashboard. If you’re in your email account, there will be a “Manage this domain” link that will take you to the dashboard.

Picture 8First create a “router bot” account.

  1. Click “Users and Groups
  2. Click “Create a new user
  3. Enter “Router” for first name,
  4. “Bot” for last name
  5. “router” for the username
  6. Copy the temporary password for later
  7. Click the “create new user” button
    Picture 11

Tell “Catch-all” to use the router bot.

  1. Click “Service Settings” then “Email
  2. In the “Catch-all address” section, choose “Forward the email to:” and enter “router
  3. Click “Save changes” at the bottom of the page

Configure the router bot

  1. Log into the “router” account’s email
  2. Click “Settings
  3. Click “Filters
  4. Then for each user you want to enable routing for, do these steps:
    1. Let’s say the username is bob
    2. Click “Create a new filter
    3. For the user you want to enable routing for, enter the username (“bob”) , followed by a dash (“-”), in the “To:” column
    4. Click “next step
    5. Check “Forward it to:” and enter the user’s full email address (like “bob@domain.com”)
    6. Check “Delete it” as well.
    7. Click “Create Filter

Test it out

Sending an email to “bob-test@domain.com” should be delivered to “bob@domain.com”.

If you want “dot-suffixing” (so bob.test@domain.com would go to bob@domain.com), just add another filter to the routerbot that looks for “To: bob.” and forwards to bob.

Related posts:

  1. How to view only unread gmail conversations
    Gmail doesn’t have an obvious way to only look at conversations that are unread. If you don’t “archive” conversations out of your inbox, it can get pretty crufty. It’s easy......
  2. MobileMe Family Pack looks like an “individual” subscription
    I just signed up for MobileMe and bought the family pack — when I activated the account, though, it looked like I had an “individual” subscription, not a “family” subscription.......
  3. OpenDNS updater for linux/ubuntu
    The OpenDNS service is great — it provides anti-phishing and the ability to filter out some of the less desirable detritus from the internets. OpenDNS needs to be periodically notified......
  4. HOWTO install etherpad on ubuntu 9.10
    Etherpad was opensourced by google, and has some generic installation instructions. Here’s the translation for Ubuntu Karmic Koala (release 9.10): Install the prerequisites: sudo apt-get install mysql-server-5.1 mercurial sun-java6-jdk sun-java6-jre......

This entry was posted in Technical HOWTOs and tagged , . Bookmark the permalink.

2 Other Comments

5 Responses to Automatic disposable email addresses for Google Apps

  1. Pingback: Disposable “plus addresses” in Google Apps E-mail | The Pursuit Of A Life

  2. Helen says:

    Matthew … I followed the link in your 10/29/09 post on lifehacker. This solution for multiple addresses is BRILLIANT! Thanks very much.

  3. Josh says:

    Excellent idea and guide – great workaround for many sites not accepting “plus addressing”

    It might be a good idea to enable the “Never send to SPAM” setting when creating each filter in the router account – that way spam filtering (hopefully) will be done in the end users Gmail account, and won’t sit in the Router SPAM folder.

  4. Steven Schoch says:

    Genius! I found this page from your posting in the Google Postini services help forum on 08/29/09.

  5. x3ja says:

    Great post.

    Might be worth creating another filter to delete everything else that comes in… I get quite a few spam to random_username_guess@mydomain.com … not that you’re going to run out of Gmail storage anytime though.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Additional comments powered by BackType