Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wildcard forward? #13

Closed
nelfer opened this issue Oct 22, 2016 · 8 comments
Closed

Wildcard forward? #13

nelfer opened this issue Oct 22, 2016 · 8 comments
Labels

Comments

@nelfer
Copy link
Contributor

nelfer commented Oct 22, 2016

Hi,
My current DNS provider has a feature that they can forward *@mydomain.com to an email.
Is this possible with your program?
The reason why I need this is because I might give email addresses on the fly. For example, if I'm filing up a survey, I'll put something like <myname>.<surveycompany>@mydomain.com and sure enough, I'll get emails. If they spam me, then I block that email (my incoming email) and avoid any future reselling of that address.

Please let me know if this is possible, as I'm looking for a Docker solution to host my own forwarding.

Thanks!

P.S. Didn't know where else to ask this question, so I created it as an issue

@huan
Copy link
Owner

huan commented Oct 22, 2016

base on my knowledge, i believe this feature can be implement without problem, because the smf use postfix, which is very powerful for doing anything with email.

but i have no time to check the doc yet, so it will be nice to post the doc here, or send a pull request is more welcome. :)

the format should be *@domain.com, then smf will accept any username for the domaim, and then forward them as well.

@nelfer
Copy link
Contributor Author

nelfer commented Oct 23, 2016

Guess what? Your image already supports this!
Since you mention postfix, I went ahead and investigated how to do wildcard forward. Turns out that if you put simply @domain.com it automatically forwards all emails for @domain.com to the the specified address.
I tried it, and I saw that the program didn't reject it. Did a few tests to different addresses, and it works!
Thanks!

P.S. Maybe you could do some more tests so that you can officially support it in the documentation.

@huan huan added the question label Oct 23, 2016
@huan
Copy link
Owner

huan commented Oct 23, 2016

that's great!

if @domain.com is supported by postfix, then I believe the SMF scripts will has no problem with that.

could you send a pull request for the documentation? because you are using this and should know how to describe it more than me.

thanks!

@nelfer
Copy link
Contributor Author

nelfer commented Oct 27, 2016

I'm new to working with GitHub...so once I figure out how to make a pull request, I'll make it.
Thanks

@nelfer
Copy link
Contributor Author

nelfer commented Oct 27, 2016

OK I think I did it... let me know if everything is ok
Thanks!

@huan
Copy link
Owner

huan commented Oct 30, 2016

I think everything is ok, except you forgot to doc this feature: Wildcard forward :)

@nelfer
Copy link
Contributor Author

nelfer commented Oct 30, 2016

It's in the prior pull request. Documented under basic configuration, just saying "if you want all emails for a domain..."

@huan
Copy link
Owner

huan commented Oct 30, 2016

ah, got it.

then I could close this issue.

thank you!

@huan huan closed this as completed Oct 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants