Skip to content
Snippets Groups Projects
Commit d4cc43e4 authored by rswindell's avatar rswindell
Browse files

Created mail server option to allow SMTP relay from authenticated users.

parent 460cfb62
Branches
Tags
No related merge requests found
......@@ -126,6 +126,7 @@ static const char* usage = "usage: %s [[setting] [...]]\n"
"\tmr<addr> set SMTP relay server (and enable SMTP relay)\n"
"\tmd<addr> set DNS server address for MX-record lookups\n"
"\tmo<value> set Mail server options value (advanced)\n"
"\tma allow SMTP relays from authenticated users\n"
"\tm- disable Mail server (entirely)\n"
"\tmp- disable POP3 server\n"
"\tms- disable SendMail thread\n"
......@@ -894,6 +895,9 @@ int main(int argc, char** argv)
case 'D': /* DNS Server */
SAFECOPY(mail_startup.dns_server,arg);
break;
case 'A':
mail_startup.options|=MAIL_OPT_ALLOW_RELAY;
break;
default:
printf(usage,argv[0]);
return(0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment