Production-ready fullstack but simple mail server (SMTP, IMAP, LDAP, Antispam, Antivirus, etc.) running inside a container.
90 matches across 8 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/config/junk-mailbox/user-patches.sh | 1 | #!/bin/bash |
| LOW | test/config/dovecot-lmtp/user-patches.sh | 21 | # unix_listener lmtp { |
| LOW | test/config/user-patches/user-patches.sh | 1 | #!/bin/bash |
| LOW | test/config/rspamd_full/user-patches.sh | 1 | #!/bin/bash |
| LOW | test/helper/log_and_filtering.bash | 1 | #!/bin/bash |
| LOW | test/helper/change-detection.bash | 1 | #!/bin/bash |
| LOW | test/helper/common.bash | 1 | #!/bin/bash |
| LOW | test/helper/common.bash | 21 | load "${REPOSITORY_ROOT}/test/helper/log_and_filtering" |
| LOW | test/helper/common.bash | 41 | # If neither an explicit non-empty argument is given nor `CONTAINER_NAME` |
| LOW | test/helper/common.bash | 101 | # Execute a command inside the container with name ${CONTAINER_NAME}. The command |
| LOW | test/helper/common.bash | 121 | |
| LOW | test/helper/sending.bash | 1 | #!/bin/bash |
| LOW | test/helper/sending.bash | 21 | # The very first parameter **may** be `--expect-rejection` - use it of you expect the mail transaction to not finish |
| LOW | test/helper/sending.bash | 101 | echo "${output}" |
| LOW | test/helper/setup.bash | 1 | #!/bin/bash |
| LOW | test/helper/setup.bash | 41 | |
| LOW | test/helper/setup.bash | 81 | # - Use `local <VARIABLE>` to override within a specific test case. |
| LOW | test/helper/setup.bash | 101 | export TEST_FILES_VOLUME="${REPOSITORY_ROOT}/test/files:${TEST_FILES_CONTAINER_PATH}:ro" |
| LOW | test/helper/tls.bash | 1 | #!/bin/bash |
| LOW | config-examples/user-patches.sh | 1 | #!/bin/bash |
| LOW | target/scripts/check-for-changes.sh | 1 | #!/bin/bash |
| LOW | target/scripts/startup/variables-stack.sh | 41 | |
| LOW | target/scripts/startup/setup.d/dovecot.sh | 21 | # https://doc.dovecot.org/2.3/settings/core/#core_setting-hostname |
| LOW | target/scripts/startup/setup.d/mail_state.sh | 121 | # NOTE: The Postfix spool location has mixed owner/groups to take into account: |
| LOW | target/scripts/helpers/relay.sh | 1 | #!/bin/bash |
| LOW | target/scripts/helpers/relay.sh | 21 | # |
| LOW | target/scripts/helpers/relay.sh | 41 | # There is a minor chance of a lookup occurring during a rebuild of these files that may affect or delay delivery? |
| LOW | target/scripts/helpers/relay.sh | 101 | 'smtp_tls_security_level = encrypt' |
| LOW | target/scripts/helpers/relay.sh | 201 | } |
| LOW | target/scripts/helpers/relay.sh | 221 | # relay-service.test relay-account:relay-pass |
| LOW | target/scripts/helpers/relay.sh | 241 | # setup /etc/postfix/relayhost_map |
| LOW | target/scripts/helpers/relay.sh | 261 | # smtp_tls_security_level = encrypt |
| LOW | target/scripts/helpers/relay.sh | 281 | |
| LOW | target/scripts/helpers/relay.sh | 301 | # https://www.mailjet.com/blog/news/which-smtp-port-mailjet/#port-465 |
| LOW | target/scripts/helpers/relay.sh | 321 | # and incorrectly describe how they deliver mail: |
| LOW | target/scripts/helpers/relay.sh | 341 | # |
| LOW | target/scripts/helpers/utils.sh | 101 | fi |
| LOW | target/scripts/helpers/utils.sh | 121 | # If you want to set a new value for `readme_directory` in Postfix's `main.cf`, |
| LOW | target/scripts/helpers/ssl.sh | 161 | local SCOPE_SSL_TYPE="TLS Setup [SSL_TYPE=${SSL_TYPE}]" |
| LOW | target/scripts/helpers/ssl.sh | 321 | fi |
| LOW | target/scripts/helpers/dns.sh | 1 | #!/bin/bash |
| LOW | target/scripts/helpers/dns.sh | 21 | # TODO: `OVERRIDE_HOSTNAME` was introduced for non-Docker runtimes that could not configure an explicit hostname. |
| LOW | target/scripts/helpers/dns.sh | 41 | # Emulates the intended behaviour of `hostname -d`: |
| LOW | target/scripts/helpers/log.sh | 21 | LCYAN=$(echo -ne '\e[1;36m') |
| LOW | target/scripts/helpers/rspamd.sh | 81 | # |
| LOW | target/scripts/helpers/postfix.sh | 1 | #!/bin/bash |
| LOW | target/scripts/helpers/postfix.sh | 81 | [[ ${ACCOUNT_PROVISIONER} == 'LDAP' ]] && echo "${DOMAINNAME}" >>"${TMP_VHOST}" |
| LOW | …get/scripts/helpers/database/manage/postfix-virtual.sh | 1 | #!/bin/bash |
| LOW | docs/content/faq.md | 421 | Edit the system cron file `nano ./docker-data/dms/cron/sa-learn`, and set an appropriate configuration: |
| LOW | …content/config/advanced/mail-forwarding/relay-hosts.md | 121 | ```cf-extra |
| LOW | …cs/content/examples/use-cases/ios-mail-push-support.md | 141 | # 2. You don't need your mailboxes to synchronize immediately since they are automatically synchronized when ope |
| LOW | .github/FUNDING.yml | 1 | github: [georglauterbach] |
| LOW | .github/workflows/docs-preview-deploy.yml | 101 | with: |
| LOW | .github/workflows/docs-preview-deploy.yml | 121 | # Disable adding a comment about successful deployment status to the PR. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | test/helper/common.bash | 16 | # This function is internal and should not be used in tests. |
| MEDIUM | test/helper/common.bash | 54 | # This function is internal and should not be used in tests. |
| MEDIUM | test/helper/setup.bash | 17 | # This function is internal and should not be used in tests. |
| MEDIUM | test/helper/setup.bash | 56 | # Create a dedicated configuration directory for a test file. |
| MEDIUM | target/scripts/startup/variables-stack.sh | 20 | # This function handles variables that are deprecated. This allows a |
| MEDIUM | target/scripts/startup/variables-stack.sh | 193 | # This function handles environment variables related to LDAP. |
| MEDIUM | target/scripts/startup/variables-stack.sh | 211 | # This function handles environment variables related to SASLAUTHD |
| MEDIUM | target/scripts/startup/setup.d/getmail.sh | 14 | # Create the directory /etc/getmailrc.d to place the user config in later. |
| MEDIUM | target/scripts/startup/setup.d/saslauthd.sh | 13 | # Create a config based on ENV |
| MEDIUM | target/scripts/startup/setup.d/fetchmail.sh | 71 | # Create a new fetchmail config for this poll entry: |
| MEDIUM | target/scripts/startup/setup.d/security/rspamd.sh | 3 | # This file is executed during startup of DMS. Hence, the `index.sh` helper has already |
| MEDIUM | target/scripts/startup/setup.d/security/rspamd.sh | 270 | # This function handles setup of the Hfilter module (see |
| MEDIUM | target/scripts/startup/setup.d/security/rspamd.sh | 296 | # This function handles setup of the neural module (see |
| MEDIUM | target/scripts/helpers/relay.sh | 125 | # Create the relayhost_map config file: |
| MEDIUM | target/scripts/helpers/log.sh | 29 | # This function provides the logging for scripts used by DMS. |
| MEDIUM | target/scripts/helpers/rspamd.sh | 20 | # Create a temporary log file (with `mktemp`) that one can filter to search |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | target/scripts/start-mailserver.sh | 10 | # ------------------------------------------------------------ |
| MEDIUM | target/scripts/start-mailserver.sh | 12 | # ------------------------------------------------------------ |
| MEDIUM | target/scripts/start-mailserver.sh | 29 | # ------------------------------------------------------------ |
| MEDIUM | target/scripts/start-mailserver.sh | 33 | # ------------------------------------------------------------ |
| MEDIUM | target/scripts/start-mailserver.sh | 163 | # ------------------------------------------------------------ |
| MEDIUM | target/scripts/start-mailserver.sh | 167 | # ------------------------------------------------------------ |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/helper/change-detection.bash | 80 | # Read file in reverse, collect lines until match with sed is found, |
| LOW | test/helper/common.bash | 383 | # Check if a container is running. |
| LOW | target/scripts/startup/setup.d/getmail.sh | 17 | # Check if custom getmailrc_general.cf file is present. |
| LOW | target/scripts/startup/setup.d/security/rspamd.sh | 279 | # Check if we received a number first |
| LOW | target/scripts/helpers/utils.sh | 155 | # Check if an environment variable's value is zero or one. This aids in checking variables |
| LOW | target/scripts/helpers/utils.sh | 178 | # Check if an environment variable's value is an integer. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | test/helper/common.bash | 27 | # test suite more robust as we can be sure that the container name is |
| MEDIUM | target/scripts/helpers/relay.sh | 117 | # By sender: `sender_dependent_default_transport_maps = texthash:/etc/postfix/sender_transport_map` (the current opt-o |
| MEDIUM | …et/scripts/helpers/database/manage/postfix-accounts.sh | 48 | # Dovecot Master account support can leverage the same management logic: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/files/emails/quota-exceeded.txt | 6 | Lorem ipsum dolor sit amet. Et quidem architecto id Quis saepe vel corporis odit aut nesciunt nisi. Et voluptatem exerci |
| LOW | test/files/emails/quota-exceeded.txt | 6 | Lorem ipsum dolor sit amet. Et quidem architecto id Quis saepe vel corporis odit aut nesciunt nisi. Et voluptatem exerci |
| LOW | docs/content/config/security/ssl.md | 454 | LETSENCRYPT_mail_EMAIL='admin@example.com' |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | config-examples/user-patches.sh | 6 | # If you modify any supervisord configuration, make sure to run |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | target/bin/acme_extract.py | 22 |