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

2 questions #18

Closed
bookmark opened this issue Jun 6, 2011 · 1 comment
Closed

2 questions #18

bookmark opened this issue Jun 6, 2011 · 1 comment

Comments

@bookmark
Copy link

bookmark commented Jun 6, 2011

1- How to send email with Haraka???

2- I need write plugin read body, address in one plugin???

@baudehlo
Copy link
Collaborator

baudehlo commented Jun 7, 2011

  1. To send email you need to have a plugin which sets the "relaying" flag - currently the only one provided is the auth/flat_file plugin. And you need the deliver plugin enabled. I would also advise setting the port to 587 (the SMTP SUBMIT port).
  2. You can read the read the body in the data_post hook (have a look at the data.signatures plugin for an example), and you can read the recipients in there from connection.transaction.rcpt_to (an array).

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