Skip to content
This repository has been archived by the owner on Jul 10, 2021. It is now read-only.

Add smtp in container for mail sending #2

Open
falkowich opened this issue May 19, 2019 · 4 comments
Open

Add smtp in container for mail sending #2

falkowich opened this issue May 19, 2019 · 4 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@falkowich
Copy link
Owner

Add smtpservice in image for sending alerts.
Postfix I think

@falkowich falkowich self-assigned this May 19, 2019
@samredinet
Copy link

Yes!

Required indeed. I used PostFix on my previous install before moving to this docker image.
It works great!

How are you planning to roll this out? A default setup and just let everyone edit it to their own prefs?

Sam

@falkowich
Copy link
Owner Author

How are you planning to roll this out? A default setup and just let everyone edit it to their own prefs?

I think that a postfix default container should be the way to go here.
This will perhaps be moved to gvm11-docker. (name?)

I'll working on that now for the moment.

--
Regards Falk

@samredinet
Copy link

samredinet commented Oct 31, 2019

got a few tests done, but struggling to change the default "From Address" as sendmail does username@hostname which in turns isnt a valid from address.

If I keep testing and figure it out, you interested at all in the process?
Below so far

`docker images
copy image ID
docker run -i -t "image ID" /bin/bash
apt-get update
apt-get install sendmail
apt-get install nano
nano /etc/hosts/
Edit the line below
127.0.0.1 localhost "place your dummy email domain here" 
For example gvm-docker.co.uk
nano /etc/hostname
add "your dummy email domain here"
sendmailconfig and answer Y to all


Test! echo "test message" | sendmail -v [email protected]`

@falkowich
Copy link
Owner Author

falkowich commented Nov 1, 2019

@samredinet Great work!
Hopefully I can commit some time to the 11 container this weekend.
And we can incorporate these changes into those?

If you want to I started a slack channel for the docker builds.
And there I hope that more ppl can join and help out :)

Slack invite - sadsloth

--
Regards Falk

@falkowich falkowich transferred this issue from falkowich/gvm10-docker Dec 22, 2019
@falkowich falkowich added the help wanted Extra attention is needed label Dec 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants