Skip to content
This repository was archived by the owner on Jun 12, 2024. It is now read-only.

TYPO3-cookbooks/site-mailrelaytypo3org

Folders and files

NameName
Last commit message
Last commit date
Feb 20, 2019
Aug 5, 2018
Aug 5, 2018
Aug 5, 2018
Feb 13, 2016
Aug 5, 2018
Aug 5, 2018
May 29, 2016
Aug 3, 2018
Apr 28, 2017
Aug 5, 2018
Aug 5, 2018

Repository files navigation

Description

Mailrelay

Accept mails from the internal network and forward them via mail.typo3.org as smarthost

Requirements

Platform:

  • debian

Cookbooks:

  • t3-base (~> 0.2.0)
  • t3-chef-vault (~> 1.0.0)
  • #Logger:0x00007fd4de443468 () (Recommended but not required)
  • #Logger:0x00007fd4de443468 () (Suggested but not required)
  • Conflicts with #Logger:0x00007fd4de443468 ()

Attributes

  • node['email_adress'] - email address for the TYPO3 cookbook maintainers. Defaults to [email protected].
  • node['postfix']['main']['inet_interfaces'] - Defaults to all.
  • node['postfix']['main']['mynetworks'] - Defaults to 10.0.0.0/8.
  • node['postfix']['main']['smtp_sasl_auth_enable'] - Defaults to yes.

Recipes

site-mailrelaytypo3org::default

The default recipe

Build Status

Build status on our CI server:

  • master (release): Build Status master branch

Setting up Secrets

Every mailrelay server needs an own mail account. Set this up in Mailcow and configure it to disable sender checks.

Storing the secret in chef-vault can be done as follows (after the host has been provisioned with t3-base):

  • Create local file containing data bag data (mailtypo3org-srvXXXtypo3org.json):
{
  "smarthosts": {
    "mail.typo3.org": {
      "username": "[email protected]",
      "password": "123456"
    }
  }
}
  • Create vault item:
$ knife vault create passwords-production mailtypo3org-srvXXXtypo3org --mode client --search 'fqdn:srvXXX.typo3.org' --json mailtypo3org-srvXXXtypo3org.json
  • Optionally: Verify that the host is really added to the vault keys:
$ knife data bag show passwords-production  mailtypo3org-srvXXXtypo3org_keys
  • Delete clear-text file, DO NOT COMMIT!

License and Maintainer

Maintainer:: TYPO3 Server Admin Team ([email protected])

License:: Apache 2.0