dovecot service: require mail{User,Group} with sieveScripts
fixes #17702.
This commit is contained in:
parent
39e197ab1c
commit
492a90f1c9
|
@ -271,6 +271,9 @@ in
|
|||
{ assertion = cfg.showPAMFailure -> cfg.enablePAM;
|
||||
message = "dovecot is configured with showPAMFailure while enablePAM is disabled";
|
||||
}
|
||||
{ assertion = (cfg.sieveScripts != {}) -> ((cfg.mailUser != null) && (cfg.mailGroup != null));
|
||||
message = "dovecot requires mailUser and mailGroup to be set when sieveScripts is set";
|
||||
}
|
||||
];
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue