3 ms·
I was giving this some thought and my initial reaction was to suggest a Gmail account with +aliases, e.g. mythrowaway@gmail.com, and then use mythrowaway+whatev
by oarsinsync 11y ago
I was giving this some thought and my initial reaction was to suggest a Gmail account with +aliases, e.g. mythrowaway@gmail.com, and then use mythrowaway+whateveralias@gmail.com combined with a forwarding filter.
I then saw the 'own domain' requirement leading me to think Google Apps will let you do this (for money), and you could use a catch-all alias rather than having to use +subaddressing.
That said, if you want to use your own domain and host it yourself, you could easily do this on something as small as a Raspberry Pi with exim/postfix, and just update /etc/aliases as required.
example /etc/aliases file:
throwaway1: realaddyaliassecret
throwaway2: realaddyaliassecret
throwaway3: realaddyaliassecret
throwaway4: realaddyaliassecret
realaddyaliassecret: myrealaddress@yahoo.com
Note that you don't need to use a 'realaddyaliassecret', it just makes life a bit easier than having to always type in your real email address. And when you're done with a throwaway, just remove the entry from your aliases file, and messages should now bounce.
Shouldn't be particularly difficult to build a nicer front end too, cli or webbased.
EDIT: all of this now has me wondering why I haven't done this for myself already, given how simple it is. Thanks for the idea!
- jonahx 11y agoThe problem with gmail + emails is that it's well-known those are aliases, and anywhere you signup can just strip the "+xxx" part to get your permanent address.
- oarsinsync 11y agoSorry, I may not have been sufficiently clear, you'd register a new throwaway gmail address, and then create forwarding filters based on throwaway+alias. At that point, it doesn't matter if $badsite strips the +alias and learns your email is throwaway@gmail, you're not forwarding mail sent to that address anyway. Anyway, I'm probably going to register a throwaway domain to use for disposable email per my final suggestion, so thanks for the post!
- jonahx 11y agoI see. Yeah, that would work. Although the process of setting up the forwarding wouldn't be just inconvenient enough that I wouldn't use it most of the time, I think.