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

Support optional list "submitter" which specifies the email address of the only

authorized submission sender's email address.
parent dd4be753
Branches
Tags
No related merge requests found
......@@ -562,7 +562,8 @@ function process_contribution(header, body, list)
// verify author/sender is a list subscriber here
if(find_user(user_list, sender_address)==-1) {
if(sender_address!=list.submitter
&& find_user(user_list, sender_address)==-1) {
error_file.writeln(log(LOG_WARNING,format("%s !ERROR %s is not a subscriber"
,list.name, sender_address)));
// error_file.writeln();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment