Add nextcloud crond and fix SMTP smuggling

This commit is contained in:
Mathieu Strypsteen 2024-03-06 09:05:00 +01:00
parent 3ada6db69e
commit 4b23f06646
Signed by: mathieu
GPG key ID: 782A42E461BC6824
4 changed files with 5 additions and 1 deletions

View file

@ -16,3 +16,4 @@ suppress_key_server_warning: true
turn_uris: ['turn:vps.strypsteen.com']
turn_allow_guests: false
delete_stale_devices_after: 1y
max_upload_size: 250M

View file

@ -45,6 +45,7 @@ smtpd_sender_restrictions = reject_non_fqdn_sender reject_unknown_sender_domain
smtpd_helo_required = yes
smtpd_helo_restrictions = reject_invalid_helo_hostname reject_non_fqdn_helo_hostname permit_sasl_authenticated reject_unknown_helo_hostname
smtpd_client_restrictions = permit_sasl_authenticated reject_unknown_reverse_client_hostname
smtpd_forbid_bare_newline = normalize
smtpd_milters = inet:systemd-rspamd:11332
non_smtpd_milters = $smtpd_milters

View file

@ -6,7 +6,7 @@ Image=docker.io/nextcloud
PodmanArgs=--entrypoint=sh
UserNS=auto
Network=nginx.network
Exec=-c "chown -Rh www-data:www-data /var/www/html && /entrypoint.sh apache2-foreground"
Exec=-c "chown -Rh www-data:www-data /var/www/html && busybox crond && /entrypoint.sh apache2-foreground"
Volume=nextcloud.volume:/var/www/html:U,Z
Environment=OVERWRITEPROTOCOL=https
AutoUpdate=registry

View file

@ -1,6 +1,8 @@
[Unit]
Requires=podman-container.service
After=podman-container.service
[Service]
ExecStartPre=sleep 1
[Container]
Image=docker.io/gitea/act_runner
Volume=podman-run.volume:/run/podman:z