Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Feature: Added a mail server for ADOP Containers SMTP #111

Closed
wants to merge 210 commits into from

Conversation

bzon
Copy link

@bzon bzon commented Jul 3, 2016

Works well with my other Pull Request "addition of groovy to configure SMTP in Jenkins" -Accenture/adop-jenkins#17

@anton-kasperovich @nickdgriffin For your review.

Based from https://hub.docker.com/r/tvial/docker-mailserver/

Pre-requisite before deploying the mail server..

  mkdir mail-config
  docker run --rm \
                     -e MAIL_USER=${INITIAL_ADMIN_USER}@${LDAP_DOMAIN} \
                     -e MAIL_PASS=${INITIAL_ADMIN_PASSWORD_PLAIN} \
                     -ti tvial/docker-mailserver:v2 \
                     /bin/sh -c 'echo "$MAIL_USER|$(doveadm pw -s SHA512-CRYPT -u $MAIL_USER -p $MAIL_PASS)"' >> mail-config/postfix-accounts.cf

  docker run --rm \
                     -v "$(pwd)/mail-config":/tmp/docker-mailserver -ti tvial/docker-mailserver:v2 generate-dkim-config

If approved, this new environment variables must be added in Jenkins container..

SMTP_USER: "${INITIAL_ADMIN_USER}@${LDAP_DOMAIN}"
SMTP_PASSWORD: "${INITIAL_ADMIN_PASSWORD_PLAIN}"
SMTP_HOST: "mail-server"
SMTP_PORT: "25"
SMTP_SYSAD_EMAIL: "jenkins@${PUBLIC_HOSTNAME}"
ADOP_SMTP_ENABLED: "true"

dharmanshu.singh and others added 25 commits May 25, 2016 10:13
Fixing bug in username checking
…e & updated travis yml to validate adop cli subcommands
…subcmd-target

Feature/adop cli subcmd target
Added version tag to sensu-uchiwa image
Updated outer-proxy image version to 0.2.0
Added direct-lvm storage driver and updated docker compose to v1.7.1
Adding environment variable required in new uchiwa version
…subcmd-extensions

Feature/adop cli subcmd extensions
ADOP CLI extension command updated.
@bzon bzon changed the title Added a mail server for ADOP Containers SMTP Feature: Added a mail server for ADOP Containers SMTP Jul 3, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.