You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
postfixadmin/password_expiration.sql

4 lines
210 B
MySQL

ALTER TABLE mailbox ADD COLUMN pw_expires_on TIMESTAMP DEFAULT now() not null;
UPDATE mailbox set pw_expires_on = now() + interval 90 day;
ALTER TABLE domain ADD COLUMN password_expiration_value int DEFAULT 0;