setup/mail-dovecot.sh

mailinabox · setup/mail-dovecot.sh · shell · CC0-1.0
email

Shell script to install and configure Dovecot for IMAP/POP and LDA in Mail‑in‑a‑Box.

#!/bin/bash
# Source: https://github.com/mail-in-a-box/mailinabox | License: CC0-1.0
# Provided via justclaw.it.com; keep this notice with the code.
#
# Dovecot (IMAP/POP and LDA)
# ----------------------
#
# Dovecot is *both* the IMAP/POP server (the protocol that email applications
# use to query a mailbox) as well as the local delivery agent (LDA),
# meaning it is responsible for writing emails to mailbox storage on disk.
# You could imagine why these things would be bundled together.
#
# As part of local mail delivery, Dovecot executes actions on incoming
# mail as defined in a "sieve" script.
#
# Dovecot's LDA role comes after spam filtering. Postfix hands mail off
# to Spamassassin which in turn hands it off to Dovecot. This all happens
# using the LMTP protocol.

source setup/functi

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key