sdfsdf
This commit is contained in:
parent
d516979b12
commit
56c83ec182
|
|
@ -68,13 +68,9 @@ def sync():
|
|||
# Compile
|
||||
os.system(f'sievec {sieve_path}')
|
||||
|
||||
# Activate via symlink
|
||||
sieve_dir = mailbox_dir / 'sieve'
|
||||
sieve_dir.mkdir(exist_ok=True)
|
||||
active_link = sieve_dir / '.dovecot.sieve'
|
||||
if active_link.exists():
|
||||
active_link.unlink()
|
||||
active_link.symlink_to('../.dovecot.sieve')
|
||||
# Set ownership to mail user
|
||||
os.system(f'chown docker:docker {sieve_path}')
|
||||
os.system(f'chown docker:docker {sieve_path}.svbin')
|
||||
|
||||
print(f'✓ {email}')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue