Commit Graph
34 Commits
Author SHA1 Message Date
chrisandClaude Opus 5.5 b2c55d57b8 install_update_dovecot-2.4.sh: always write pop3 service blocks
Write 'service pop3-login' and 'service pop3' (also post-login) again
regardless of the selected mail services - like for imap and sieve.
Dovecot only starts services of enabled protocols, so a protocol can
be switched on/off simply via 'yes'/'no' in the 'protocols' block of
dovecot.conf followed by a restart.

Only dovecot's submission service blocks are still removed
(submission is provided by postfix).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 15:43:46 +01:00
chrisandClaude Opus 5.5 29fe6d0e0d install_update_dovecot-2.4.sh: use '2>&1' instead of '2<&1' for stderr redirection
'2<&1' duplicates fd 1 as an input descriptor. In bash it happens to
behave like '2>&1', but it is unusual and misleading. Use the common
form '2>&1' (cp, grep, pigeonhole configure/make/make install).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 15:13:37 +01:00
chrisandClaude Opus 5.5 38c7ce8f6a install_update_dovecot-2.4.sh: make provided mail services selectable
- New config parameter 'mail_protocols' (blank separated list of
  imap, pop3, sieve; defaults to "imap pop3 sieve"). lmtp is always
  enabled.
- New selection menu at install/update time:
    [1] all common mail services (imap pop3 sieve)
    [2] all common except pop3   (imap sieve)
    [3] other (follow-up input, preset with an individual list
        from the configuration file)
  The line matching the configuration file is highlighted.
- 'protocols' block is built from the selection; not selected
  protocols and dovecot's submission service are set to 'no'.
- Dovecot's submission service is no longer configured: submission
  (587/465) is provided by postfix. 'service submission-login' and
  'service submission' blocks are removed from 10-master.conf.
- 'service pop3-login' / 'service pop3' are only written if pop3 is
  selected, otherwise removed.
- Summary lists each protocol with its state; listener addresses are
  only shown for enabled protocols. 'mail_protocols' is written to the
  environment file.
- Helper functions call 'gawk' explicitly (they need GNU awk
  extensions like '\s'; mawk silently fails). gawk is installed for
  update and new installation, abort if that fails.
- Fix apt-get calls: '2&>1' -> '2>&1', add '-y', append to log.
- conf/install_update_dovecot.conf.sample: document 'mail_protocols'.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 15:12:45 +01:00
chrisandClaude Opus 5.5 fa96599077 install_update_dovecot-2.4: enable mail_log only for imap, pop3 and lmtp
With mail_log loaded globally, doveadm also logs every action to stderr,
so cron jobs like "doveadm expunge -A mailbox Spam* savedbefore 30d"
produced one output line (and thus cron mail) per expunged message.

Scope the plugin to protocol imap/pop3/lmtp blocks in 95-mail-log.conf;
client actions and sieve filing are still logged, doveadm stays quiet
and only reports real errors.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 11:01:51 +01:00
chris 686f291b68 install_update_dovecot: add mail_log plugin configuration and logging options 2026-11-11 01:19:34 +01:00
chrisandClaude Opus 5.5 15aca2f34b install_update_dovecot: do not log attempted passwords
Set auth_verbose_passwords to 'no'. 'plain' and 'yes' write attempted
passwords in cleartext to the log, including the real passwords of users
who only made a typo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 14:55:13 +01:00
chris 17e858d51b install_update_dovecot-2.4.sh: enhance quota_clone plugin support for MySQL and update documentation 2026-07-02 02:11:55 +02:00
chris 625184ab6e install_postfixadmin.sh: update used_quotas configuration to 'YES' for PostfixAdmin
install_update_dovecot-2.4.sh: add quota_clone plugin configuration for real-time quota tracking
create settings.json: add permissions for quota-related commands in PostfixAdmin
create install_quota_clone.sh: script to configure Dovecot quota_clone plugin and PostfixAdmin integration
2026-06-29 15:12:56 +02:00
chris 74702b3d41 install_update_dovecot-2.4.sh: change calculation of numbers of cpus. 2026-02-02 11:47:33 +01:00
chris b32555f66c install_update_dovecot-2.4.sh: fix error writing (mysql) 'auth-sql.conf.ext' file. 2026-01-21 01:43:01 +01:00
chris 3032337c7d Provide systemd.pc wrapper so pkg-config exposes systemdsystemunitdir. 2026-01-09 21:46:13 +01:00
chris 50bc28dc2a install_update_dovecot-2.4.sh: support english language in qota warn messages. 2025-12-20 23:55:57 +01:00
chris b87793cbad Fis systemd support on debian system version 13 (trixie) or newer. 2025-12-15 01:23:16 +01:00
chris b28b3a8316 install_update_dovecot-2.4.sh: adjust sieve configuration. 2025-12-09 17:49:41 +01:00
chris 05723c0514 Merge branch 'master' of https://git.oopen.de/install/mailsystem 2025-12-08 19:26:34 +01:00
chris 32b3c8b01e install_update_dovecot-2.4.sh: some minor changes. 2025-12-08 19:25:46 +01:00
chris d8979faa06 install_update_dovecot-2.4.sh: increase sieve_max_redirects to 25. 2025-12-05 12:35:07 +01:00
chris cb9e958d39 install_update_dovecot-2.4.sh: fix errors Correct errors relating to database access. 2025-08-23 17:28:28 +02:00
chris 761a3a3b34 Merge branch 'master' of git.oopen.de:install/mailsystem 2025-08-23 11:49:42 +02:00
chris ae06305069 install_update_dovecot-2.4.sh: Set 'quota_storage_size' to 9 (unlimited) - We only use personalized quotas. 2025-08-23 11:49:29 +02:00
chris e50851b519 install_update_dovecot-2.4.sh: fix errors concerning mail location settings of shared folders, 2025-08-23 02:19:37 +02:00
chris f4c7453675 install_update_dovecot-2.4.sh: add parameter 'maildir_broken_filename_sizes = yes' and 'auth_allow_weak_schemes = yes'. 2025-08-21 23:38:55 +02:00
chris 230ab94ca6 install_update_dovecot-2.4.sh: fix quota relating errors. 2025-08-14 12:43:33 +02:00
chris 7cc2369ea0 install_update_dovecot-2.4.sh: initial versionm. 2025-08-14 01:41:47 +02:00
chris 4aaeae3b1a install_update_dovecot-2.4.sh: another intermediate version. 2025-08-13 01:54:56 +02:00
chris 692e76ad1d install_update_dovecot-2.4.sh: another intermediate version. 2025-08-12 02:03:37 +02:00
chris bbc3cf87f1 install_update_dovecot-2.4.sh: another intermediate version. 2025-07-23 01:57:24 +02:00
chris 195e3f65ee install_update_dovecot-2.4.sh: another imtermediate update. 2025-07-22 03:01:11 +02:00
chris 0270997761 install_update_dovecot-2.4.sh: another imtermediate update 2025-07-20 13:19:59 +02:00
chris 6e19d1a938 install_update_dovecot-2.4.sh: another intermediate version. 2025-07-19 01:46:06 +02:00
chris 5a9dcc4b8f install_update_dovecot-2.4.sh: another intermediate version. 2025-07-18 02:31:55 +02:00
chris 94a1895873 install_update_dovecot-2.4.sh: another intermediate version. 2025-07-14 15:17:45 +02:00
chris e00ba6f4ce install_update_dovecot-2.4.sh: intermediate version. 2025-07-14 01:41:53 +02:00
chris ba20cb36fe Add initial not yet running installscript for dovecot version 2.4.x 2025-07-12 12:55:16 +02:00