-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add support for smtp_forward plugin #20
Comments
Hi, You wrote a description of what that plugin does. However, I don't get what this has to do with this plugin? Is there a question in there that I've missed? |
@thenitai I haven't noticed that it saves SMTP host and credentials for further tries https://github.com/Helpmonks/haraka-plugin-mongodb/blob/master/index.js#L326-L357 :\ did I miss something? |
I also didn't find the logic that retries to send an email from mongodb. |
You are mistaken about what this plugin does. Please read the description. |
I think there is a general confusion about the terms haraka uses. For me a queue is a special storage haraka uses to store emails for further retry. Same as postfix or exim. Currently this behavior corresponds only to the local disk queue ( See similar references I found with this confusion:
@thenitai could you please explain the use case for your config? Why do you store emails in mongo if haraka doesn't process them afterwards? Do you use a separate application to access emails from mongo? |
https://haraka.github.io/plugins/queue/smtp_forward/ config allows to specify an SMTP server with credentials to forward emails to.
It can also forward emails to different SMTP servers according to the recipient/sender domains.
In case when the email cannot be delivered right away, the credentials and the backend hostname info must be stored in a queue along with the message body, so the next attempt would use the corresponding
user:pass@host:587
backend server.The text was updated successfully, but these errors were encountered: