anchor.diff:        passdb {
           driver = pam
           args = ${optionalString cfg.showPAMFailure "failure_show_msg=yes"} dovecot2
  +      }
  +    '')
  +
  +    (optionalString (cfg.sieveScripts != {}) ''
  +      plugin {
  +        ${concatStringsSep "\n" (mapAttrsToList (to: from: "sieve_${to} = ${stateDir}/sieve/${to}") cfg.sieveScripts)}
         }
       '')
   
  
positive.code:         StartLimitInterval = "1min";
          RuntimeDirectory = [ "dovecot2" ];
        };
      };
  
      environment.systemPackages = [ dovecotPkg ];
  
negative.code:       description = "Whether to create a own Dovecot PAM service and configure PAM user logins.";
      };
  
      sieveScripts = mkOption {
        type = types.attrsOf types.path;
        default = {};
        description = "Sieve scripts to be executed. Key is a sequence, e.g. 'before2', 'after' etc.";
      };
  
      showPAMFailure = mkOption {
        type = types.bool;
        default = false;
  