New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Inbound email forwarder
I bought all these $6.80 decade-long .party registrations and I'm thinking about using them for on-demand temp. email addresses that forward to my main inbox.
Basically I want to use a random [email protected] which then forwards to [email protected]
I want to set up a catch-all for all x essentially, then I want to be able to explicitly block a specific x if need be.
Can I do this with postfix or is there something better for this? Is there a name for this kind of setup?
Comments
if you're using porkbun, you can refer here: https://blog.porkbun.com/2015/08/04/how-to-set-up-email-forwarding/
or else using postfix virtual: https://www.cyberciti.biz/faq/linux-unix-bsd-postfix-forward-email-to-another-account/
Mailcow has a catch all. Maybe block an annoying sender by adding them into /etc/fuglu/actionrules.regex?
from_domain annoyingdomain.com REJECT
It's generally called having a disposable email address. I do something similar using exim, and it's pretty easy: create a file with the mappings for the catch-alls, and then another file to map a specific address to fail when you want to reject it. No idea how postfix handles all of that.
I'd advise you to go one step further and use a disposable subdomain with those addresses. That way, you can drop the entire server associated with that "x", so the email never even reaches you in the first place.
You can easily add them to Postfix by using a virtual map.
Here's a fairly trivial way to do that with MySQL.
You can also try using mailgun's inbound email forwarding. It's free upto 10k email per month.
You can find the documentation here.
migadu.com does catchalls and forwarding for free, and you can set up regexes to handle specific address sets.