Graylog SMTP server without TLS/SSL

I want to start graylog with smtp support via docker. I do it like this:

docker run -d -p 9000:9000 -p 12201:12201 -p 12201:12201/udp \
  -e GRAYLOG_NODE_ID=My_Node_Id \
  -e GRAYLOG_SMTP_SERVER=" --no-tls --no-ssl --web-url=" \
  -v /graylog/data:/var/opt/graylog/data \
  -v /graylog/logs:/var/log/graylog graylog2/allinone

Graylog is working fine except that I can’t send an email test message (in Graylog: StreamsManage AlertsSend test alert). Doing so I get an error screen in the web interface

  • Sending emails in Symfony via a docker container mail server
  • Rethinkdb SIGTERM, shutting down
  • flannel error failed to initialize network failed to open tun device
  • Does a RHEL7 docker container need subscription?
  • How to start a docker container with docker-java library?
  • Can not scale service to multiple container when binding host port in docker-compose.yml
  • enter image description here



    from the docker configuration, I don’t get that screen. But of course now I get an error message

    An error occurred while trying to send an email! (triggered 20 hours
    ago) The Graylog server encountered an error while trying to send an
    email. This is the detailed error message:
    org.apache.commons.mail.EmailException: Sending the email to the
    following server failed :
    (javax.mail.MessagingException: Could not convert socket to TLS;
    nested exception is: P KIX path building failed: unable to
    find valid certification path to requested target)

    That error is ok as there is no tls/ssl support.

    But why do I get an error screen in the web interface with –no-tls? Any ideas how I can send mails without ssl? Am I doing something wrong with docker? Did anyone succeed in using docker, graylog and email without tls/ssl?

    In the image, one can read

    Please check that the servers shown to the right are running and

    The ip address below the upper right red bar is not reachable. I don’t even know that ip address. Where is that ip address coming from? Do I need to change it? Why is this failing only when –no-tls is activated?

    I am using the latest version one can get via docker.

    $ docker pull graylog2/allinone
    Using default tag: latest
    latest: Pulling from graylog2/allinone
    e9c5e611068d: Already exists
    c29de585b225: Already exists
    0b3e3644d782: Already exists
    a3ed95caeb02: Already exists
    f9cf24c26853: Already exists
    ff82d8c50b3d: Already exists
    4136ecd1ecd2: Already exists
    Digest: sha256:ec56d3678f072...
    Status: Image is up to date for graylog2/allinone:latest


    On the docker container site for graylog2/allinone I just read that it is deprecated and one should use graylog2/server. I’ll give it a try.

    I am lost. Thanks a lot for any hint!

  • Using Docker for local development replacing Vagrant
  • docker-compose issue with hadoop + hbase setup
  • Docker, how to deal with ssh keys, known_hosts and authorized_keys
  • Docker service failed to start application container engine on CentOS7
  • running Docker as a Conemu task
  • 502 Bad Gateway Error with Docker Swarm service
  • One Solution collect form web for “Graylog SMTP server without TLS/SSL”

    After trying to get graylog2/server up and running and failing I returned back to graylog2/allinone and finally succeeded to receive an email. It seems to be important to specify ALL needed parameters like this:

    GRAYLOG_SMTP_SERVER=" --port=25 --no-tls --no-ssl"
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.