default: fatal(0, "invalid option");
}
}
+ if(online_registration && !config->mail_sender)
+ fatal(0, "you MUST set mail_sender if you want online registration");
if(disorder_adduser(getclient(), "guest", "",
online_registration ? "read,register" : "read"))
exit(EXIT_FAILURE);
.IP
With the option \fB--no-online-registration\fR, the "register" right is
suppressed and users must be manually created by an administrator.
+.IP
+If online registration is desired then \fBmail_sender\fR must be set in the
+configuration file. See \fBdisorder_config\fR(5).
.TP
.B shutdown
Shut down the daemon.
speaker_backend network
broadcast 127.0.0.1 %d
broadcast_from 127.0.0.1 %d
+mail_sender no.such.user.sorry@greenend.org.uk
""" % (testroot, testroot, testroot, top_builddir, top_builddir,
port, port + 1))