I'm a big fan of Gmail's addressing features (aka '+
' in address like [email protected]
=> [email protected]
).
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 : [email protected]
is to be relayed to [email protected]
(disposable mailbox)
or, more practical [email protected]
(sticky mailbox)
Do you have any ideas ?
Extra :
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
=>[email protected]
*@abc.domainB
=>[email protected]
- ...
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 ...
- 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 ;)
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 [email protected], [email protected], etc.