chris and Claude Opus 5.5
1278bfcfd0
install_amavis.sh: disable clamav-freshclam-once timer/service.
...
Since Debian 13 the package clamav-freshclam also ships and enables
clamav-freshclam-once.timer and clamav-freshclam-once.service. Together
with the freshclam daemon (clamav-freshclam.service) both try to lock
/var/log/clamav/freshclam.log at boot and one of them fails.
Disable the 'once' units right after stopping the daemon and before the
initial freshclam run, so only the daemon keeps the databases current.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-22 01:47:20 +01:00
chris
f0e6ff2506
fix: update systemd support check to use logical OR
2026-11-19 11:17:03 +01:00
chris and Claude Opus 5.5
5429768e28
install_amavis.sh: open amavis port 10026 whenever submission/smtps use it
...
master.cf submission/smtps are always rewritten to
content_filter=amavisfeed:[127.0.0.1]:10026, but amavis only listened on
10026 if Cyrus SASL was enabled. Hosts authenticating via Dovecot SASL
(answer 'no') got [10024, 10029], so submitted mail was deferred with
"connect to 127.0.0.1:10026: Connection refused".
Now 10026 (ORIGINATING) is opened if SASL is enabled or master.cf contains
submission/smtps; 10029 (VIRUSONLY) is opened as before if 10026 is not
needed, or if main.cf content_filter points to 10029 (relay/sympa hosts).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-13 00:45:13 +01:00
chris
787749f4d6
update delivery-main.cf.in: adjust size limits and alias maps for consistency with Postfix instance
2026-11-11 16:34:13 +01:00
chris and Claude 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
chris and Claude Opus 5.5
564a5254ad
srs delivery template: do not set config_directory in main.cf
...
The instance gets MAIL_CONFIG=/etc/postfix-srs/delivery from
postfix@srs-delivery.service ; setting it again makes postconf warn.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-10 15:35:48 +01:00
chris
877e8996b0
install_roundcube.sh: add support for roundcubemail 1.7.x
2026-11-09 18:07:05 +01:00
chris
4b1af1419e
Merge branch 'master' of https://git.oopen.de/install/mailsystem
2026-11-09 15:14:08 +01:00
chris
3bd732b5b2
install_roundcube.sh: fix errors in installimg aspell pakcages.
2026-11-09 15:13:38 +01:00
chris and Claude 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 and Claude Opus 5.5
4f33f3d426
install_postfix_advanced.sh: fix return code range of zen.spamhaus.org
...
ZEN answers with 127.0.0.x, so the previous range 127.0.1.[2..99] (used by
DBL) never matched and the filter was without effect. Use 127.0.0.[2..11].
A range is still required: if Spamhaus blocks our queries, it answers with
error codes like 127.255.255.254, which must not reject mail.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-08 13:41:45 +01:00
chris and Claude Opus 5.5
ad4018eca3
install_opendmarc.sh: set PublicSuffixList/UserID, drop HistoryFile, SPFIgnoreResults true
...
- Set PublicSuffixList and UserID explicitly instead of relying on the package config.
- Do not use HistoryFile (no aggregate reports); comment out an active setting.
- Set SPFIgnoreResults to true.
- Update comment in ignore.hosts to reflect the current milter setup.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-08 12:26:44 +01:00
chris and Claude Opus 5.5
95c8ebbe0e
postfwd defaults: keep lines with the wanted value, no reload if unchanged
...
- Never comment out a line that already has the wanted value, even if a
differing setting of the same variable precedes it.
- update_postfwd_defaults.sh: leave postfwd alone if nothing changed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-08 11:10:49 +01:00
chris and Claude Opus 5.5
39909a5b30
postfwd: install config from files/postfwd, idempotent /etc/default/postfwd handling
...
- Ship postfwd.cf and list files in files/postfwd; used by install_postfwd.sh
and install_postfix_advanced.sh (lists only if missing, cf with backup).
- Add update_postfwd_defaults.sh.
- install_amavis.sh: disable smtpd_end_of_data_restrictions on localhost:10025.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-08 10:53:21 +01:00
chris
ff7ebb59f5
install_postfix_base.sh: change value of 'inet_interfaces' to 'loopback-only'.
2026-10-28 11:40:57 +01:00
chris
4538071f28
Improve SRS installer preflight output and readiness summary
2026-10-25 23:48:58 +01:00
chris
efaa58fcf9
Add selective Postfix SRS installation and management
2026-10-25 22:20:12 +01:00
chris
e732e6d9d8
Archive remaining SRS development drafts from a.mx
2026-10-20 14:52:48 +02:00
chris
39b933b798
Archive discontinued selective SRS implementation
2026-10-20 14:41:48 +02:00
chris
3af1c29a16
Add offline SPF regression tests for SRS DNS preflight
2026-10-20 12:36:45 +02:00
chris
2b97fcd797
Improve SRS DNS preflight output and SPF status reporting
2026-10-20 12:29:17 +02:00
chris
b9adecf3d6
Suggest hostname-based SRS domain for first installation
2026-10-20 12:03:11 +02:00
chris
53b92f7867
Extend selective SRS management and add installer tests
2026-10-20 11:20:38 +02:00
chris
3a7248191c
Add SRS implementation - scripts and configuration files.
2026-10-18 13:13:20 +02:00
chris
52d9813229
Add SRS activation/deactivation scripts and shared config/helper
2026-10-17 18:11:57 +02:00
chris
c10529685a
Add SRS activation/deactivation scripts and shared config/helper
2026-10-17 18:09:00 +02:00
chris
ade941486d
README-SRS.md: Explanation of what the abbreviation SRS stands for.
2026-10-17 13:23:07 +02:00
chris
3e525c4bde
Add Readme files for Sender Rewriting Scheme (SRS).
2026-10-17 13:20:39 +02:00
chris
26aded391c
update_clamav-unofficial-sigs.sh: change default SI signatur.
2026-09-20 16:12:45 +02:00
chris
b9aaeea84e
install_amavis.conf.sample: change _SI_AUTHORISATION_SIGNATURE ..
2026-09-20 16:00:53 +02:00
chris
6e6ebc07a4
Amavis install / ClamAV unofficial update: adjust '_SI_AUTHORISATION_SIGNATURE'.
2026-09-04 16:14:53 +02:00
chris
3fbb5da5de
update_clamav-unofficial-sigs.sh: Set up the script so that it can resume if cloning the Git repository fails.
2026-09-04 09:45:30 +02:00
chris
b73fa92d43
install_postfix_base.sh,install_postfix_advanced.sh: add libsasl2-modules-db to the reqired debian packages.
2026-07-17 14:58:44 +02:00
chris
bb8cd0c2cc
install_roundcube.sh: change cronjob for cleaning up db.
2026-07-11 02:00:24 +02:00
chris
2d288c6705
Merge branch 'master' of https://git.oopen.de/install/mailsystem
2026-07-04 00:34:59 +02:00
chris
a96c92524e
upgrade_roundcube.sh: the script is no longer paused as usual (for example, to disable plugins).
2026-07-04 00:34:31 +02:00
chris
dd105ad5d9
Add rebuild_roundcube_config.php for regenerating Roundcube config
2026-07-03 23:12:53 +02:00
chris
7fb1ac4511
Rename ol dovecot install/upgrade script.
2026-07-03 18:45:14 +02:00
chris
cb3079a7ae
migrate_markasjunk2_to_markasjunk.sh: migrate from extern deprecated markasjunk plugin to the core one.
2026-07-03 17:44:08 +02:00
chris
5a7e79d8c4
upgrade_roundcube.sh: Allow upgrading to the even installed version.
2026-07-03 17:42:59 +02:00
chris
d60cb62d8f
upgrade_roundcube.sh: some fixes..
2026-07-03 17:08:56 +02:00
chris
5b9e632fe4
upgrade_roundcube.sh: make upügrade script ready for newer composer and newer roundcube installation.
2026-07-03 12:26:59 +02:00
chris
7be12b675c
Add skript 'update_quota2_mariadb.sh'.
2026-07-02 03:19:09 +02:00
chris
d385627251
Merge branch 'master' of https://git.oopen.de/install/mailsystem
2026-07-02 02:23:59 +02: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
8df8b715c7
Add script 'update_quota2_psql.sh'.
2026-07-02 01:20:25 +02:00
chris
b90c692af1
install_postfixadmin.sh: create composer.lock bevor installing/updating postfixadmin.
2026-07-02 01:19:38 +02:00
chris
d917dc69bb
install_quota_clone.sh: enhance config.local.php detection logic for PostfixAdmin
2026-06-29 16:49:59 +02:00
chris
4c9a34d234
install_quota_clone.sh: remove hardcoded PostfixAdmin path and add interactive symlink detection
2026-06-29 16:24: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
163fc55a6d
initialize workspace configuration file
2026-06-19 11:47:24 +02:00
chris
d92941ed96
install_postfix_advanced.sh: add SPF sender whitelist configuration
2026-06-19 11:46:17 +02:00
chris
b99844c1b5
install_postfixadmin.sh: remove space..
2026-02-18 18:53:38 +01:00
chris
691c34fa18
Merge branch 'master' of https://git.oopen.de/install/mailsystem
2026-02-18 18:48:01 +01:00
chris
1ca6031fea
install_postfixadmin.sh: fix error determin PFA configuration file.
2026-02-18 18:47:25 +01:00
chris
8234254094
Merge branch 'master' of git.oopen.de:install/mailsystem
2026-02-18 12:38:47 +01:00
chris
afff836253
install_postfix_advanced.sh: comment entries '127.0.0.1:10040_time_limit=3600' and 'policyd-spf_time_limit=3600'.
2026-02-18 12:38:33 +01:00
chris
5a8280b767
install_amavis.sh: in any case, IS_SYMPA_LIST_SERVER must be set to false except server ist a sympa listmanager.
2026-02-16 14:01:12 +01:00
chris
7c99515e72
install_postfix_advanced.sh: some minor changes.
2026-02-16 13:32:21 +01:00
chris
ef963e89fc
install_amavis.sh: separate amavis inbound (port 10024) amd outbound (10029) in case of sympa listserver or 'only relay' server.
2026-02-16 00:17:56 +01:00
chris
654e5738d4
install_postfix_advanced.sh: fix error - forgot 'fi'..
2026-02-16 00:15:57 +01:00
chris
6356876ab6
Change some settings, if Server is a listserver.
2026-02-15 14:37:19 +01:00
chris
ee892a6b33
Add script 'set-policyd-spf-config-for-listserver.sh' - More relaxed settings for Listenserver.
2026-02-15 14:36:21 +01:00
chris
7741803f71
install_amavis.sh: fix some error writing file '50-user'.
2026-02-13 23:46:22 +01:00
chris
da1867ef91
install_amavis.sh: some minor changes..
2026-02-13 22:47:16 +01:00
chris
8dc105be68
install_amavis.sh: port 25 (smtp/inbound) → Amavis 10024 (NOT ORIGINATING); submission/smtps (outbound) → Amavis 10026 (ORIGINATING).
2026-02-13 21:50:15 +01:00
chris
6bc490bfc1
add script 'set_amavis_local_domains_maps.sh'.
2026-02-13 21:43:42 +01:00
chris
c6c6491ce0
install_postfix_advanced.sh: remove some commented lines written to master.cf file.
2026-02-13 15:02:45 +01:00
chris
abb2941e4b
install_postfix_advanced.sh: fix error checcking if 'policy-spf' is already present in master.cf file.
2026-02-13 14:59:58 +01:00
chris
6d516ed25a
install_postfix_advanced.sh: remove depredated parameter 'permit_mx_backup'.
2026-02-11 21:20:00 +01:00
chris
c6909c937d
Merge branch 'master' of git.oopen.de:install/mailsystem
2026-02-11 21:17:33 +01:00
chris
9708c595c4
install_update_dovecot.conf.sample: fix parameter 'cert_base_dir'.
2026-02-11 21:16:37 +01:00
chris
9c52e54182
install_postfixadmin.sh: configuration file at version 4.x is 'config.local.php'.
2026-02-11 00:47:05 +01:00
chris
849cbfa2e4
install_postfixadmin.sh: some minor changes.
2026-02-10 23:58:58 +01:00
chris
0a51e44b93
install_amavis.sh: some minor changes..
2026-02-10 15:27:39 +01:00
chris
16618f9949
install_opendmarc.sh: no opendmarc check on non_smtpd connections.
2026-02-10 15:02:05 +01:00
chris
b4b47d5a79
install_amavis.sh: keine milters auf localhost:10025. install_postfix_advanced.sh: kein OpenDmarc bei non_smtpd_milters. (DMARC ist eine Inbound-Policy-Prüfung, nicht sinnvoll für lokal/originating.)
2026-02-10 14:14:53 +01:00
chris
d1694bf3a4
install_postfix_advanced.sh: adjust '/etc/postfix/header_checks'.
2026-02-10 00:37:03 +01:00
chris
ee1e2d0b7e
install_amavis.sh: add spamassassin rule for Null sender ( (Return-Path: <>).
2026-02-10 00:35:10 +01:00
chris
96a77260c3
Merge branch 'master' of https://git.oopen.de/install/mailsystem
2026-02-04 22:23:01 +01:00
chris
71be7f0754
install_update_dovecot.sh: relax/defuse systemd-hardening
2026-02-04 22:22:31 +01:00
chris
e82b464115
install_postfixadmin.sh: add support for versions 4.x
2026-02-04 21:08:22 +01:00
chris
7163b2dccf
install_opendmarc.sh: fix errors in adjustin main.cf file.
2026-02-02 19:44:41 +01:00
chris
b39e6c8f22
install_opendkim.sh fix errors in adjustin main.cf file.
2026-02-02 19:44:20 +01:00
chris
119f0e172f
install_postfix_advanced.sh: fix OpenDKIM/OpenDMARC handling.
2026-02-02 19:43:18 +01: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
e3c2df0f3b
README.install: a minor change.
2026-01-11 00:42:08 +01:00
chris
2f3e513f04
Merge branch 'master' of https://git.oopen.de/install/mailsystem
2026-01-10 14:46:44 +01:00
chris
876fae3364
install_postfixadmin.sh: dovecot changed quota: ist now determined directly from filesystem. this isn't supported ba postfixadmin - so disable quota view for mailboxes.
2026-01-10 14:46:11 +01:00
chris
3032337c7d
Provide systemd.pc wrapper so pkg-config exposes systemdsystemunitdir.
2026-01-09 21:46:13 +01:00
chris
4240bc3b14
install_amavis.sh: remoce deprecated parameter disable_dns_lookups for transport 'amavisfeed'.
2026-01-08 13:55:22 +01:00
chris
14fc0b0578
Merge branch 'master' of git.oopen.de:install/mailsystem
2026-01-08 13:50:07 +01:00
chris
6a827cba44
install_postfix_advanced.sh,install_postfix_base.sh: comment deprecated parameter 'smtpd_tls_dh1024_param_file'.
2026-01-08 13:49:40 +01:00
chris
0ec563bb3c
Merge branch 'master' of https://git.oopen.de/install/mailsystem
2026-01-07 01:59:52 +01:00
chris
027930ae6e
install_opendmarc.sh: adjust writing milter directives to postfix's main.cf.
2026-01-07 01:59:36 +01:00
chris
20da412413
install_opendkim.sh: adjust writing milter directives to postfix's main.cf.
2026-01-07 01:59:22 +01:00
chris
e829868645
install_opendkim.sh: move FQHN from '/etc/opendkim/trusted'.
2026-01-07 01:53:46 +01:00
chris
5b853a26cb
Backup old (Post-Queue setting) installation scripts.
2026-01-07 00:14:36 +01:00