version 1.4, 2025/02/17 15:55:49
|
version 1.5, 2025/02/17 17:16:26
|
Line 10
|
Line 10
|
# Licensed AGPL-3.0 |
# Licensed AGPL-3.0 |
# |
# |
# $Log$ |
# $Log$ |
|
# Revision 1.5 2025/02/17 17:16:26 snw |
|
# Make password changes apply to the actual dovecot users file, though hardcoded to NetBSD paths |
|
# |
# Revision 1.4 2025/02/17 15:55:49 snw |
# Revision 1.4 2025/02/17 15:55:49 snw |
# Fix password change form action URL |
# Fix password change form action URL |
# |
# |
Line 376 END_EPW
|
Line 379 END_EPW
|
flock FH, 8; |
flock FH, 8; |
close FH; |
close FH; |
|
|
open(FH, '>', '/tmp/users.new'); |
open(FH, '>', '/usr/pkg/etc/dovecot/users'); |
flock(FH, 2); |
flock(FH, 2); |
seek(FH, 0, 0); |
seek(FH, 0, 0); |
truncate(FH, 0); |
truncate(FH, 0); |