mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
4211 lines
120 KiB
HTML
4211 lines
120 KiB
HTML
|
|
<!doctype html>
|
|
<html lang="en" class="no-js">
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
|
|
<meta name="description" content="A fullstack but simple mail-server (SMTP, IMAP, LDAP, Antispam, Antivirus, etc.) using Docker.">
|
|
|
|
|
|
<meta name="author" content="docker-mailserver (Github Organization)">
|
|
|
|
|
|
<link rel="canonical" href="https://docker-mailserver.github.io/docker-mailserver/latest/config/environment/">
|
|
|
|
|
|
<link rel="prev" href="../../usage/">
|
|
|
|
|
|
<link rel="next" href="../user-management/">
|
|
|
|
<link rel="icon" href="../../assets/logo/favicon-32x32.png">
|
|
<meta name="generator" content="mkdocs-1.4.2, mkdocs-material-9.1.5">
|
|
|
|
|
|
|
|
<title>Environment Variables - Docker Mailserver</title>
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="../../assets/stylesheets/main.7a7fce14.min.css">
|
|
|
|
|
|
<link rel="stylesheet" href="../../assets/stylesheets/palette.a0c5b2b5.min.css">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback">
|
|
<style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style>
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="../../assets/css/customizations.css">
|
|
|
|
<script>__md_scope=new URL("../..",location),__md_hash=e=>[...e].reduce((e,_)=>(e<<5)-e+_.charCodeAt(0),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<body dir="ltr" data-md-color-scheme="default" data-md-color-primary="indigo" data-md-color-accent="indigo">
|
|
|
|
|
|
|
|
<script>var palette=__md_get("__palette");if(palette&&"object"==typeof palette.color)for(var key of Object.keys(palette.color))document.body.setAttribute("data-md-color-"+key,palette.color[key])</script>
|
|
|
|
<input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
|
|
<input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
|
|
<label class="md-overlay" for="__drawer"></label>
|
|
<div data-md-component="skip">
|
|
|
|
|
|
<a href="#general" class="md-skip">
|
|
Skip to content
|
|
</a>
|
|
|
|
</div>
|
|
<div data-md-component="announce">
|
|
|
|
</div>
|
|
|
|
<div data-md-color-scheme="default" data-md-component="outdated" hidden>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<header class="md-header" data-md-component="header">
|
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
|
<a href="../.." title="Docker Mailserver" class="md-header__button md-logo" aria-label="Docker Mailserver" data-md-component="logo">
|
|
|
|
<img src="../../assets/logo/dmo-logo-white.min.svg" alt="logo">
|
|
|
|
</a>
|
|
<label class="md-header__button md-icon" for="__drawer">
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3V6m0 5h18v2H3v-2m0 5h18v2H3v-2Z"/></svg>
|
|
</label>
|
|
<div class="md-header__title" data-md-component="header-title">
|
|
<div class="md-header__ellipsis">
|
|
<div class="md-header__topic">
|
|
<span class="md-ellipsis">
|
|
Docker Mailserver
|
|
</span>
|
|
</div>
|
|
<div class="md-header__topic" data-md-component="header-topic">
|
|
<span class="md-ellipsis">
|
|
|
|
Environment Variables
|
|
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<form class="md-header__option" data-md-component="palette">
|
|
|
|
|
|
<input class="md-option" data-md-color-media="(prefers-color-scheme: light)" data-md-color-scheme="default" data-md-color-primary="indigo" data-md-color-accent="indigo" aria-label="Switch to dark mode" type="radio" name="__palette" id="__palette_1">
|
|
|
|
<label class="md-header__button md-icon" title="Switch to dark mode" for="__palette_2" hidden>
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m17.75 4.09-2.53 1.94.91 3.06-2.63-1.81-2.63 1.81.91-3.06-2.53-1.94L12.44 4l1.06-3 1.06 3 3.19.09m3.5 6.91-1.64 1.25.59 1.98-1.7-1.17-1.7 1.17.59-1.98L15.75 11l2.06-.05L18.5 9l.69 1.95 2.06.05m-2.28 4.95c.83-.08 1.72 1.1 1.19 1.85-.32.45-.66.87-1.08 1.27C15.17 23 8.84 23 4.94 19.07c-3.91-3.9-3.91-10.24 0-14.14.4-.4.82-.76 1.27-1.08.75-.53 1.93.36 1.85 1.19-.27 2.86.69 5.83 2.89 8.02a9.96 9.96 0 0 0 8.02 2.89m-1.64 2.02a12.08 12.08 0 0 1-7.8-3.47c-2.17-2.19-3.33-5-3.49-7.82-2.81 3.14-2.7 7.96.31 10.98 3.02 3.01 7.84 3.12 10.98.31Z"/></svg>
|
|
</label>
|
|
|
|
|
|
|
|
<input class="md-option" data-md-color-media="(prefers-color-scheme: dark)" data-md-color-scheme="slate" data-md-color-primary="indigo" data-md-color-accent="blue" aria-label="Switch to light mode" type="radio" name="__palette" id="__palette_2">
|
|
|
|
<label class="md-header__button md-icon" title="Switch to light mode" for="__palette_1" hidden>
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 7a5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5 5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3m0-7 2.39 3.42C13.65 5.15 12.84 5 12 5c-.84 0-1.65.15-2.39.42L12 2M3.34 7l4.16-.35A7.2 7.2 0 0 0 5.94 8.5c-.44.74-.69 1.5-.83 2.29L3.34 7m.02 10 1.76-3.77a7.131 7.131 0 0 0 2.38 4.14L3.36 17M20.65 7l-1.77 3.79a7.023 7.023 0 0 0-2.38-4.15l4.15.36m-.01 10-4.14.36c.59-.51 1.12-1.14 1.54-1.86.42-.73.69-1.5.83-2.29L20.64 17M12 22l-2.41-3.44c.74.27 1.55.44 2.41.44.82 0 1.63-.17 2.37-.44L12 22Z"/></svg>
|
|
</label>
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<label class="md-header__button md-icon" for="__search">
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5Z"/></svg>
|
|
</label>
|
|
<div class="md-search" data-md-component="search" role="dialog">
|
|
<label class="md-search__overlay" for="__search"></label>
|
|
<div class="md-search__inner" role="search">
|
|
<form class="md-search__form" name="search">
|
|
<input type="text" class="md-search__input" name="query" aria-label="Search" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" required>
|
|
<label class="md-search__icon md-icon" for="__search">
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5Z"/></svg>
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12Z"/></svg>
|
|
</label>
|
|
<nav class="md-search__options" aria-label="Search">
|
|
|
|
<button type="reset" class="md-search__icon md-icon" title="Clear" aria-label="Clear" tabindex="-1">
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg>
|
|
</button>
|
|
</nav>
|
|
|
|
</form>
|
|
<div class="md-search__output">
|
|
<div class="md-search__scrollwrap" data-md-scrollfix>
|
|
<div class="md-search-result" data-md-component="search-result">
|
|
<div class="md-search-result__meta">
|
|
Initializing search
|
|
</div>
|
|
<ol class="md-search-result__list" role="presentation"></ol>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="md-header__source">
|
|
<a href="https://github.com/docker-mailserver/docker-mailserver" title="Go to repository" class="md-source" data-md-component="source">
|
|
<div class="md-source__icon md-icon">
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><!--! Font Awesome Free 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg>
|
|
</div>
|
|
<div class="md-source__repository">
|
|
docker-mailserver
|
|
</div>
|
|
</a>
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
<div class="md-container" data-md-component="container">
|
|
|
|
|
|
|
|
|
|
|
|
<nav class="md-tabs" aria-label="Tabs" data-md-component="tabs">
|
|
<div class="md-grid">
|
|
<ul class="md-tabs__list">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-tabs__item">
|
|
<a href="../.." class="md-tabs__link">
|
|
Home
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-tabs__item">
|
|
<a href="../../introduction/" class="md-tabs__link">
|
|
Introduction
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-tabs__item">
|
|
<a href="../../usage/" class="md-tabs__link">
|
|
Usage
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-tabs__item">
|
|
<a href="./" class="md-tabs__link md-tabs__link--active">
|
|
Configuration
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-tabs__item">
|
|
<a href="../../examples/tutorials/basic-installation/" class="md-tabs__link">
|
|
Examples
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-tabs__item">
|
|
<a href="../../faq/" class="md-tabs__link">
|
|
FAQ
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-tabs__item">
|
|
<a href="../../contributing/general/" class="md-tabs__link">
|
|
Contributing
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-tabs__item">
|
|
<a href="https://hub.docker.com/r/mailserver/docker-mailserver/" class="md-tabs__link">
|
|
DockerHub
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-tabs__item">
|
|
<a href="https://github.com/docker-mailserver/docker-mailserver/pkgs/container/docker-mailserver" class="md-tabs__link">
|
|
GHCR
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</div>
|
|
</nav>
|
|
|
|
|
|
|
|
<main class="md-main" data-md-component="main">
|
|
<div class="md-main__inner md-grid">
|
|
|
|
|
|
|
|
<div class="md-sidebar md-sidebar--primary" data-md-component="sidebar" data-md-type="navigation" >
|
|
<div class="md-sidebar__scrollwrap">
|
|
<div class="md-sidebar__inner">
|
|
|
|
|
|
|
|
|
|
|
|
<nav class="md-nav md-nav--primary md-nav--lifted" aria-label="Navigation" data-md-level="0">
|
|
<label class="md-nav__title" for="__drawer">
|
|
<a href="../.." title="Docker Mailserver" class="md-nav__button md-logo" aria-label="Docker Mailserver" data-md-component="logo">
|
|
|
|
<img src="../../assets/logo/dmo-logo-white.min.svg" alt="logo">
|
|
|
|
</a>
|
|
Docker Mailserver
|
|
</label>
|
|
|
|
<div class="md-nav__source">
|
|
<a href="https://github.com/docker-mailserver/docker-mailserver" title="Go to repository" class="md-source" data-md-component="source">
|
|
<div class="md-source__icon md-icon">
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><!--! Font Awesome Free 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg>
|
|
</div>
|
|
<div class="md-source__repository">
|
|
docker-mailserver
|
|
</div>
|
|
</a>
|
|
</div>
|
|
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../.." class="md-nav__link">
|
|
Home
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../../introduction/" class="md-nav__link">
|
|
Introduction
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../../usage/" class="md-nav__link">
|
|
Usage
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--active md-nav__item--nested">
|
|
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_4" checked>
|
|
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_4" id="__nav_4_label" tabindex="0">
|
|
Configuration
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_4_label" aria-expanded="true">
|
|
<label class="md-nav__title" for="__nav_4">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Configuration
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--active">
|
|
|
|
<input class="md-nav__toggle md-toggle" type="checkbox" id="__toc">
|
|
|
|
|
|
|
|
<label class="md-nav__link md-nav__link--active" for="__toc">
|
|
Environment Variables
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<a href="./" class="md-nav__link md-nav__link--active">
|
|
Environment Variables
|
|
</a>
|
|
|
|
|
|
|
|
<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
|
|
|
|
|
|
|
|
|
|
<label class="md-nav__title" for="__toc">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Table of contents
|
|
</label>
|
|
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#general" class="md-nav__link">
|
|
General
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="General">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#override_hostname" class="md-nav__link">
|
|
OVERRIDE_HOSTNAME
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#log_level" class="md-nav__link">
|
|
LOG_LEVEL
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#supervisor_loglevel" class="md-nav__link">
|
|
SUPERVISOR_LOGLEVEL
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#one_dir" class="md-nav__link">
|
|
ONE_DIR
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#account_provisioner" class="md-nav__link">
|
|
ACCOUNT_PROVISIONER
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#permit_docker" class="md-nav__link">
|
|
PERMIT_DOCKER
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#tz" class="md-nav__link">
|
|
TZ
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_amavis" class="md-nav__link">
|
|
ENABLE_AMAVIS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#amavis_loglevel" class="md-nav__link">
|
|
AMAVIS_LOGLEVEL
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_dnsbl" class="md-nav__link">
|
|
ENABLE_DNSBL
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_opendkim" class="md-nav__link">
|
|
ENABLE_OPENDKIM
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_opendmarc" class="md-nav__link">
|
|
ENABLE_OPENDMARC
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_policyd_spf" class="md-nav__link">
|
|
ENABLE_POLICYD_SPF
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_pop3" class="md-nav__link">
|
|
ENABLE_POP3
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_clamav" class="md-nav__link">
|
|
ENABLE_CLAMAV
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_fail2ban" class="md-nav__link">
|
|
ENABLE_FAIL2BAN
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#fail2ban_blocktype" class="md-nav__link">
|
|
FAIL2BAN_BLOCKTYPE
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#smtp_only" class="md-nav__link">
|
|
SMTP_ONLY
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ssl_type" class="md-nav__link">
|
|
SSL_TYPE
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#tls_level" class="md-nav__link">
|
|
TLS_LEVEL
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#spoof_protection" class="md-nav__link">
|
|
SPOOF_PROTECTION
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_srs" class="md-nav__link">
|
|
ENABLE_SRS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#network_interface" class="md-nav__link">
|
|
NETWORK_INTERFACE
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#virusmails_delete_delay" class="md-nav__link">
|
|
VIRUSMAILS_DELETE_DELAY
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#postfix_dagent" class="md-nav__link">
|
|
POSTFIX_DAGENT
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#postfix_mailbox_size_limit" class="md-nav__link">
|
|
POSTFIX_MAILBOX_SIZE_LIMIT
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_quotas" class="md-nav__link">
|
|
ENABLE_QUOTAS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#postfix_message_size_limit" class="md-nav__link">
|
|
POSTFIX_MESSAGE_SIZE_LIMIT
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#clamav_message_size_limit" class="md-nav__link">
|
|
CLAMAV_MESSAGE_SIZE_LIMIT
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_managesieve" class="md-nav__link">
|
|
ENABLE_MANAGESIEVE
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#postmaster_address" class="md-nav__link">
|
|
POSTMASTER_ADDRESS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_update_check" class="md-nav__link">
|
|
ENABLE_UPDATE_CHECK
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#update_check_interval" class="md-nav__link">
|
|
UPDATE_CHECK_INTERVAL
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#postscreen_action" class="md-nav__link">
|
|
POSTSCREEN_ACTION
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot_mailbox_format" class="md-nav__link">
|
|
DOVECOT_MAILBOX_FORMAT
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#postfix_reject_unknown_client_hostname" class="md-nav__link">
|
|
POSTFIX_REJECT_UNKNOWN_CLIENT_HOSTNAME
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#postfix_inet_protocols" class="md-nav__link">
|
|
POSTFIX_INET_PROTOCOLS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot_inet_protocols" class="md-nav__link">
|
|
DOVECOT_INET_PROTOCOLS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#move_spam_to_junk" class="md-nav__link">
|
|
MOVE_SPAM_TO_JUNK
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#rspamd" class="md-nav__link">
|
|
Rspamd
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="Rspamd">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_rspamd" class="md-nav__link">
|
|
ENABLE_RSPAMD
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_rspamd_redis" class="md-nav__link">
|
|
ENABLE_RSPAMD_REDIS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#rspamd_greylisting" class="md-nav__link">
|
|
RSPAMD_GREYLISTING
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#rspamd_learn" class="md-nav__link">
|
|
RSPAMD_LEARN
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#rspamd_hfilter" class="md-nav__link">
|
|
RSPAMD_HFILTER
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#rspamd_hfilter_hostname_unknown_score" class="md-nav__link">
|
|
RSPAMD_HFILTER_HOSTNAME_UNKNOWN_SCORE
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#reports" class="md-nav__link">
|
|
Reports
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="Reports">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#pflogsumm_trigger" class="md-nav__link">
|
|
PFLOGSUMM_TRIGGER
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#pflogsumm_recipient" class="md-nav__link">
|
|
PFLOGSUMM_RECIPIENT
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#pflogsumm_sender" class="md-nav__link">
|
|
PFLOGSUMM_SENDER
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#logwatch_interval" class="md-nav__link">
|
|
LOGWATCH_INTERVAL
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#logwatch_recipient" class="md-nav__link">
|
|
LOGWATCH_RECIPIENT
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#logwatch_sender" class="md-nav__link">
|
|
LOGWATCH_SENDER
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#report_recipient" class="md-nav__link">
|
|
REPORT_RECIPIENT
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#report_sender" class="md-nav__link">
|
|
REPORT_SENDER
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#logrotate_interval" class="md-nav__link">
|
|
LOGROTATE_INTERVAL
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#spamassassin" class="md-nav__link">
|
|
SpamAssassin
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="SpamAssassin">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_spamassassin" class="md-nav__link">
|
|
ENABLE_SPAMASSASSIN
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#spamassassin_spam_to_inbox" class="md-nav__link">
|
|
SPAMASSASSIN_SPAM_TO_INBOX
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_spamassassin_kam" class="md-nav__link">
|
|
ENABLE_SPAMASSASSIN_KAM
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#sa_tag" class="md-nav__link">
|
|
SA_TAG
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#sa_tag2" class="md-nav__link">
|
|
SA_TAG2
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#sa_kill" class="md-nav__link">
|
|
SA_KILL
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#sa_spam_subject" class="md-nav__link">
|
|
SA_SPAM_SUBJECT
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#sa_shortcircuit_bayes_spam" class="md-nav__link">
|
|
SA_SHORTCIRCUIT_BAYES_SPAM
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#sa_shortcircuit_bayes_ham" class="md-nav__link">
|
|
SA_SHORTCIRCUIT_BAYES_HAM
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#fetchmail" class="md-nav__link">
|
|
Fetchmail
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="Fetchmail">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_fetchmail" class="md-nav__link">
|
|
ENABLE_FETCHMAIL
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#fetchmail_poll" class="md-nav__link">
|
|
FETCHMAIL_POLL
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#fetchmail_parallel" class="md-nav__link">
|
|
FETCHMAIL_PARALLEL
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ldap" class="md-nav__link">
|
|
LDAP
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="LDAP">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_ldap" class="md-nav__link">
|
|
ENABLE_LDAP
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ldap_start_tls" class="md-nav__link">
|
|
LDAP_START_TLS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ldap_server_host" class="md-nav__link">
|
|
LDAP_SERVER_HOST
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ldap_search_base" class="md-nav__link">
|
|
LDAP_SEARCH_BASE
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ldap_bind_dn" class="md-nav__link">
|
|
LDAP_BIND_DN
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ldap_bind_pw" class="md-nav__link">
|
|
LDAP_BIND_PW
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ldap_query_filter_user" class="md-nav__link">
|
|
LDAP_QUERY_FILTER_USER
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ldap_query_filter_group" class="md-nav__link">
|
|
LDAP_QUERY_FILTER_GROUP
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ldap_query_filter_alias" class="md-nav__link">
|
|
LDAP_QUERY_FILTER_ALIAS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ldap_query_filter_domain" class="md-nav__link">
|
|
LDAP_QUERY_FILTER_DOMAIN
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ldap_query_filter_senders" class="md-nav__link">
|
|
LDAP_QUERY_FILTER_SENDERS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot_tls" class="md-nav__link">
|
|
DOVECOT_TLS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot" class="md-nav__link">
|
|
Dovecot
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="Dovecot">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot_base" class="md-nav__link">
|
|
DOVECOT_BASE
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot_default_pass_scheme" class="md-nav__link">
|
|
DOVECOT_DEFAULT_PASS_SCHEME
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot_dn" class="md-nav__link">
|
|
DOVECOT_DN
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot_dnpass" class="md-nav__link">
|
|
DOVECOT_DNPASS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot_uris" class="md-nav__link">
|
|
DOVECOT_URIS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot_ldap_version" class="md-nav__link">
|
|
DOVECOT_LDAP_VERSION
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot_auth_bind" class="md-nav__link">
|
|
DOVECOT_AUTH_BIND
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot_user_filter" class="md-nav__link">
|
|
DOVECOT_USER_FILTER
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot_user_attrs" class="md-nav__link">
|
|
DOVECOT_USER_ATTRS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot_pass_filter" class="md-nav__link">
|
|
DOVECOT_PASS_FILTER
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot_pass_attrs" class="md-nav__link">
|
|
DOVECOT_PASS_ATTRS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#postgrey" class="md-nav__link">
|
|
Postgrey
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="Postgrey">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_postgrey" class="md-nav__link">
|
|
ENABLE_POSTGREY
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#postgrey_delay" class="md-nav__link">
|
|
POSTGREY_DELAY
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#postgrey_max_age" class="md-nav__link">
|
|
POSTGREY_MAX_AGE
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#postgrey_auto_whitelist_clients" class="md-nav__link">
|
|
POSTGREY_AUTO_WHITELIST_CLIENTS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#postgrey_text" class="md-nav__link">
|
|
POSTGREY_TEXT
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#sasl-auth" class="md-nav__link">
|
|
SASL Auth
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="SASL Auth">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_saslauthd" class="md-nav__link">
|
|
ENABLE_SASLAUTHD
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#saslauthd_mechanisms" class="md-nav__link">
|
|
SASLAUTHD_MECHANISMS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#saslauthd_mech_options" class="md-nav__link">
|
|
SASLAUTHD_MECH_OPTIONS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#saslauthd_ldap_server" class="md-nav__link">
|
|
SASLAUTHD_LDAP_SERVER
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#saslauthd_ldap_start_tls" class="md-nav__link">
|
|
SASLAUTHD_LDAP_START_TLS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#saslauthd_ldap_tls_check_peer" class="md-nav__link">
|
|
SASLAUTHD_LDAP_TLS_CHECK_PEER
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#saslauthd_ldap_tls_cacert_dir" class="md-nav__link">
|
|
SASLAUTHD_LDAP_TLS_CACERT_DIR
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#saslauthd_ldap_tls_cacert_file" class="md-nav__link">
|
|
SASLAUTHD_LDAP_TLS_CACERT_FILE
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#saslauthd_ldap_bind_dn" class="md-nav__link">
|
|
SASLAUTHD_LDAP_BIND_DN
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#saslauthd_ldap_password" class="md-nav__link">
|
|
SASLAUTHD_LDAP_PASSWORD
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#saslauthd_ldap_search_base" class="md-nav__link">
|
|
SASLAUTHD_LDAP_SEARCH_BASE
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#saslauthd_ldap_filter" class="md-nav__link">
|
|
SASLAUTHD_LDAP_FILTER
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#saslauthd_ldap_password_attr" class="md-nav__link">
|
|
SASLAUTHD_LDAP_PASSWORD_ATTR
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#saslauthd_ldap_auth_method" class="md-nav__link">
|
|
SASLAUTHD_LDAP_AUTH_METHOD
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#saslauthd_ldap_mech" class="md-nav__link">
|
|
SASLAUTHD_LDAP_MECH
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#srs-sender-rewriting-scheme" class="md-nav__link">
|
|
SRS (Sender Rewriting Scheme)
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="SRS (Sender Rewriting Scheme)">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#srs_sender_classes" class="md-nav__link">
|
|
SRS_SENDER_CLASSES
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#srs_exclude_domains" class="md-nav__link">
|
|
SRS_EXCLUDE_DOMAINS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#srs_secret" class="md-nav__link">
|
|
SRS_SECRET
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#srs_domainname" class="md-nav__link">
|
|
SRS_DOMAINNAME
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#default-relay-host" class="md-nav__link">
|
|
Default Relay Host
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="Default Relay Host">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#default_relay_host" class="md-nav__link">
|
|
DEFAULT_RELAY_HOST
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#multi-domain-relay-hosts" class="md-nav__link">
|
|
Multi-domain Relay Hosts
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="Multi-domain Relay Hosts">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#relay_host" class="md-nav__link">
|
|
RELAY_HOST
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#relay_port" class="md-nav__link">
|
|
RELAY_PORT
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#relay_user" class="md-nav__link">
|
|
RELAY_USER
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#relay_password" class="md-nav__link">
|
|
RELAY_PASSWORD
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../user-management/" class="md-nav__link">
|
|
User Management
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_4_3" >
|
|
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_4_3" id="__nav_4_3_label" tabindex="0">
|
|
Best Practices
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_4_3_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_4_3">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Best Practices
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../best-practices/dkim_dmarc_spf/" class="md-nav__link">
|
|
DKIM, DMARC & SPF
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../best-practices/autodiscover/" class="md-nav__link">
|
|
Auto-discovery
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_4_4" >
|
|
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_4_4" id="__nav_4_4_label" tabindex="0">
|
|
Security
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_4_4_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_4_4">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Security
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../security/understanding-the-ports/" class="md-nav__link">
|
|
Understanding the Ports
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../security/ssl/" class="md-nav__link">
|
|
SSL/TLS
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../security/fail2ban/" class="md-nav__link">
|
|
Fail2Ban
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../security/mail_crypt/" class="md-nav__link">
|
|
Mail Encryption
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../security/rspamd/" class="md-nav__link">
|
|
Rspamd
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../debugging/" class="md-nav__link">
|
|
Debugging
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../pop3/" class="md-nav__link">
|
|
Mail Delivery with POP3
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../setup.sh/" class="md-nav__link">
|
|
About setup.sh
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_4_8" >
|
|
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_4_8" id="__nav_4_8_label" tabindex="0">
|
|
Advanced Configuration
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_4_8_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_4_8">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Advanced Configuration
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../advanced/optional-config/" class="md-nav__link">
|
|
Optional Configuration
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_4_8_2" >
|
|
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_4_8_2" id="__nav_4_8_2_label" tabindex="0">
|
|
Maintenance
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="3" aria-labelledby="__nav_4_8_2_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_4_8_2">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Maintenance
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../advanced/maintenance/update-and-cleanup/" class="md-nav__link">
|
|
Update and Cleanup
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_4_8_3" >
|
|
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_4_8_3" id="__nav_4_8_3_label" tabindex="0">
|
|
Override the Default Configs
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="3" aria-labelledby="__nav_4_8_3_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_4_8_3">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Override the Default Configs
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../advanced/override-defaults/dovecot/" class="md-nav__link">
|
|
Dovecot
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../advanced/override-defaults/postfix/" class="md-nav__link">
|
|
Postfix
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../advanced/override-defaults/user-patches/" class="md-nav__link">
|
|
Modifications via Script
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../advanced/auth-ldap/" class="md-nav__link">
|
|
LDAP Authentication
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../advanced/mail-sieve/" class="md-nav__link">
|
|
Email Filtering with Sieve
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../advanced/mail-fetchmail/" class="md-nav__link">
|
|
Email Gathering with Fetchmail
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_4_8_7" >
|
|
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_4_8_7" id="__nav_4_8_7_label" tabindex="0">
|
|
Email Forwarding
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="3" aria-labelledby="__nav_4_8_7_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_4_8_7">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Email Forwarding
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../advanced/mail-forwarding/relay-hosts/" class="md-nav__link">
|
|
Relay Hosts
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../advanced/mail-forwarding/aws-ses/" class="md-nav__link">
|
|
AWS SES
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../advanced/full-text-search/" class="md-nav__link">
|
|
Full-Text Search
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../advanced/kubernetes/" class="md-nav__link">
|
|
Kubernetes
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../advanced/ipv6/" class="md-nav__link">
|
|
IPv6
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../advanced/podman/" class="md-nav__link">
|
|
Podman
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../advanced/dovecot-master-accounts/" class="md-nav__link">
|
|
Dovecot Master Accounts
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_5" >
|
|
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_5" id="__nav_5_label" tabindex="0">
|
|
Examples
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_5_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_5">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Examples
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_5_1" >
|
|
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_5_1" id="__nav_5_1_label" tabindex="0">
|
|
Tutorials
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_5_1_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_5_1">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Tutorials
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../../examples/tutorials/basic-installation/" class="md-nav__link">
|
|
Basic Installation
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../../examples/tutorials/mailserver-behind-proxy/" class="md-nav__link">
|
|
Mailserver behind Proxy
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../../examples/tutorials/docker-build/" class="md-nav__link">
|
|
Building your own Docker image
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../../examples/tutorials/blog-posts/" class="md-nav__link">
|
|
Blog Posts
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_5_2" >
|
|
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_5_2" id="__nav_5_2_label" tabindex="0">
|
|
Use Cases
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_5_2_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_5_2">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Use Cases
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../../examples/use-cases/forward-only-mailserver-with-ldap-authentication/" class="md-nav__link">
|
|
Forward-Only Mail-Server with LDAP
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../../examples/use-cases/imap-folders/" class="md-nav__link">
|
|
Customize IMAP Folders
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../../faq/" class="md-nav__link">
|
|
FAQ
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_7" >
|
|
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_7" id="__nav_7_label" tabindex="0">
|
|
Contributing
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_7_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_7">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Contributing
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../../contributing/general/" class="md-nav__link">
|
|
General Information
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../../contributing/tests/" class="md-nav__link">
|
|
Tests
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../../contributing/issues-and-pull-requests/" class="md-nav__link">
|
|
Issues and Pull Requests
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="https://hub.docker.com/r/mailserver/docker-mailserver/" class="md-nav__link">
|
|
DockerHub
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="https://github.com/docker-mailserver/docker-mailserver/pkgs/container/docker-mailserver" class="md-nav__link">
|
|
GHCR
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc" >
|
|
<div class="md-sidebar__scrollwrap">
|
|
<div class="md-sidebar__inner">
|
|
|
|
|
|
<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
|
|
|
|
|
|
|
|
|
|
<label class="md-nav__title" for="__toc">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Table of contents
|
|
</label>
|
|
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#general" class="md-nav__link">
|
|
General
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="General">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#override_hostname" class="md-nav__link">
|
|
OVERRIDE_HOSTNAME
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#log_level" class="md-nav__link">
|
|
LOG_LEVEL
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#supervisor_loglevel" class="md-nav__link">
|
|
SUPERVISOR_LOGLEVEL
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#one_dir" class="md-nav__link">
|
|
ONE_DIR
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#account_provisioner" class="md-nav__link">
|
|
ACCOUNT_PROVISIONER
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#permit_docker" class="md-nav__link">
|
|
PERMIT_DOCKER
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#tz" class="md-nav__link">
|
|
TZ
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_amavis" class="md-nav__link">
|
|
ENABLE_AMAVIS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#amavis_loglevel" class="md-nav__link">
|
|
AMAVIS_LOGLEVEL
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_dnsbl" class="md-nav__link">
|
|
ENABLE_DNSBL
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_opendkim" class="md-nav__link">
|
|
ENABLE_OPENDKIM
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_opendmarc" class="md-nav__link">
|
|
ENABLE_OPENDMARC
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_policyd_spf" class="md-nav__link">
|
|
ENABLE_POLICYD_SPF
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_pop3" class="md-nav__link">
|
|
ENABLE_POP3
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_clamav" class="md-nav__link">
|
|
ENABLE_CLAMAV
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_fail2ban" class="md-nav__link">
|
|
ENABLE_FAIL2BAN
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#fail2ban_blocktype" class="md-nav__link">
|
|
FAIL2BAN_BLOCKTYPE
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#smtp_only" class="md-nav__link">
|
|
SMTP_ONLY
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ssl_type" class="md-nav__link">
|
|
SSL_TYPE
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#tls_level" class="md-nav__link">
|
|
TLS_LEVEL
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#spoof_protection" class="md-nav__link">
|
|
SPOOF_PROTECTION
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_srs" class="md-nav__link">
|
|
ENABLE_SRS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#network_interface" class="md-nav__link">
|
|
NETWORK_INTERFACE
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#virusmails_delete_delay" class="md-nav__link">
|
|
VIRUSMAILS_DELETE_DELAY
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#postfix_dagent" class="md-nav__link">
|
|
POSTFIX_DAGENT
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#postfix_mailbox_size_limit" class="md-nav__link">
|
|
POSTFIX_MAILBOX_SIZE_LIMIT
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_quotas" class="md-nav__link">
|
|
ENABLE_QUOTAS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#postfix_message_size_limit" class="md-nav__link">
|
|
POSTFIX_MESSAGE_SIZE_LIMIT
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#clamav_message_size_limit" class="md-nav__link">
|
|
CLAMAV_MESSAGE_SIZE_LIMIT
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_managesieve" class="md-nav__link">
|
|
ENABLE_MANAGESIEVE
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#postmaster_address" class="md-nav__link">
|
|
POSTMASTER_ADDRESS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_update_check" class="md-nav__link">
|
|
ENABLE_UPDATE_CHECK
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#update_check_interval" class="md-nav__link">
|
|
UPDATE_CHECK_INTERVAL
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#postscreen_action" class="md-nav__link">
|
|
POSTSCREEN_ACTION
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot_mailbox_format" class="md-nav__link">
|
|
DOVECOT_MAILBOX_FORMAT
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#postfix_reject_unknown_client_hostname" class="md-nav__link">
|
|
POSTFIX_REJECT_UNKNOWN_CLIENT_HOSTNAME
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#postfix_inet_protocols" class="md-nav__link">
|
|
POSTFIX_INET_PROTOCOLS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot_inet_protocols" class="md-nav__link">
|
|
DOVECOT_INET_PROTOCOLS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#move_spam_to_junk" class="md-nav__link">
|
|
MOVE_SPAM_TO_JUNK
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#rspamd" class="md-nav__link">
|
|
Rspamd
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="Rspamd">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_rspamd" class="md-nav__link">
|
|
ENABLE_RSPAMD
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_rspamd_redis" class="md-nav__link">
|
|
ENABLE_RSPAMD_REDIS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#rspamd_greylisting" class="md-nav__link">
|
|
RSPAMD_GREYLISTING
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#rspamd_learn" class="md-nav__link">
|
|
RSPAMD_LEARN
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#rspamd_hfilter" class="md-nav__link">
|
|
RSPAMD_HFILTER
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#rspamd_hfilter_hostname_unknown_score" class="md-nav__link">
|
|
RSPAMD_HFILTER_HOSTNAME_UNKNOWN_SCORE
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#reports" class="md-nav__link">
|
|
Reports
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="Reports">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#pflogsumm_trigger" class="md-nav__link">
|
|
PFLOGSUMM_TRIGGER
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#pflogsumm_recipient" class="md-nav__link">
|
|
PFLOGSUMM_RECIPIENT
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#pflogsumm_sender" class="md-nav__link">
|
|
PFLOGSUMM_SENDER
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#logwatch_interval" class="md-nav__link">
|
|
LOGWATCH_INTERVAL
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#logwatch_recipient" class="md-nav__link">
|
|
LOGWATCH_RECIPIENT
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#logwatch_sender" class="md-nav__link">
|
|
LOGWATCH_SENDER
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#report_recipient" class="md-nav__link">
|
|
REPORT_RECIPIENT
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#report_sender" class="md-nav__link">
|
|
REPORT_SENDER
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#logrotate_interval" class="md-nav__link">
|
|
LOGROTATE_INTERVAL
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#spamassassin" class="md-nav__link">
|
|
SpamAssassin
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="SpamAssassin">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_spamassassin" class="md-nav__link">
|
|
ENABLE_SPAMASSASSIN
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#spamassassin_spam_to_inbox" class="md-nav__link">
|
|
SPAMASSASSIN_SPAM_TO_INBOX
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_spamassassin_kam" class="md-nav__link">
|
|
ENABLE_SPAMASSASSIN_KAM
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#sa_tag" class="md-nav__link">
|
|
SA_TAG
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#sa_tag2" class="md-nav__link">
|
|
SA_TAG2
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#sa_kill" class="md-nav__link">
|
|
SA_KILL
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#sa_spam_subject" class="md-nav__link">
|
|
SA_SPAM_SUBJECT
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#sa_shortcircuit_bayes_spam" class="md-nav__link">
|
|
SA_SHORTCIRCUIT_BAYES_SPAM
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#sa_shortcircuit_bayes_ham" class="md-nav__link">
|
|
SA_SHORTCIRCUIT_BAYES_HAM
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#fetchmail" class="md-nav__link">
|
|
Fetchmail
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="Fetchmail">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_fetchmail" class="md-nav__link">
|
|
ENABLE_FETCHMAIL
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#fetchmail_poll" class="md-nav__link">
|
|
FETCHMAIL_POLL
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#fetchmail_parallel" class="md-nav__link">
|
|
FETCHMAIL_PARALLEL
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ldap" class="md-nav__link">
|
|
LDAP
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="LDAP">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_ldap" class="md-nav__link">
|
|
ENABLE_LDAP
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ldap_start_tls" class="md-nav__link">
|
|
LDAP_START_TLS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ldap_server_host" class="md-nav__link">
|
|
LDAP_SERVER_HOST
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ldap_search_base" class="md-nav__link">
|
|
LDAP_SEARCH_BASE
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ldap_bind_dn" class="md-nav__link">
|
|
LDAP_BIND_DN
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ldap_bind_pw" class="md-nav__link">
|
|
LDAP_BIND_PW
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ldap_query_filter_user" class="md-nav__link">
|
|
LDAP_QUERY_FILTER_USER
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ldap_query_filter_group" class="md-nav__link">
|
|
LDAP_QUERY_FILTER_GROUP
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ldap_query_filter_alias" class="md-nav__link">
|
|
LDAP_QUERY_FILTER_ALIAS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ldap_query_filter_domain" class="md-nav__link">
|
|
LDAP_QUERY_FILTER_DOMAIN
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ldap_query_filter_senders" class="md-nav__link">
|
|
LDAP_QUERY_FILTER_SENDERS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot_tls" class="md-nav__link">
|
|
DOVECOT_TLS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot" class="md-nav__link">
|
|
Dovecot
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="Dovecot">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot_base" class="md-nav__link">
|
|
DOVECOT_BASE
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot_default_pass_scheme" class="md-nav__link">
|
|
DOVECOT_DEFAULT_PASS_SCHEME
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot_dn" class="md-nav__link">
|
|
DOVECOT_DN
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot_dnpass" class="md-nav__link">
|
|
DOVECOT_DNPASS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot_uris" class="md-nav__link">
|
|
DOVECOT_URIS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot_ldap_version" class="md-nav__link">
|
|
DOVECOT_LDAP_VERSION
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot_auth_bind" class="md-nav__link">
|
|
DOVECOT_AUTH_BIND
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot_user_filter" class="md-nav__link">
|
|
DOVECOT_USER_FILTER
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot_user_attrs" class="md-nav__link">
|
|
DOVECOT_USER_ATTRS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot_pass_filter" class="md-nav__link">
|
|
DOVECOT_PASS_FILTER
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dovecot_pass_attrs" class="md-nav__link">
|
|
DOVECOT_PASS_ATTRS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#postgrey" class="md-nav__link">
|
|
Postgrey
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="Postgrey">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_postgrey" class="md-nav__link">
|
|
ENABLE_POSTGREY
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#postgrey_delay" class="md-nav__link">
|
|
POSTGREY_DELAY
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#postgrey_max_age" class="md-nav__link">
|
|
POSTGREY_MAX_AGE
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#postgrey_auto_whitelist_clients" class="md-nav__link">
|
|
POSTGREY_AUTO_WHITELIST_CLIENTS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#postgrey_text" class="md-nav__link">
|
|
POSTGREY_TEXT
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#sasl-auth" class="md-nav__link">
|
|
SASL Auth
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="SASL Auth">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#enable_saslauthd" class="md-nav__link">
|
|
ENABLE_SASLAUTHD
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#saslauthd_mechanisms" class="md-nav__link">
|
|
SASLAUTHD_MECHANISMS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#saslauthd_mech_options" class="md-nav__link">
|
|
SASLAUTHD_MECH_OPTIONS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#saslauthd_ldap_server" class="md-nav__link">
|
|
SASLAUTHD_LDAP_SERVER
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#saslauthd_ldap_start_tls" class="md-nav__link">
|
|
SASLAUTHD_LDAP_START_TLS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#saslauthd_ldap_tls_check_peer" class="md-nav__link">
|
|
SASLAUTHD_LDAP_TLS_CHECK_PEER
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#saslauthd_ldap_tls_cacert_dir" class="md-nav__link">
|
|
SASLAUTHD_LDAP_TLS_CACERT_DIR
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#saslauthd_ldap_tls_cacert_file" class="md-nav__link">
|
|
SASLAUTHD_LDAP_TLS_CACERT_FILE
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#saslauthd_ldap_bind_dn" class="md-nav__link">
|
|
SASLAUTHD_LDAP_BIND_DN
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#saslauthd_ldap_password" class="md-nav__link">
|
|
SASLAUTHD_LDAP_PASSWORD
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#saslauthd_ldap_search_base" class="md-nav__link">
|
|
SASLAUTHD_LDAP_SEARCH_BASE
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#saslauthd_ldap_filter" class="md-nav__link">
|
|
SASLAUTHD_LDAP_FILTER
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#saslauthd_ldap_password_attr" class="md-nav__link">
|
|
SASLAUTHD_LDAP_PASSWORD_ATTR
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#saslauthd_ldap_auth_method" class="md-nav__link">
|
|
SASLAUTHD_LDAP_AUTH_METHOD
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#saslauthd_ldap_mech" class="md-nav__link">
|
|
SASLAUTHD_LDAP_MECH
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#srs-sender-rewriting-scheme" class="md-nav__link">
|
|
SRS (Sender Rewriting Scheme)
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="SRS (Sender Rewriting Scheme)">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#srs_sender_classes" class="md-nav__link">
|
|
SRS_SENDER_CLASSES
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#srs_exclude_domains" class="md-nav__link">
|
|
SRS_EXCLUDE_DOMAINS
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#srs_secret" class="md-nav__link">
|
|
SRS_SECRET
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#srs_domainname" class="md-nav__link">
|
|
SRS_DOMAINNAME
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#default-relay-host" class="md-nav__link">
|
|
Default Relay Host
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="Default Relay Host">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#default_relay_host" class="md-nav__link">
|
|
DEFAULT_RELAY_HOST
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#multi-domain-relay-hosts" class="md-nav__link">
|
|
Multi-domain Relay Hosts
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="Multi-domain Relay Hosts">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#relay_host" class="md-nav__link">
|
|
RELAY_HOST
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#relay_port" class="md-nav__link">
|
|
RELAY_PORT
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#relay_user" class="md-nav__link">
|
|
RELAY_USER
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#relay_password" class="md-nav__link">
|
|
RELAY_PASSWORD
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="md-content" data-md-component="content">
|
|
<article class="md-content__inner md-typeset">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h1>Environment Variables</h1>
|
|
|
|
<div class="admonition info">
|
|
<p class="admonition-title">Info</p>
|
|
<p>Values in <strong>bold</strong> are the default values. If an option doesn't work as documented here, check if you are running the latest image. The current <code>master</code> branch corresponds to the image <code>ghcr.io/docker-mailserver/docker-mailserver:edge</code>.</p>
|
|
</div>
|
|
<h4 id="general"><a class="toclink" href="#general">General</a></h4>
|
|
<h5 id="override_hostname"><a class="toclink" href="#override_hostname">OVERRIDE_HOSTNAME</a></h5>
|
|
<p>If you can't set your hostname (<em>eg: you're in a container platform that doesn't let you</em>) specify it via this environment variable. It will have priority over <code>docker run --hostname</code>, or the equivalent <code>hostname:</code> field in <code>docker-compose.yml</code>.</p>
|
|
<ul>
|
|
<li><strong>empty</strong> => Uses the <code>hostname -f</code> command to get canonical hostname for DMS to use.</li>
|
|
<li>=> Specify an FQDN (fully-qualified domain name) to serve mail for. The hostname is required for DMS to function correctly.</li>
|
|
</ul>
|
|
<h5 id="log_level"><a class="toclink" href="#log_level">LOG_LEVEL</a></h5>
|
|
<p>Set the log level for DMS. This is mostly relevant for container startup scripts and change detection event feedback.</p>
|
|
<p>Valid values (in order of increasing verbosity) are: <code>error</code>, <code>warn</code>, <code>info</code>, <code>debug</code> and <code>trace</code>. The default log level is <code>info</code>.</p>
|
|
<h5 id="supervisor_loglevel"><a class="toclink" href="#supervisor_loglevel">SUPERVISOR_LOGLEVEL</a></h5>
|
|
<p>Here you can adjust the <a href="http://supervisord.org/logging.html#activity-log-levels">log-level for Supervisor</a>. Possible values are</p>
|
|
<ul>
|
|
<li>critical => Only show critical messages</li>
|
|
<li>error => Only show erroneous output</li>
|
|
<li><strong>warn</strong> => Show warnings</li>
|
|
<li>info => Normal informational output</li>
|
|
<li>debug => Also show debug messages</li>
|
|
</ul>
|
|
<p>The log-level will show everything in its class and above.</p>
|
|
<h5 id="one_dir"><a class="toclink" href="#one_dir">ONE_DIR</a></h5>
|
|
<ul>
|
|
<li>0 => state in default directories.</li>
|
|
<li><strong>1</strong> => consolidate all states into a single directory (<code>/var/mail-state</code>) to allow persistence using docker volumes. See the <a href="../../faq/#what-about-docker-datadmsmail-state-folder-varmail-state-internally">related FAQ entry</a> for more information.</li>
|
|
</ul>
|
|
<h5 id="account_provisioner"><a class="toclink" href="#account_provisioner">ACCOUNT_PROVISIONER</a></h5>
|
|
<p>Configures the provisioning source of user accounts (including aliases) for user queries and authentication by services managed by DMS (<em>Postfix and Dovecot</em>).</p>
|
|
<p>User provisioning via OIDC is planned for the future, see <a href="https://github.com/docker-mailserver/docker-mailserver/issues/2713">this tracking issue</a>.</p>
|
|
<ul>
|
|
<li><strong>empty</strong> => use FILE</li>
|
|
<li>LDAP => use LDAP authentication</li>
|
|
<li>OIDC => use OIDC authentication (<strong>not yet implemented</strong>)</li>
|
|
<li>FILE => use local files (this is used as the default)</li>
|
|
</ul>
|
|
<p>A second container for the ldap service is necessary (e.g. <a href="https://github.com/osixia/docker-openldap">docker-openldap</a>)</p>
|
|
<h5 id="permit_docker"><a class="toclink" href="#permit_docker">PERMIT_DOCKER</a></h5>
|
|
<p>Set different options for mynetworks option (can be overwrite in postfix-main.cf) <strong>WARNING</strong>: Adding the docker network's gateway to the list of trusted hosts, e.g. using the <code>network</code> or <code>connected-networks</code> option, can create an <a href="https://en.wikipedia.org/wiki/Open_mail_relay"><strong>open relay</strong></a>, for instance if IPv6 is enabled on the host machine but not in Docker.</p>
|
|
<ul>
|
|
<li><strong>none</strong> => Explicitly force authentication</li>
|
|
<li>container => Container IP address only.</li>
|
|
<li>host => Add docker host (ipv4 only).</li>
|
|
<li>network => Add the docker default bridge network (172.16.0.0/12); <strong>WARNING</strong>: <code>docker-compose</code> might use others (e.g. 192.168.0.0/16) use <code>PERMIT_DOCKER=connected-networks</code> in this case.</li>
|
|
<li>connected-networks => Add all connected docker networks (ipv4 only).</li>
|
|
</ul>
|
|
<p>Note: you probably want to <a href="#postfix_inet_protocols">set <code>POSTFIX_INET_PROTOCOLS=ipv4</code></a> to make it work fine with Docker.</p>
|
|
<h5 id="tz"><a class="toclink" href="#tz">TZ</a></h5>
|
|
<p>Set the timezone. If this variable is unset, the container runtime will try to detect the time using <code>/etc/localtime</code>, which you can alternatively mount into the container. The value of this variable must follow the pattern <code>AREA/ZONE</code>, i.e. of you want to use Germany's time zone, use <code>Europe/Berlin</code>. You can lookup all available timezones <a href="https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List">here</a>.</p>
|
|
<h5 id="enable_amavis"><a class="toclink" href="#enable_amavis">ENABLE_AMAVIS</a></h5>
|
|
<p>Amavis content filter (used for ClamAV & SpamAssassin)</p>
|
|
<ul>
|
|
<li>0 => Amavis is disabled</li>
|
|
<li><strong>1</strong> => Amavis is enabled</li>
|
|
</ul>
|
|
<h5 id="amavis_loglevel"><a class="toclink" href="#amavis_loglevel">AMAVIS_LOGLEVEL</a></h5>
|
|
<p><a href="https://lists.amavis.org/pipermail/amavis-users/2011-March/000158.html">This page</a> provides information on Amavis' logging statistics.</p>
|
|
<ul>
|
|
<li>-1/-2/-3 => Only show errors</li>
|
|
<li><strong>0</strong> => Show warnings</li>
|
|
<li>1/2 => Show default informational output</li>
|
|
<li>3/4/5 => log debug information (very verbose)</li>
|
|
</ul>
|
|
<h5 id="enable_dnsbl"><a class="toclink" href="#enable_dnsbl">ENABLE_DNSBL</a></h5>
|
|
<p>This enables DNS block lists in <em>Postscreen</em>. If you want to know which lists we are using, have a look at <a href="https://github.com/docker-mailserver/docker-mailserver/blob/master/target/postfix/main.cf">the default <code>main.cf</code> for Postfix we provide</a> and search for <code>postscreen_dnsbl_sites</code>.</p>
|
|
<div class="admonition danger">
|
|
<p class="admonition-title">A Warning On DNS Block Lists</p>
|
|
<p>Make sure your DNS queries are properly resolved, i.e. you will most likely not want to use a public DNS resolver as these queries do not return meaningful results. We try our best to only evaluate proper return codes - this is not a guarantee that all codes are handled fine though.</p>
|
|
<p><strong>Note that emails will be rejected if they don't pass the block list checks!</strong></p>
|
|
</div>
|
|
<ul>
|
|
<li><strong>0</strong> => DNS block lists are disabled</li>
|
|
<li>1 => DNS block lists are enabled</li>
|
|
</ul>
|
|
<h5 id="enable_opendkim"><a class="toclink" href="#enable_opendkim">ENABLE_OPENDKIM</a></h5>
|
|
<p>Enables the OpenDKIM service.</p>
|
|
<ul>
|
|
<li><strong>1</strong> => Enabled</li>
|
|
<li>0 => Disabled</li>
|
|
</ul>
|
|
<h5 id="enable_opendmarc"><a class="toclink" href="#enable_opendmarc">ENABLE_OPENDMARC</a></h5>
|
|
<p>Enables the OpenDMARC service.</p>
|
|
<ul>
|
|
<li><strong>1</strong> => Enabled</li>
|
|
<li>0 => Disabled</li>
|
|
</ul>
|
|
<h5 id="enable_policyd_spf"><a class="toclink" href="#enable_policyd_spf">ENABLE_POLICYD_SPF</a></h5>
|
|
<p>Enabled <code>policyd-spf</code> in Postfix's configuration. You will likely want to set this to <code>0</code> in case you're using Rspamd (<a href="#enable_rspamd"><code>ENABLE_RSPAMD=1</code></a>).</p>
|
|
<ul>
|
|
<li>0 => Disabled</li>
|
|
<li><strong>1</strong> => Enabled</li>
|
|
</ul>
|
|
<h5 id="enable_pop3"><a class="toclink" href="#enable_pop3">ENABLE_POP3</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => POP3 service disabled</li>
|
|
<li>1 => Enables POP3 service</li>
|
|
</ul>
|
|
<h5 id="enable_clamav"><a class="toclink" href="#enable_clamav">ENABLE_CLAMAV</a></h5>
|
|
<ul>
|
|
<li><strong>0</strong> => ClamAV is disabled</li>
|
|
<li>1 => ClamAV is enabled</li>
|
|
</ul>
|
|
<h5 id="enable_fail2ban"><a class="toclink" href="#enable_fail2ban">ENABLE_FAIL2BAN</a></h5>
|
|
<ul>
|
|
<li><strong>0</strong> => fail2ban service disabled</li>
|
|
<li>1 => Enables fail2ban service</li>
|
|
</ul>
|
|
<p>If you enable Fail2Ban, don't forget to add the following lines to your <code>docker-compose.yml</code>:</p>
|
|
<div class="highlight"><pre><span></span><code>cap_add:
|
|
<span class="w"> </span>-<span class="w"> </span>NET_ADMIN
|
|
</code></pre></div>
|
|
<p>Otherwise, <code>nftables</code> won't be able to ban IPs.</p>
|
|
<h5 id="fail2ban_blocktype"><a class="toclink" href="#fail2ban_blocktype">FAIL2BAN_BLOCKTYPE</a></h5>
|
|
<ul>
|
|
<li><strong>drop</strong> => drop packet (send NO reply)</li>
|
|
<li>reject => reject packet (send ICMP unreachable)
|
|
FAIL2BAN_BLOCKTYPE=drop</li>
|
|
</ul>
|
|
<h5 id="smtp_only"><a class="toclink" href="#smtp_only">SMTP_ONLY</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => all daemons start</li>
|
|
<li>1 => only launch postfix smtp</li>
|
|
</ul>
|
|
<h5 id="ssl_type"><a class="toclink" href="#ssl_type">SSL_TYPE</a></h5>
|
|
<p>In the majority of cases, you want <code>letsencrypt</code> or <code>manual</code>.</p>
|
|
<p><code>self-signed</code> can be used for testing SSL until you provide a valid certificate, note that third-parties cannot trust <code>self-signed</code> certificates, do not use this type in production. <code>custom</code> is a temporary workaround that is not officially supported.</p>
|
|
<ul>
|
|
<li><strong>empty</strong> => SSL disabled.</li>
|
|
<li>letsencrypt => Support for using certificates with <em>Let's Encrypt</em> provisioners. (Docs: <a href="../security/ssl/#lets-encrypt-recommended"><em>Let's Encrypt</em> Setup</a>)</li>
|
|
<li>manual => Provide your own certificate via separate key and cert files. (Docs: <a href="../security/ssl/#bring-your-own-certificates">Bring Your Own Certificates</a>)<ul>
|
|
<li>Requires: <code>SSL_CERT_PATH</code> and <code>SSL_KEY_PATH</code> ENV vars to be set to the location of the files within the container.</li>
|
|
<li>Optional: <code>SSL_ALT_CERT_PATH</code> and <code>SSL_ALT_KEY_PATH</code> allow providing a 2nd certificate as a fallback for dual (aka hybrid) certificate support. Useful for ECDSA with an RSA fallback. <em>Presently only <code>manual</code> mode supports this feature</em>.</li>
|
|
</ul>
|
|
</li>
|
|
<li>custom => Provide your own certificate as a single file containing both the private key and full certificate chain. (Docs: <code>None</code>)</li>
|
|
<li>self-signed => Provide your own self-signed certificate files. Expects a self-signed CA cert for verification. <strong>Use only for local testing of your setup</strong>. (Docs: <a href="../security/ssl/#self-signed-certificates">Self-Signed Certificates</a>)</li>
|
|
</ul>
|
|
<p>Please read <a href="../security/ssl/">the SSL page in the documentation</a> for more information.</p>
|
|
<h5 id="tls_level"><a class="toclink" href="#tls_level">TLS_LEVEL</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => modern</li>
|
|
<li>modern => Enables TLSv1.2 and modern ciphers only. (default)</li>
|
|
<li>intermediate => Enables TLSv1, TLSv1.1 and TLSv1.2 and broad compatibility ciphers.</li>
|
|
</ul>
|
|
<h5 id="spoof_protection"><a class="toclink" href="#spoof_protection">SPOOF_PROTECTION</a></h5>
|
|
<p>Configures the handling of creating mails with forged sender addresses.</p>
|
|
<ul>
|
|
<li><strong>0</strong> => (not recommended) Mail address spoofing allowed. Any logged in user may create email messages with a <a href="https://en.wikipedia.org/wiki/Email_spoofing">forged sender address</a>.</li>
|
|
<li>1 => Mail spoofing denied. Each user may only send with his own or his alias addresses. Addresses with <a href="http://www.postfix.org/postconf.5.html#recipient_delimiter">extension delimiters</a> are not able to send messages.</li>
|
|
</ul>
|
|
<h5 id="enable_srs"><a class="toclink" href="#enable_srs">ENABLE_SRS</a></h5>
|
|
<p>Enables the Sender Rewriting Scheme. SRS is needed if DMS acts as forwarder. See <a href="https://github.com/roehling/postsrsd/blob/master/README.md#sender-rewriting-scheme-crash-course">postsrsd</a> for further explanation.</p>
|
|
<ul>
|
|
<li><strong>0</strong> => Disabled</li>
|
|
<li>1 => Enabled</li>
|
|
</ul>
|
|
<h5 id="network_interface"><a class="toclink" href="#network_interface">NETWORK_INTERFACE</a></h5>
|
|
<p>In case your network interface differs from <code>eth0</code>, e.g. when you are using HostNetworking in Kubernetes, you can set this to whatever interface you want. This interface will then be used.</p>
|
|
<ul>
|
|
<li><strong>empty</strong> => <code>eth0</code></li>
|
|
</ul>
|
|
<h5 id="virusmails_delete_delay"><a class="toclink" href="#virusmails_delete_delay">VIRUSMAILS_DELETE_DELAY</a></h5>
|
|
<p>Set how many days a virusmail will stay on the server before being deleted</p>
|
|
<ul>
|
|
<li><strong>empty</strong> => 7 days</li>
|
|
</ul>
|
|
<h5 id="postfix_dagent"><a class="toclink" href="#postfix_dagent">POSTFIX_DAGENT</a></h5>
|
|
<p>Configure Postfix <code>virtual_transport</code> to deliver mail to a different LMTP client (<em>default is a unix socket to dovecot</em>).</p>
|
|
<p>Provide any valid URI. Examples:</p>
|
|
<ul>
|
|
<li><strong>empty</strong> => <code>lmtp:unix:/var/run/dovecot/lmtp</code> (default, configured in Postfix <code>main.cf</code>)</li>
|
|
<li><code>lmtp:unix:private/dovecot-lmtp</code> (use socket)</li>
|
|
<li><code>lmtps:inet:<host>:<port></code> (secure lmtp with starttls)</li>
|
|
<li><code>lmtp:<kopano-host>:2003</code> (use kopano as mailstore)</li>
|
|
</ul>
|
|
<h5 id="postfix_mailbox_size_limit"><a class="toclink" href="#postfix_mailbox_size_limit">POSTFIX_MAILBOX_SIZE_LIMIT</a></h5>
|
|
<p>Set the mailbox size limit for all users. If set to zero, the size will be unlimited (default).</p>
|
|
<ul>
|
|
<li><strong>empty</strong> => 0 (no limit)</li>
|
|
</ul>
|
|
<h5 id="enable_quotas"><a class="toclink" href="#enable_quotas">ENABLE_QUOTAS</a></h5>
|
|
<ul>
|
|
<li><strong>1</strong> => Dovecot quota is enabled</li>
|
|
<li>0 => Dovecot quota is disabled</li>
|
|
</ul>
|
|
<p>See <a href="../user-management/#quotas">mailbox quota</a>.</p>
|
|
<h5 id="postfix_message_size_limit"><a class="toclink" href="#postfix_message_size_limit">POSTFIX_MESSAGE_SIZE_LIMIT</a></h5>
|
|
<p>Set the message size limit for all users. If set to zero, the size will be unlimited (not recommended!)</p>
|
|
<ul>
|
|
<li><strong>empty</strong> => 10240000 (~10 MB)</li>
|
|
</ul>
|
|
<h5 id="clamav_message_size_limit"><a class="toclink" href="#clamav_message_size_limit">CLAMAV_MESSAGE_SIZE_LIMIT</a></h5>
|
|
<p>Mails larger than this limit won't be scanned.
|
|
ClamAV must be enabled (ENABLE_CLAMAV=1) for this.</p>
|
|
<ul>
|
|
<li><strong>empty</strong> => 25M (25 MB)</li>
|
|
</ul>
|
|
<h5 id="enable_managesieve"><a class="toclink" href="#enable_managesieve">ENABLE_MANAGESIEVE</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => Managesieve service disabled</li>
|
|
<li>1 => Enables Managesieve on port 4190</li>
|
|
</ul>
|
|
<h5 id="postmaster_address"><a class="toclink" href="#postmaster_address">POSTMASTER_ADDRESS</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => <a href="mailto:postmaster@example.com">postmaster@example.com</a></li>
|
|
<li>=> Specify the postmaster address</li>
|
|
</ul>
|
|
<h5 id="enable_update_check"><a class="toclink" href="#enable_update_check">ENABLE_UPDATE_CHECK</a></h5>
|
|
<p>Check for updates on container start and then once a day. If an update is available, a mail is send to POSTMASTER_ADDRESS.</p>
|
|
<ul>
|
|
<li>0 => Update check disabled</li>
|
|
<li><strong>1</strong> => Update check enabled</li>
|
|
</ul>
|
|
<h5 id="update_check_interval"><a class="toclink" href="#update_check_interval">UPDATE_CHECK_INTERVAL</a></h5>
|
|
<p>Customize the update check interval. Number + Suffix. Suffix must be 's' for seconds, 'm' for minutes, 'h' for hours or 'd' for days.</p>
|
|
<ul>
|
|
<li><strong>1d</strong> => Check for updates once a day</li>
|
|
</ul>
|
|
<h5 id="postscreen_action"><a class="toclink" href="#postscreen_action">POSTSCREEN_ACTION</a></h5>
|
|
<ul>
|
|
<li><strong>enforce</strong> => Allow other tests to complete. Reject attempts to deliver mail with a 550 SMTP reply, and log the helo/sender/recipient information. Repeat this test the next time the client connects.</li>
|
|
<li>drop => Drop the connection immediately with a 521 SMTP reply. Repeat this test the next time the client connects.</li>
|
|
<li>ignore => Ignore the failure of this test. Allow other tests to complete. Repeat this test the next time the client connects. This option is useful for testing and collecting statistics without blocking mail.</li>
|
|
</ul>
|
|
<h5 id="dovecot_mailbox_format"><a class="toclink" href="#dovecot_mailbox_format">DOVECOT_MAILBOX_FORMAT</a></h5>
|
|
<ul>
|
|
<li><strong>maildir</strong> => uses very common Maildir format, one file contains one message</li>
|
|
<li>sdbox => (experimental) uses Dovecot high-performance mailbox format, one file contains one message</li>
|
|
<li>mdbox ==> (experimental) uses Dovecot high-performance mailbox format, multiple messages per file and multiple files per box</li>
|
|
</ul>
|
|
<p>This option has been added in November 2019. Using other format than Maildir is considered as experimental in docker-mailserver and should only be used for testing purpose. For more details, please refer to <a href="https://wiki2.dovecot.org/MailboxFormat">Dovecot Documentation</a>.</p>
|
|
<h5 id="postfix_reject_unknown_client_hostname"><a class="toclink" href="#postfix_reject_unknown_client_hostname">POSTFIX_REJECT_UNKNOWN_CLIENT_HOSTNAME</a></h5>
|
|
<p>If enabled, employs <code>reject_unknown_client_hostname</code> to sender restrictions in Postfix's configuration.</p>
|
|
<ul>
|
|
<li><strong>0</strong> => Disabled</li>
|
|
<li>1 => Enabled</li>
|
|
</ul>
|
|
<h5 id="postfix_inet_protocols"><a class="toclink" href="#postfix_inet_protocols">POSTFIX_INET_PROTOCOLS</a></h5>
|
|
<ul>
|
|
<li><strong>all</strong> => Listen on all interfaces.</li>
|
|
<li>ipv4 => Listen only on IPv4 interfaces. Most likely you want this behind Docker.</li>
|
|
<li>ipv6 => Listen only on IPv6 interfaces.</li>
|
|
</ul>
|
|
<p>Note: More details at <a href="http://www.postfix.org/postconf.5.html#inet_protocols">http://www.postfix.org/postconf.5.html#inet_protocols</a></p>
|
|
<h5 id="dovecot_inet_protocols"><a class="toclink" href="#dovecot_inet_protocols">DOVECOT_INET_PROTOCOLS</a></h5>
|
|
<ul>
|
|
<li><strong>all</strong> => Listen on all interfaces</li>
|
|
<li>ipv4 => Listen only on IPv4 interfaces. Most likely you want this behind Docker.</li>
|
|
<li>ipv6 => Listen only on IPv6 interfaces.</li>
|
|
</ul>
|
|
<p>Note: More information at <a href="https://dovecot.org/doc/dovecot-example.conf">https://dovecot.org/doc/dovecot-example.conf</a></p>
|
|
<h5 id="move_spam_to_junk"><a class="toclink" href="#move_spam_to_junk">MOVE_SPAM_TO_JUNK</a></h5>
|
|
<p>When enabled, e-mails marked with the</p>
|
|
<ol>
|
|
<li><code>X-Spam: Yes</code> header added by Rspamd</li>
|
|
<li><code>X-Spam-Flag: YES</code> header added by SpamAssassin (requires <a href="#spamassassin_spam_to_inbox"><code>SPAMASSASSIN_SPAM_TO_INBOX=1</code></a>)</li>
|
|
</ol>
|
|
<p>will be automatically moved to the Junk folder (with the help of a Sieve script).</p>
|
|
<ul>
|
|
<li>0 => Spam messages will be delivered in the mailbox.</li>
|
|
<li><strong>1</strong> => Spam messages will be delivered in the <code>Junk</code> folder.</li>
|
|
</ul>
|
|
<h4 id="rspamd"><a class="toclink" href="#rspamd">Rspamd</a></h4>
|
|
<h5 id="enable_rspamd"><a class="toclink" href="#enable_rspamd">ENABLE_RSPAMD</a></h5>
|
|
<p>Enable or disable <a href="../security/rspamd/">Rspamd</a>.</p>
|
|
<ul>
|
|
<li><strong>0</strong> => disabled</li>
|
|
<li>1 => enabled</li>
|
|
</ul>
|
|
<h5 id="enable_rspamd_redis"><a class="toclink" href="#enable_rspamd_redis">ENABLE_RSPAMD_REDIS</a></h5>
|
|
<p>Explicit control over running a Redis instance within the container. By default, this value will match what is set for <a href="#enable_rspamd"><code>ENABLE_RSPAMD</code></a>.</p>
|
|
<p>The purpose of this setting is to opt-out of starting an internal Redis instance when enabling Rspamd, replacing it with your own external instance.</p>
|
|
<details class="note">
|
|
<summary>Configuring Rspamd for an external Redis instance</summary>
|
|
<p>You will need to <a href="https://rspamd.com/doc/configuration/redis.html">provide configuration</a> at <code>/etc/rspamd/local.d/redis.conf</code> similar to:</p>
|
|
<div class="highlight"><pre><span></span><code>servers = "redis.example.test:6379";
|
|
expand_keys = true;
|
|
</code></pre></div>
|
|
</details>
|
|
<ul>
|
|
<li>0 => Disabled</li>
|
|
<li>1 => Enabled</li>
|
|
</ul>
|
|
<h5 id="rspamd_greylisting"><a class="toclink" href="#rspamd_greylisting">RSPAMD_GREYLISTING</a></h5>
|
|
<p>Controls whether the <a href="https://rspamd.com/doc/modules/greylisting.html">Rspamd Greylisting module</a> is enabled. This module can further assist in avoiding spam emails by <a href="https://en.wikipedia.org/wiki/Greylisting_(email)">greylisting</a> e-mails with a certain spam score.</p>
|
|
<ul>
|
|
<li><strong>0</strong> => Disabled</li>
|
|
<li>1 => Enabled</li>
|
|
</ul>
|
|
<h5 id="rspamd_learn"><a class="toclink" href="#rspamd_learn">RSPAMD_LEARN</a></h5>
|
|
<p>When enabled,</p>
|
|
<ol>
|
|
<li>the "<a href="https://rspamd.com/doc/configuration/statistic.html#autolearning">autolearning</a>" feature is turned on;</li>
|
|
<li>the Bayes classifier will be trained when moving mails from or to the Junk folder (with the help of Sieve scripts).</li>
|
|
</ol>
|
|
<div class="admonition warning">
|
|
<p class="admonition-title">Attention</p>
|
|
<p>As of now, the spam learning database is global (i.e. available to all users). If one user deliberately trains it with malicious data, then it will ruin your detection rate.</p>
|
|
<p>This feature is suitably only for users who can tell ham from spam and users that can be trusted.</p>
|
|
</div>
|
|
<ul>
|
|
<li><strong>0</strong> => Disabled</li>
|
|
<li>1 => Enabled</li>
|
|
</ul>
|
|
<h5 id="rspamd_hfilter"><a class="toclink" href="#rspamd_hfilter">RSPAMD_HFILTER</a></h5>
|
|
<p>Can be used to enable or disable the <a href="https://www.rspamd.com/doc/modules/hfilter.html">Hfilter group module</a>. This is used by DMS to adjust the <code>HFILTER_HOSTNAME_UNKNOWN</code> symbol, increasing it's default weight to act similar to Postfix's <code>reject_unknown_client_hostname</code>, without the need to outright reject a message.</p>
|
|
<ul>
|
|
<li>0 => Disabled</li>
|
|
<li><strong>1</strong> => Enabled</li>
|
|
</ul>
|
|
<h5 id="rspamd_hfilter_hostname_unknown_score"><a class="toclink" href="#rspamd_hfilter_hostname_unknown_score">RSPAMD_HFILTER_HOSTNAME_UNKNOWN_SCORE</a></h5>
|
|
<p>Can be used to control the score when the <a href="#rspamd_hfilter"><code>HFILTER_HOSTNAME_UNKNOWN</code> symbol</a> applies. A higher score is more punishing. Setting it to 15 (the default score for rejecting an e-mail) is equivalent to rejecting the email when the check fails.</p>
|
|
<p>Default: 6 (which corresponds to the <code>add_header</code> action)</p>
|
|
<h4 id="reports"><a class="toclink" href="#reports">Reports</a></h4>
|
|
<h5 id="pflogsumm_trigger"><a class="toclink" href="#pflogsumm_trigger">PFLOGSUMM_TRIGGER</a></h5>
|
|
<p>Enables regular Postfix log summary ("pflogsumm") mail reports.</p>
|
|
<ul>
|
|
<li><strong>not set</strong> => No report</li>
|
|
<li>daily_cron => Daily report for the previous day</li>
|
|
<li>logrotate => Full report based on the mail log when it is rotated</li>
|
|
</ul>
|
|
<p>This is a new option. The old REPORT options are still supported for backwards compatibility.
|
|
If this is not set and reports are enabled with the old options, logrotate will be used.</p>
|
|
<h5 id="pflogsumm_recipient"><a class="toclink" href="#pflogsumm_recipient">PFLOGSUMM_RECIPIENT</a></h5>
|
|
<p>Recipient address for Postfix log summary reports.</p>
|
|
<ul>
|
|
<li><strong>not set</strong> => Use POSTMASTER_ADDRESS</li>
|
|
<li>=> Specify the recipient address(es)</li>
|
|
</ul>
|
|
<h5 id="pflogsumm_sender"><a class="toclink" href="#pflogsumm_sender">PFLOGSUMM_SENDER</a></h5>
|
|
<p>Sender address (<code>FROM</code>) for pflogsumm reports (if Postfix log summary reports are enabled).</p>
|
|
<ul>
|
|
<li><strong>not set</strong> => Use REPORT_SENDER</li>
|
|
<li>=> Specify the sender address</li>
|
|
</ul>
|
|
<h5 id="logwatch_interval"><a class="toclink" href="#logwatch_interval">LOGWATCH_INTERVAL</a></h5>
|
|
<p>Interval for logwatch report.</p>
|
|
<ul>
|
|
<li><strong>none</strong> => No report is generated</li>
|
|
<li>daily => Send a daily report</li>
|
|
<li>weekly => Send a report every week</li>
|
|
</ul>
|
|
<h5 id="logwatch_recipient"><a class="toclink" href="#logwatch_recipient">LOGWATCH_RECIPIENT</a></h5>
|
|
<p>Recipient address for logwatch reports if they are enabled.</p>
|
|
<ul>
|
|
<li><strong>not set</strong> => Use REPORT_RECIPIENT or POSTMASTER_ADDRESS</li>
|
|
<li>=> Specify the recipient address(es)</li>
|
|
</ul>
|
|
<h5 id="logwatch_sender"><a class="toclink" href="#logwatch_sender">LOGWATCH_SENDER</a></h5>
|
|
<p>Sender address (<code>FROM</code>) for logwatch reports if logwatch reports are enabled.</p>
|
|
<ul>
|
|
<li><strong>not set</strong> => Use REPORT_SENDER</li>
|
|
<li>=> Specify the sender address</li>
|
|
</ul>
|
|
<h5 id="report_recipient"><a class="toclink" href="#report_recipient">REPORT_RECIPIENT</a></h5>
|
|
<p>Defines who receives reports (if they are enabled).</p>
|
|
<ul>
|
|
<li><strong>empty</strong> => Use POSTMASTER_ADDRESS</li>
|
|
<li>=> Specify the recipient address</li>
|
|
</ul>
|
|
<h5 id="report_sender"><a class="toclink" href="#report_sender">REPORT_SENDER</a></h5>
|
|
<p>Defines who sends reports (if they are enabled).</p>
|
|
<ul>
|
|
<li><strong>empty</strong> => <code>mailserver-report@<YOUR DOMAIN></code></li>
|
|
<li>=> Specify the sender address</li>
|
|
</ul>
|
|
<h5 id="logrotate_interval"><a class="toclink" href="#logrotate_interval">LOGROTATE_INTERVAL</a></h5>
|
|
<p>Changes the interval in which log files are rotated.</p>
|
|
<ul>
|
|
<li><strong>weekly</strong> => Rotate log files weekly</li>
|
|
<li>daily => Rotate log files daily</li>
|
|
<li>monthly => Rotate log files monthly</li>
|
|
</ul>
|
|
<div class="admonition note">
|
|
<p class="admonition-title">Note</p>
|
|
<p><code>LOGROTATE_INTERVAL</code> only manages <code>logrotate</code> within the container for services we manage internally.</p>
|
|
<p>The entire log output for the container is still available via <code>docker logs mailserver</code> (or your respective container name). If you want to configure external log rotation for that container output as well, : <a href="https://docs.docker.com/config/containers/logging/configure/">Docker Logging Drivers</a>.</p>
|
|
<p>By default, the logs are lost when the container is destroyed (eg: re-creating via <code>docker-compose down && docker-compose up -d</code>). To keep the logs, mount a volume (to <code>/var/log/mail/</code>).</p>
|
|
</div>
|
|
<div class="admonition note">
|
|
<p class="admonition-title">Note</p>
|
|
<p>This variable can also determine the interval for Postfix's log summary reports, see <a href="#pflogsumm_trigger"><code>PFLOGSUMM_TRIGGER</code></a>.</p>
|
|
</div>
|
|
<h4 id="spamassassin"><a class="toclink" href="#spamassassin">SpamAssassin</a></h4>
|
|
<h5 id="enable_spamassassin"><a class="toclink" href="#enable_spamassassin">ENABLE_SPAMASSASSIN</a></h5>
|
|
<ul>
|
|
<li><strong>0</strong> => SpamAssassin is disabled</li>
|
|
<li>1 => SpamAssassin is enabled</li>
|
|
</ul>
|
|
<h5 id="spamassassin_spam_to_inbox"><a class="toclink" href="#spamassassin_spam_to_inbox">SPAMASSASSIN_SPAM_TO_INBOX</a></h5>
|
|
<ul>
|
|
<li>0 => Spam messages will be bounced (<em>rejected</em>) without any notification (<em>dangerous</em>).</li>
|
|
<li><strong>1</strong> => Spam messages will be delivered to the inbox and tagged as spam using <code>SA_SPAM_SUBJECT</code>.</li>
|
|
</ul>
|
|
<h5 id="enable_spamassassin_kam"><a class="toclink" href="#enable_spamassassin_kam">ENABLE_SPAMASSASSIN_KAM</a></h5>
|
|
<p><a href="https://mcgrail.com/template/projects#KAM1">KAM</a> is a 3rd party SpamAssassin ruleset, provided by the McGrail Foundation. If SpamAssassin is enabled, KAM can be used in addition to the default ruleset.</p>
|
|
<ul>
|
|
<li><strong>0</strong> => KAM disabled</li>
|
|
<li>1 => KAM enabled</li>
|
|
</ul>
|
|
<h5 id="sa_tag"><a class="toclink" href="#sa_tag">SA_TAG</a></h5>
|
|
<ul>
|
|
<li><strong>2.0</strong> => add spam info headers if at, or above that level</li>
|
|
</ul>
|
|
<p>Note: this SpamAssassin setting needs <code>ENABLE_SPAMASSASSIN=1</code></p>
|
|
<h5 id="sa_tag2"><a class="toclink" href="#sa_tag2">SA_TAG2</a></h5>
|
|
<ul>
|
|
<li><strong>6.31</strong> => add 'spam detected' headers at that level</li>
|
|
</ul>
|
|
<p>Note: this SpamAssassin setting needs <code>ENABLE_SPAMASSASSIN=1</code></p>
|
|
<h5 id="sa_kill"><a class="toclink" href="#sa_kill">SA_KILL</a></h5>
|
|
<ul>
|
|
<li><strong>10.0</strong> => triggers spam evasive actions</li>
|
|
</ul>
|
|
<div class="admonition note">
|
|
<p class="admonition-title">This SpamAssassin setting needs <code>ENABLE_SPAMASSASSIN=1</code></p>
|
|
<p>By default, DMS is configured to quarantine spam emails.</p>
|
|
<p>If emails are quarantined, they are compressed and stored in a location dependent on the <code>ONE_DIR</code> setting above. To inhibit this behaviour and deliver spam emails, set this to a very high value e.g. <code>100.0</code>.</p>
|
|
<p>If <code>ONE_DIR=1</code> (default) the location is <code>/var/mail-state/lib-amavis/virusmails/</code>, or if <code>ONE_DIR=0</code>: <code>/var/lib/amavis/virusmails/</code>. These paths are inside the docker container.</p>
|
|
</div>
|
|
<h5 id="sa_spam_subject"><a class="toclink" href="#sa_spam_subject">SA_SPAM_SUBJECT</a></h5>
|
|
<ul>
|
|
<li><strong>***SPAM***</strong> => add tag to subject if spam detected</li>
|
|
</ul>
|
|
<p>Note: this SpamAssassin setting needs <code>ENABLE_SPAMASSASSIN=1</code>. Add the SpamAssassin score to the subject line by inserting the keyword _SCORE_: <strong>***SPAM(_SCORE_)***</strong>.</p>
|
|
<h5 id="sa_shortcircuit_bayes_spam"><a class="toclink" href="#sa_shortcircuit_bayes_spam">SA_SHORTCIRCUIT_BAYES_SPAM</a></h5>
|
|
<ul>
|
|
<li><strong>1</strong> => will activate SpamAssassin short circuiting for bayes spam detection.</li>
|
|
</ul>
|
|
<p>This will uncomment the respective line in <code>/etc/spamassasin/local.cf</code></p>
|
|
<p>Note: activate this only if you are confident in your bayes database for identifying spam.</p>
|
|
<h5 id="sa_shortcircuit_bayes_ham"><a class="toclink" href="#sa_shortcircuit_bayes_ham">SA_SHORTCIRCUIT_BAYES_HAM</a></h5>
|
|
<ul>
|
|
<li><strong>1</strong> => will activate SpamAssassin short circuiting for bayes ham detection</li>
|
|
</ul>
|
|
<p>This will uncomment the respective line in <code>/etc/spamassasin/local.cf</code></p>
|
|
<p>Note: activate this only if you are confident in your bayes database for identifying ham.</p>
|
|
<h4 id="fetchmail"><a class="toclink" href="#fetchmail">Fetchmail</a></h4>
|
|
<h5 id="enable_fetchmail"><a class="toclink" href="#enable_fetchmail">ENABLE_FETCHMAIL</a></h5>
|
|
<ul>
|
|
<li><strong>0</strong> => <code>fetchmail</code> disabled</li>
|
|
<li>1 => <code>fetchmail</code> enabled</li>
|
|
</ul>
|
|
<h5 id="fetchmail_poll"><a class="toclink" href="#fetchmail_poll">FETCHMAIL_POLL</a></h5>
|
|
<ul>
|
|
<li><strong>300</strong> => <code>fetchmail</code> The number of seconds for the interval</li>
|
|
</ul>
|
|
<h5 id="fetchmail_parallel"><a class="toclink" href="#fetchmail_parallel">FETCHMAIL_PARALLEL</a></h5>
|
|
<p><strong>0</strong> => <code>fetchmail</code> runs with a single config file <code>/etc/fetchmailrc</code>
|
|
<strong>1</strong> => <code>/etc/fetchmailrc</code> is split per poll entry. For every poll entry a separate fetchmail instance is started to allow having multiple imap idle configurations defined.</p>
|
|
<p>Note: The defaults of your fetchmailrc file need to be at the top of the file. Otherwise it won't be added correctly to all separate <code>fetchmail</code> instances.</p>
|
|
<h4 id="ldap"><a class="toclink" href="#ldap">LDAP</a></h4>
|
|
<h5 id="enable_ldap"><a class="toclink" href="#enable_ldap">ENABLE_LDAP</a></h5>
|
|
<p>Deprecated. See <a href="#account_provisioner"><code>ACCOUNT_PROVISIONER</code></a>.</p>
|
|
<h5 id="ldap_start_tls"><a class="toclink" href="#ldap_start_tls">LDAP_START_TLS</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => no</li>
|
|
<li>yes => LDAP over TLS enabled for Postfix</li>
|
|
</ul>
|
|
<h5 id="ldap_server_host"><a class="toclink" href="#ldap_server_host">LDAP_SERVER_HOST</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => mail.example.com</li>
|
|
<li>=> Specify the dns-name/ip-address where the ldap-server is listening, or an URI like <code>ldaps://mail.example.com</code></li>
|
|
<li>NOTE: If you going to use DMS in combination with <code>docker-compose.yml</code> you can set the service name here</li>
|
|
</ul>
|
|
<h5 id="ldap_search_base"><a class="toclink" href="#ldap_search_base">LDAP_SEARCH_BASE</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => ou=people,dc=domain,dc=com</li>
|
|
<li>=> e.g. LDAP_SEARCH_BASE=dc=mydomain,dc=local</li>
|
|
</ul>
|
|
<h5 id="ldap_bind_dn"><a class="toclink" href="#ldap_bind_dn">LDAP_BIND_DN</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => cn=admin,dc=domain,dc=com</li>
|
|
<li>=> take a look at examples of SASL_LDAP_BIND_DN</li>
|
|
</ul>
|
|
<h5 id="ldap_bind_pw"><a class="toclink" href="#ldap_bind_pw">LDAP_BIND_PW</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => admin</li>
|
|
<li>=> Specify the password to bind against ldap</li>
|
|
</ul>
|
|
<h5 id="ldap_query_filter_user"><a class="toclink" href="#ldap_query_filter_user">LDAP_QUERY_FILTER_USER</a></h5>
|
|
<ul>
|
|
<li>e.g. <code>(&(mail=%s)(mailEnabled=TRUE))</code></li>
|
|
<li>=> Specify how ldap should be asked for users</li>
|
|
</ul>
|
|
<h5 id="ldap_query_filter_group"><a class="toclink" href="#ldap_query_filter_group">LDAP_QUERY_FILTER_GROUP</a></h5>
|
|
<ul>
|
|
<li>e.g. <code>(&(mailGroupMember=%s)(mailEnabled=TRUE))</code></li>
|
|
<li>=> Specify how ldap should be asked for groups</li>
|
|
</ul>
|
|
<h5 id="ldap_query_filter_alias"><a class="toclink" href="#ldap_query_filter_alias">LDAP_QUERY_FILTER_ALIAS</a></h5>
|
|
<ul>
|
|
<li>e.g. <code>(&(mailAlias=%s)(mailEnabled=TRUE))</code></li>
|
|
<li>=> Specify how ldap should be asked for aliases</li>
|
|
</ul>
|
|
<h5 id="ldap_query_filter_domain"><a class="toclink" href="#ldap_query_filter_domain">LDAP_QUERY_FILTER_DOMAIN</a></h5>
|
|
<ul>
|
|
<li>e.g. <code>(&(|(mail=*@%s)(mailalias=*@%s)(mailGroupMember=*@%s))(mailEnabled=TRUE))</code></li>
|
|
<li>=> Specify how ldap should be asked for domains</li>
|
|
</ul>
|
|
<h5 id="ldap_query_filter_senders"><a class="toclink" href="#ldap_query_filter_senders">LDAP_QUERY_FILTER_SENDERS</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => use user/alias/group maps directly, equivalent to <code>(|($LDAP_QUERY_FILTER_USER)($LDAP_QUERY_FILTER_ALIAS)($LDAP_QUERY_FILTER_GROUP))</code></li>
|
|
<li>=> Override how ldap should be asked if a sender address is allowed for a user</li>
|
|
</ul>
|
|
<h5 id="dovecot_tls"><a class="toclink" href="#dovecot_tls">DOVECOT_TLS</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => no</li>
|
|
<li>yes => LDAP over TLS enabled for Dovecot</li>
|
|
</ul>
|
|
<h4 id="dovecot"><a class="toclink" href="#dovecot">Dovecot</a></h4>
|
|
<p>The following variables overwrite the default values for <code>/etc/dovecot/dovecot-ldap.conf.ext</code>.</p>
|
|
<h5 id="dovecot_base"><a class="toclink" href="#dovecot_base">DOVECOT_BASE</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => same as <code>LDAP_SEARCH_BASE</code></li>
|
|
<li>=> Tell Dovecot to search only below this base entry. (e.g. <code>ou=people,dc=domain,dc=com</code>)</li>
|
|
</ul>
|
|
<h5 id="dovecot_default_pass_scheme"><a class="toclink" href="#dovecot_default_pass_scheme">DOVECOT_DEFAULT_PASS_SCHEME</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => <code>SSHA</code></li>
|
|
<li>=> Select one crypt scheme for password hashing from this list of <a href="https://doc.dovecot.org/configuration_manual/authentication/password_schemes/">password schemes</a>.</li>
|
|
</ul>
|
|
<h5 id="dovecot_dn"><a class="toclink" href="#dovecot_dn">DOVECOT_DN</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => same as <code>LDAP_BIND_DN</code></li>
|
|
<li>=> Bind dn for LDAP connection. (e.g. <code>cn=admin,dc=domain,dc=com</code>)</li>
|
|
</ul>
|
|
<h5 id="dovecot_dnpass"><a class="toclink" href="#dovecot_dnpass">DOVECOT_DNPASS</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => same as <code>LDAP_BIND_PW</code></li>
|
|
<li>=> Password for LDAP dn sepecifified in <code>DOVECOT_DN</code>.</li>
|
|
</ul>
|
|
<h5 id="dovecot_uris"><a class="toclink" href="#dovecot_uris">DOVECOT_URIS</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => same as <code>LDAP_SERVER_HOST</code></li>
|
|
<li>=> Specify a space separated list of LDAP uris.</li>
|
|
<li>Note: If the protocol is missing, <code>ldap://</code> will be used.</li>
|
|
<li>Note: This deprecates <code>DOVECOT_HOSTS</code> (as it didn't allow to use LDAPS), which is currently still supported for backwards compatibility.</li>
|
|
</ul>
|
|
<h5 id="dovecot_ldap_version"><a class="toclink" href="#dovecot_ldap_version">DOVECOT_LDAP_VERSION</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => 3</li>
|
|
<li>2 => LDAP version 2 is used</li>
|
|
<li>3 => LDAP version 3 is used</li>
|
|
</ul>
|
|
<h5 id="dovecot_auth_bind"><a class="toclink" href="#dovecot_auth_bind">DOVECOT_AUTH_BIND</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => no</li>
|
|
<li>yes => Enable <a href="https://wiki.dovecot.org/AuthDatabase/LDAP/AuthBinds">LDAP authentication binds</a></li>
|
|
</ul>
|
|
<h5 id="dovecot_user_filter"><a class="toclink" href="#dovecot_user_filter">DOVECOT_USER_FILTER</a></h5>
|
|
<ul>
|
|
<li>e.g. <code>(&(objectClass=PostfixBookMailAccount)(uniqueIdentifier=%n))</code></li>
|
|
</ul>
|
|
<h5 id="dovecot_user_attrs"><a class="toclink" href="#dovecot_user_attrs">DOVECOT_USER_ATTRS</a></h5>
|
|
<ul>
|
|
<li>e.g. <code>homeDirectory=home,qmailUID=uid,qmailGID=gid,mailMessageStore=mail</code></li>
|
|
<li>=> Specify the directory to dovecot attribute mapping that fits your directory structure.</li>
|
|
<li>Note: This is necessary for directories that do not use the Postfix Book Schema.</li>
|
|
<li>Note: The left-hand value is the directory attribute, the right hand value is the dovecot variable.</li>
|
|
<li>More details on the <a href="https://wiki.dovecot.org/AuthDatabase/LDAP/Userdb">Dovecot Wiki</a></li>
|
|
</ul>
|
|
<h5 id="dovecot_pass_filter"><a class="toclink" href="#dovecot_pass_filter">DOVECOT_PASS_FILTER</a></h5>
|
|
<ul>
|
|
<li>e.g. <code>(&(objectClass=PostfixBookMailAccount)(uniqueIdentifier=%n))</code></li>
|
|
<li><strong>empty</strong> => same as <code>DOVECOT_USER_FILTER</code></li>
|
|
</ul>
|
|
<h5 id="dovecot_pass_attrs"><a class="toclink" href="#dovecot_pass_attrs">DOVECOT_PASS_ATTRS</a></h5>
|
|
<ul>
|
|
<li>e.g. <code>uid=user,userPassword=password</code></li>
|
|
<li>=> Specify the directory to dovecot variable mapping that fits your directory structure.</li>
|
|
<li>Note: This is necessary for directories that do not use the Postfix Book Schema.</li>
|
|
<li>Note: The left-hand value is the directory attribute, the right hand value is the dovecot variable.</li>
|
|
<li>More details on the <a href="https://wiki.dovecot.org/AuthDatabase/LDAP/PasswordLookups">Dovecot Wiki</a></li>
|
|
</ul>
|
|
<h4 id="postgrey"><a class="toclink" href="#postgrey">Postgrey</a></h4>
|
|
<h5 id="enable_postgrey"><a class="toclink" href="#enable_postgrey">ENABLE_POSTGREY</a></h5>
|
|
<ul>
|
|
<li><strong>0</strong> => <code>postgrey</code> is disabled</li>
|
|
<li>1 => <code>postgrey</code> is enabled</li>
|
|
</ul>
|
|
<h5 id="postgrey_delay"><a class="toclink" href="#postgrey_delay">POSTGREY_DELAY</a></h5>
|
|
<ul>
|
|
<li><strong>300</strong> => greylist for N seconds</li>
|
|
</ul>
|
|
<p>Note: This postgrey setting needs <code>ENABLE_POSTGREY=1</code></p>
|
|
<h5 id="postgrey_max_age"><a class="toclink" href="#postgrey_max_age">POSTGREY_MAX_AGE</a></h5>
|
|
<ul>
|
|
<li><strong>35</strong> => delete entries older than N days since the last time that they have been seen</li>
|
|
</ul>
|
|
<p>Note: This postgrey setting needs <code>ENABLE_POSTGREY=1</code></p>
|
|
<h5 id="postgrey_auto_whitelist_clients"><a class="toclink" href="#postgrey_auto_whitelist_clients">POSTGREY_AUTO_WHITELIST_CLIENTS</a></h5>
|
|
<ul>
|
|
<li><strong>5</strong> => whitelist host after N successful deliveries (N=0 to disable whitelisting)</li>
|
|
</ul>
|
|
<p>Note: This postgrey setting needs <code>ENABLE_POSTGREY=1</code></p>
|
|
<h5 id="postgrey_text"><a class="toclink" href="#postgrey_text">POSTGREY_TEXT</a></h5>
|
|
<ul>
|
|
<li><strong>Delayed by Postgrey</strong> => response when a mail is greylisted</li>
|
|
</ul>
|
|
<p>Note: This postgrey setting needs <code>ENABLE_POSTGREY=1</code></p>
|
|
<h4 id="sasl-auth"><a class="toclink" href="#sasl-auth">SASL Auth</a></h4>
|
|
<h5 id="enable_saslauthd"><a class="toclink" href="#enable_saslauthd">ENABLE_SASLAUTHD</a></h5>
|
|
<ul>
|
|
<li><strong>0</strong> => <code>saslauthd</code> is disabled</li>
|
|
<li>1 => <code>saslauthd</code> is enabled</li>
|
|
</ul>
|
|
<h5 id="saslauthd_mechanisms"><a class="toclink" href="#saslauthd_mechanisms">SASLAUTHD_MECHANISMS</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => pam</li>
|
|
<li><code>ldap</code> => authenticate against ldap server</li>
|
|
<li><code>shadow</code> => authenticate against local user db</li>
|
|
<li><code>mysql</code> => authenticate against mysql db</li>
|
|
<li><code>rimap</code> => authenticate against imap server</li>
|
|
<li>NOTE: can be a list of mechanisms like pam ldap shadow</li>
|
|
</ul>
|
|
<h5 id="saslauthd_mech_options"><a class="toclink" href="#saslauthd_mech_options">SASLAUTHD_MECH_OPTIONS</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => None</li>
|
|
<li>e.g. with SASLAUTHD_MECHANISMS rimap you need to specify the ip-address/servername of the imap server ==> xxx.xxx.xxx.xxx</li>
|
|
</ul>
|
|
<h5 id="saslauthd_ldap_server"><a class="toclink" href="#saslauthd_ldap_server">SASLAUTHD_LDAP_SERVER</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => same as <code>LDAP_SERVER_HOST</code></li>
|
|
<li>Note: since version 10.0.0, you can specify a protocol here (like ldaps://); this deprecates SASLAUTHD_LDAP_SSL.</li>
|
|
</ul>
|
|
<h5 id="saslauthd_ldap_start_tls"><a class="toclink" href="#saslauthd_ldap_start_tls">SASLAUTHD_LDAP_START_TLS</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => <code>no</code></li>
|
|
<li><code>yes</code> => Enable <code>ldap_start_tls</code> option</li>
|
|
</ul>
|
|
<h5 id="saslauthd_ldap_tls_check_peer"><a class="toclink" href="#saslauthd_ldap_tls_check_peer">SASLAUTHD_LDAP_TLS_CHECK_PEER</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => <code>no</code></li>
|
|
<li><code>yes</code> => Enable <code>ldap_tls_check_peer</code> option</li>
|
|
</ul>
|
|
<h5 id="saslauthd_ldap_tls_cacert_dir"><a class="toclink" href="#saslauthd_ldap_tls_cacert_dir">SASLAUTHD_LDAP_TLS_CACERT_DIR</a></h5>
|
|
<p>Path to directory with CA (Certificate Authority) certificates.</p>
|
|
<ul>
|
|
<li><strong>empty</strong> => Nothing is added to the configuration</li>
|
|
<li>Any value => Fills the <code>ldap_tls_cacert_dir</code> option</li>
|
|
</ul>
|
|
<h5 id="saslauthd_ldap_tls_cacert_file"><a class="toclink" href="#saslauthd_ldap_tls_cacert_file">SASLAUTHD_LDAP_TLS_CACERT_FILE</a></h5>
|
|
<p>File containing CA (Certificate Authority) certificate(s).</p>
|
|
<ul>
|
|
<li><strong>empty</strong> => Nothing is added to the configuration</li>
|
|
<li>Any value => Fills the <code>ldap_tls_cacert_file</code> option</li>
|
|
</ul>
|
|
<h5 id="saslauthd_ldap_bind_dn"><a class="toclink" href="#saslauthd_ldap_bind_dn">SASLAUTHD_LDAP_BIND_DN</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => same as <code>LDAP_BIND_DN</code></li>
|
|
<li>specify an object with privileges to search the directory tree</li>
|
|
<li>e.g. active directory: SASLAUTHD_LDAP_BIND_DN=cn=Administrator,cn=Users,dc=mydomain,dc=net</li>
|
|
<li>e.g. openldap: SASLAUTHD_LDAP_BIND_DN=cn=admin,dc=mydomain,dc=net</li>
|
|
</ul>
|
|
<h5 id="saslauthd_ldap_password"><a class="toclink" href="#saslauthd_ldap_password">SASLAUTHD_LDAP_PASSWORD</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => same as <code>LDAP_BIND_PW</code></li>
|
|
</ul>
|
|
<h5 id="saslauthd_ldap_search_base"><a class="toclink" href="#saslauthd_ldap_search_base">SASLAUTHD_LDAP_SEARCH_BASE</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => same as <code>LDAP_SEARCH_BASE</code></li>
|
|
<li>specify the search base</li>
|
|
</ul>
|
|
<h5 id="saslauthd_ldap_filter"><a class="toclink" href="#saslauthd_ldap_filter">SASLAUTHD_LDAP_FILTER</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => default filter <code>(&(uniqueIdentifier=%u)(mailEnabled=TRUE))</code></li>
|
|
<li>e.g. for active directory: <code>(&(sAMAccountName=%U)(objectClass=person))</code></li>
|
|
<li>e.g. for openldap: <code>(&(uid=%U)(objectClass=person))</code></li>
|
|
</ul>
|
|
<h5 id="saslauthd_ldap_password_attr"><a class="toclink" href="#saslauthd_ldap_password_attr">SASLAUTHD_LDAP_PASSWORD_ATTR</a></h5>
|
|
<p>Specify what password attribute to use for password verification.</p>
|
|
<ul>
|
|
<li><strong>empty</strong> => Nothing is added to the configuration but the documentation says it is <code>userPassword</code> by default.</li>
|
|
<li>Any value => Fills the <code>ldap_password_attr</code> option</li>
|
|
</ul>
|
|
<h5 id="saslauthd_ldap_auth_method"><a class="toclink" href="#saslauthd_ldap_auth_method">SASLAUTHD_LDAP_AUTH_METHOD</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => <code>bind</code> will be used as a default value</li>
|
|
<li><code>fastbind</code> => The fastbind method is used</li>
|
|
<li><code>custom</code> => The custom method uses userPassword attribute to verify the password</li>
|
|
</ul>
|
|
<h5 id="saslauthd_ldap_mech"><a class="toclink" href="#saslauthd_ldap_mech">SASLAUTHD_LDAP_MECH</a></h5>
|
|
<p>Specify the authentication mechanism for SASL bind.</p>
|
|
<ul>
|
|
<li><strong>empty</strong> => Nothing is added to the configuration</li>
|
|
<li>Any value => Fills the <code>ldap_mech</code> option</li>
|
|
</ul>
|
|
<h4 id="srs-sender-rewriting-scheme"><a class="toclink" href="#srs-sender-rewriting-scheme">SRS (Sender Rewriting Scheme)</a></h4>
|
|
<h5 id="srs_sender_classes"><a class="toclink" href="#srs_sender_classes">SRS_SENDER_CLASSES</a></h5>
|
|
<p>An email has an "envelope" sender (indicating the sending server) and a
|
|
"header" sender (indicating who sent it). More strict SPF policies may require
|
|
you to replace both instead of just the envelope sender.</p>
|
|
<p><a href="https://www.mybluelinux.com/what-is-email-envelope-and-email-header/">More info</a>.</p>
|
|
<ul>
|
|
<li><strong>envelope_sender</strong> => Rewrite only envelope sender address</li>
|
|
<li>header_sender => Rewrite only header sender (not recommended)</li>
|
|
<li>envelope_sender,header_sender => Rewrite both senders</li>
|
|
</ul>
|
|
<h5 id="srs_exclude_domains"><a class="toclink" href="#srs_exclude_domains">SRS_EXCLUDE_DOMAINS</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => Envelope sender will be rewritten for all domains</li>
|
|
<li>provide comma separated list of domains to exclude from rewriting</li>
|
|
</ul>
|
|
<h5 id="srs_secret"><a class="toclink" href="#srs_secret">SRS_SECRET</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => generated when the container is started for the first time</li>
|
|
<li>provide a secret to use in base64</li>
|
|
<li>you may specify multiple keys, comma separated. the first one is used for signing and the remaining will be used for verification. this is how you rotate and expire keys</li>
|
|
<li>if you have a cluster/swarm make sure the same keys are on all nodes</li>
|
|
<li>example command to generate a key: <code>dd if=/dev/urandom bs=24 count=1 2>/dev/null | base64</code></li>
|
|
</ul>
|
|
<h5 id="srs_domainname"><a class="toclink" href="#srs_domainname">SRS_DOMAINNAME</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => Derived from <a href="#override_hostname"><code>OVERRIDE_HOSTNAME</code></a>, <code>$DOMAINNAME</code> (internal), or the container's hostname</li>
|
|
<li>Set this if auto-detection fails, isn't what you want, or you wish to have a separate container handle DSNs</li>
|
|
</ul>
|
|
<h4 id="default-relay-host"><a class="toclink" href="#default-relay-host">Default Relay Host</a></h4>
|
|
<h5 id="default_relay_host"><a class="toclink" href="#default_relay_host">DEFAULT_RELAY_HOST</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => don't set default relayhost setting in main.cf</li>
|
|
<li>default host and port to relay all mail through.
|
|
Format: <code>[example.com]:587</code> (don't forget the brackets if you need this to
|
|
be compatible with <code>$RELAY_USER</code> and <code>$RELAY_PASSWORD</code>, explained below).</li>
|
|
</ul>
|
|
<h4 id="multi-domain-relay-hosts"><a class="toclink" href="#multi-domain-relay-hosts">Multi-domain Relay Hosts</a></h4>
|
|
<h5 id="relay_host"><a class="toclink" href="#relay_host">RELAY_HOST</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => don't configure relay host</li>
|
|
<li>default host to relay mail through</li>
|
|
</ul>
|
|
<h5 id="relay_port"><a class="toclink" href="#relay_port">RELAY_PORT</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => 25</li>
|
|
<li>default port to relay mail through</li>
|
|
</ul>
|
|
<h5 id="relay_user"><a class="toclink" href="#relay_user">RELAY_USER</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => no default</li>
|
|
<li>default relay username (if no specific entry exists in postfix-sasl-password.cf)</li>
|
|
</ul>
|
|
<h5 id="relay_password"><a class="toclink" href="#relay_password">RELAY_PASSWORD</a></h5>
|
|
<ul>
|
|
<li><strong>empty</strong> => no default</li>
|
|
<li>password for default relay user</li>
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
<button type="button" class="md-top md-icon" data-md-component="top" hidden>
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8v12Z"/></svg>
|
|
Back to top
|
|
</button>
|
|
|
|
</main>
|
|
|
|
<footer class="md-footer">
|
|
|
|
<div class="md-footer-meta md-typeset">
|
|
<div class="md-footer-meta__inner md-grid">
|
|
<div class="md-copyright">
|
|
|
|
<div class="md-copyright__highlight">
|
|
<p>© <a href="https://github.com/docker-mailserver"><em>Docker Mailserver Organization</em></a><br/><span>This project is licensed under the MIT license.</span></p>
|
|
</div>
|
|
|
|
|
|
Made with
|
|
<a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
|
|
Material for MkDocs
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
|
|
</div>
|
|
<div class="md-dialog" data-md-component="dialog">
|
|
<div class="md-dialog__inner md-typeset"></div>
|
|
</div>
|
|
|
|
<script id="__config" type="application/json">{"base": "../..", "features": ["navigation.tabs", "navigation.top", "navigation.expand", "navigation.instant", "content.code.annotate"], "search": "../../assets/javascripts/workers/search.208ed371.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": {"provider": "mike"}}</script>
|
|
|
|
|
|
<script src="../../assets/javascripts/bundle.407015b8.min.js"></script>
|
|
|
|
|
|
</body>
|
|
</html> |