Stalwart: Difference between revisions

imported>Onny
Add see also section
imported>H3ndrik
fix options that don't belong into "server"
Line 28: Line 28:
         };
         };
       };
       };
      session = {
    };
        rcpt.directory = "in-memory";
    session = {
        auth = {
      rcpt.directory = "in-memory";
          mechanisms = [ "PLAIN" ];
      auth = {
          directory = "in-memory";
        mechanisms = [ "PLAIN" ];
         };
         directory = "in-memory";
      };
      jmap.directory = "in-memory";
      queue.outbound.next-hop = [ "local" ];
      directory."in-memory" = {
        type = "memory";
        users = [
          {
            name = "alice";
            secret = "foobar";
            email = [ "alice@${domain}" ];
          }
          {
            name = "bob";
            secret = "foobar";
            email = [ "bob@${domain}" ];
          }
        ];
       };
       };
    };
    jmap.directory = "in-memory";
    queue.outbound.next-hop = [ "local" ];
    directory."in-memory" = {
      type = "memory";
      users = [
        {
          name = "alice";
          secret = "foobar";
          email = [ "alice@${domain}" ];
        }
        {
          name = "bob";
          secret = "foobar";
          email = [ "bob@${domain}" ];
        }
      ];
     };
     };
   };
   };