Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm a big fan of Gmail's addressing features (aka '+' in address like =>

Unfortunately a lot of services are too dumb to validate an email addresses correctly ( like /[a-zA-Z0-9\.\-]+@.+/ ) or are aware of this feature and forbid usage of a disposable mail address.

Since I have my own domain, I'd like to setup the smallest possible MX server (without queuing if possible) that would allow routing of my own disposable mailboxes ("created" on the fly) to my gmail account (& thus benefit from Gmail other cool features).

Eg : is to be relayed to (disposable mailbox)

or, more practical (sticky mailbox)

Do you have any ideas ?

Extra :

  1. Id like to force usage of substring in the mail adress to prevent bruteforcing ... something like throwaway1-abc@domain, throwaway2-abc@domain, ...

    1.1 (Extra Bonus super prize) use a flexible routing pattern map :

    • *-abc@domainA =>
    • *@abc.domainB =>
    • ...
  2. Server security & MX security must be ensured :

    2.1 simple & clear solution (eg. small perl / node.js script) or well established software base (Eg. postfix)

    2.2 not an open relay ...

  3. Being a computer enthusiast I'm giving a close look to theses related technologies in parallel : DNSSEC, DANE, SPF, DKIM. So it would be cool to be able / to still be able to plug them in ;)
share|improve this question
up vote 1 down vote accepted

I simply set up postfix with recipient-delimiter = -; as you noticed, many web-based services don't allow the use of + as a delimiter.

Postfix can route on the delimited address, on the localpart address, or any combination thereof.

No further configuration is necessary to use, say,, etc.

share|improve this answer
Thanks for this answer @adaptr ! Unfortunatly postfix is a monster for me (I use it often but never configured one) and, until now, I didn't found a good tutorial on how to configure it in what I would call "relay mode". From the parameter's doc I think I should go on and play with ... and learn email routing within postfix – Cerber Dec 13 '12 at 16:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.