-
Notifications
You must be signed in to change notification settings - Fork 60
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
How to install it? #13
Comments
It probably needs some more documentation, but mhsendmail should be installed in the same way as MailHog, e.g. using the binary release from the releases page, or by using |
I think it's a good idea to follow this Rules |
It appears that the code has been updated more recently than the releases. Any chance of getting a new release fileset? |
This is still really unclear/difficult for someone who is not experienced in doing things like this. (like me) Installing it the same way as mailhog: brew install mhsendmail: didn't work, doesn't exist... Should really be made much easier and documented better. |
Here's an example https://gist.github.com/shakhmehedi/bbeb643079171be322eb6e9d08c7c020 On a CentOS env. install it with: yum install go
go get github.com/mailhog/mhsendmail
ln ~/go/bin/mhsendmail /usr/bin/mhsendmail
mhsendmail -h HTH |
I had to add a hyphen sudo ln -s ~/go/bin/mhsendmail /usr/bin/mhsendmail |
How to install it on Mac OS X? Installing Mailhog is okay via brew
|
not a Go user: |
comment installer mailhog et sendmail sur windows |
Ubuntu:
If you get
Test:
|
Use this to install the current HEAD state of this repository: go install github.com/mailhog/mhsendmail@9e70164f299c9e06af61402e636f5bbdf03e7dbb It includes the fix for the environment variables #25 Use this snippet to include the latest mhsendmail in your container: FROM golang:latest AS builder
WORKDIR /go/src
RUN go install github.com/mailhog/mhsendmail@9e70164f299c9e06af61402e636f5bbdf03e7dbb then, later on: COPY --from=builder /go/bin/mhsendmail /usr/bin/sendmail For me, this was the missing documentation to get |
With most of the comments from the last two years in this 5+ year old issue I wonder if it would be better to use something else. |
For me, I have to type in
And then get this output
But... it doesn't seem to put it anywhere on my system, so I'm at a loss of what to do. Any help would be appreciated! |
OK I got it, and maybe this will help other people. It doesn't put it in a
This article helped me figure it out: https://jonchristopher.us/blog/mylocaldev-part-3-mailhog-mhsendmail-os-x/ |
My notes:
|
no clue
The text was updated successfully, but these errors were encountered: