Commit Graph
76 Commits
Author SHA1 Message Date
chrisandClaude 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
chrisandClaude 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
chrisandClaude 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
Christoph 0674fb1231 install_amavis.sh: fix entering procedure of variable 'SASL_AUTH_ENABLED'. 2026-02-18 01:33:55 +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 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 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 0a51e44b93 install_amavis.sh: some minor changes.. 2026-02-10 15:27:39 +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 ee1e2d0b7e install_amavis.sh: add spamassassin rule for Null sender ( (Return-Path: <>). 2026-02-10 00:35:10 +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 cd39cb98b8 install_amavis.sh: change to 'Post-Queue' setting. 2026-01-07 00:13:13 +01:00
chris 4360717cfe install_amavis.sh: forgot 'fi' - fixed. 2026-01-05 01:06:31 +01:00
chris 59488b9065 install_postfix_advanced.sh: add support for debian 13 systems. 2026-01-04 23:16:04 +01:00
chris b87793cbad Fis systemd support on debian system version 13 (trixie) or newer. 2025-12-15 01:23:16 +01:00
Christoph cc155c578a install_amavis.sh: fix error in creating master.cf if aditional port is used. 2025-12-10 02:13:58 +01:00
chris ecfd630612 install_amavis.sh: no warn messages from amavis to admin. 2025-12-09 13:50:52 +01:00
chris 68d2bd18b7 install_amavis.sh: some minor changes. 2025-12-09 00:01:31 +01:00
Christoph 6521b03aa2 install_amavis.sh: adjust printing master.cf. 2025-12-08 23:44:29 +01:00
chris f2f3797c1e install_amavis.sh: Some minor changes. 2025-12-08 19:14:37 +01:00
chris eb18cf2a84 Fix errors handling DKIM signatures and DMARC proofs. 2025-11-25 22:34:40 +01:00
chris cc06fe5cfa install_amavis.sh: fix errors in if statements: replace ':' with ';'. 2025-05-14 10:26:50 +02:00
chris 9b12e32853 install_amavis.sh: Moving SPAM policies into an external file. 2025-03-03 17:57:22 +01:00
Christoph 7b6e4c36d0 install_amavis.sh,install_postfix_advanced.sh: support additional smtp port in case of relay host. 2025-01-27 18:50:01 +01:00
chris f1f56f48f6 install_amavis.sh: fix error in if statement. 2024-10-01 17:27:21 +02:00
chris 307c47d4a5 install_amavis.sh: adjust '_needed_packages_clamav'. 2024-09-26 16:19:25 +02:00
chris 1d78a7e4b3 Merge branch 'master' of https://git.oopen.de/install/mailsystem 2024-09-18 19:38:15 +02:00
chris 6c3c0c596b install_amavis.sh: fix error in adding SecuriteInfo signatures to freshclam.conf. 2024-09-18 19:37:54 +02:00
chris b069fdac30 install_amavis.sh: SecuriteInfo was moved to ClamAV's Freshclam. Also get rid of trailling spaces. 2024-09-18 16:46:38 +02:00
ckubu da37fc1938 install_amavis.sh: add support for SecuriteInfo signatur databases at clamav-freshclam. 2024-08-31 22:59:44 +02:00
ckubu d189d8c4e9 install_amavis.sh: change cooment for SecuritoInfo accounts. 2024-08-31 22:17:25 +02:00
ckubu d0816ecf1c install_amavis.sh: change variable DEFAULT_SI_AUTHORISATION_SIGNATURE_OOPEN. 2024-08-31 22:01:08 +02:00
chris e48b35bdd1 install_amavis.sh: fix error on data input. 2023-12-08 18:09:12 +01:00
Christoph e595f034d8 install_amavis.sh: fix error in writing 'master.cf' in case of SASL AUTH enabled. 2023-11-21 21:03:14 +01:00
chris 30db99c91e install_amavis.sh: adjust spamassassin's local.cnf file. 2023-11-07 11:44:59 +01:00
chris 25d24ccdfc install_amavis.sh: add debian package 'libnet-patricia-perl'. 2023-10-23 01:08:10 +02:00
chris e50d23d9e8 install_amavis.sh: some minor changes/fixes 2023-10-22 18:56:34 +02:00
chris 2984da58c9 install_amavis.sh: some fixes to support debian version 12. 2023-10-22 17:54:47 +02:00
chris 0e9f2d739b install_amavis.sh: install 'libclamunrar11' in case of debian 12 (bookworm). 2023-06-24 09:57:44 +02:00
chris db1c2fd72b install_amavis.sh: some changes (i.e. port number) for whitelisted sender addresses. 2023-05-18 12:51:27 +02:00
chris 058ea39ce7 install_amavis.sh: forgot to add tcp port 10026 .. 2023-05-17 02:16:44 +02:00
chris 225d8f83c6 install_amavis.sh: do virus check on whitelisted addresses. 2023-05-17 01:52:02 +02:00
chris 73acfa1c97 install_amavis.sh: change deprecated entry '& ~' to '& stop' resolv.conf 2022-12-10 13:43:03 +01:00
chris 8b34b552ba install_amavis.sh: backup directory '/etc/clamav-unofficial-sigs' if already exists. 2022-10-25 01:53:43 +02:00
chris ecb0037e16 install_postfix_advanced.sh,install_amavis.sh: fix some error creating master.cf. 2022-09-26 02:54:07 +02:00
chris f1c4604992 install_amavis.sh: inor changes to script output. 2022-09-21 12:17:12 +02:00
chris 15227fe449 install_amavis.sh: fix error. 2021-12-23 01:42:42 +01:00
chris 39859dcb51 install_amavis.sh: some changes installing 'clamav-unofficial-sigs'. 2021-12-22 00:52:13 +01:00