Skip to content

Feature: SMTP configuration and environment support for ns8-webserver #7859

@stephdl

Description

@stephdl

Brief description

This feature request follows an implementation proposed in the PR NethServer/ns8-webserver#129.

  1. Why: To support smarthost configuration and allow service containers to discover SMTP settings more easily.
  2. Purpose: Improve mail delivery flexibility and security, allowing containers to read SMTP environment variables set via an environment file, and ensure the service can access new SMTP settings. Also, update the container to include OpenSSL for secure mail communication.

Proposed solution

  • Introduce a script to discover SMTP settings and create an environment file for smarthost configuration.
  • Update the container setup to include OpenSSL.
  • Ensure the service can access the new SMTP environment variables.

Alternative solutions

  • Continue manual setup of SMTP parameters inside containers instead of providing an automated/file-based approach.
  • Rely on insecure mail delivery if OpenSSL is not added.

Additional context

See also


thank to Daniel Zeman

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions