This commit is contained in:
Andreas Knuth 2026-01-24 16:24:11 -06:00
parent 56c83ec182
commit 92d3a1a858
1 changed files with 5 additions and 3 deletions

View File

@ -68,9 +68,11 @@ def sync():
# Compile # Compile
os.system(f'sievec {sieve_path}') os.system(f'sievec {sieve_path}')
# Set ownership to mail user # Set ownership
os.system(f'chown docker:docker {sieve_path}') os.system(f'chown docker:docker {sieve_path}')
os.system(f'chown docker:docker {sieve_path}.svbin') svbin_path = f'{sieve_path}.svbin'
if os.path.exists(svbin_path):
os.system(f'chown docker:docker {svbin_path}')
print(f'{email}') print(f'{email}')