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

Q: How to deliver to two outbound destinations? #2820

Closed
tino opened this issue Jul 12, 2020 · 1 comment
Closed

Q: How to deliver to two outbound destinations? #2820

tino opened this issue Jul 12, 2020 · 1 comment

Comments

@tino
Copy link

tino commented Jul 12, 2020

My current setup is that I deliver local lmtp to Arhiveopteryx. I would like to now also forward all mail to my new @hey.com account. I've tried this with a second plugin, like https://github.com/chadsmith/haraka-alias-forward, but I can't seem to make both work. I assume that only one of the two queue hooks should call next(OK), and the earlier one should just call next(). Is that correct?

What would be the right way to set this up?

PS. I tried asking on IRC on https://webchat.freenode.net/ but always got logged out, never saw an answer and can also not find archives anywhere...

@msimerson
Copy link
Member

I assume that only one of the two queue hooks should call next(OK), and the earlier one should just call next(). Is that correct?

Yes, that's correct.

What would be the right way to set this up?

That plugin you are using removes the primary recipient from the transaction. If you just comment out that line, I think you'll get the behavior you want (delivery to both the expected and the aliased addresses).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants