anchor.diff:          gid = config.ids.gids.dovecot2;
         };
   
  -    jobs.dovecot2 =
  +    systemd.services.dovecot2 =
         { description = "Dovecot IMAP/POP3 server";
   
  -        startOn = "started networking";
  +        after = [ "network.target" ];
  +        wantedBy = [ "multi-user.target" ];
   
           preStart =
             ''
  
positive.code:         default = "";
          example = "mail_debug = yes";
          description = "Additional entries to put verbatim into Dovecot's config file.";
        };
  
        mailLocation = mkOption {
  
negative.code:             ${pkgs.coreutils}/bin/chown -R ${cfg.user}:${cfg.group} /var/run/dovecot2
            '';
  
          serviceConfig = {
            ExecStart = "${pkgs.dovecot}/sbin/dovecot -F -c ${cfg.configFile}";
            Restart = "on-failure";
            RestartSec = "1s";
            StartLimitInterval = "1min";
          };
  
        };
  
      environment.systemPackages = [ pkgs.dovecot ];
  