diff --git a/exec/listserver.js b/exec/listserver.js index 6aab3ac12eb4ce1d36d4d888b742ce84294597fa..d7c6aa0d06b9980e9c9d9d4448d54fc9ac7b8c70 100644 --- a/exec/listserver.js +++ b/exec/listserver.js @@ -137,14 +137,14 @@ if(this.recipient_list_filename!=undefined) { for(var p in list) log("list_array["+l+"]."+p+" = "+list[p]); **/ - if(rcpt_list[r].Recipient.toLowerCase()==list.address.toLowerCase() + if(rcpt_list[r].To.toLowerCase()==list.address.toLowerCase() && !list.disabled && !list.readonly) break; } if(l<list_array.length) { /* match found */ log(LOG_INFO,format("ListServer: Contribution message from %s to %s: %s" - ,header.from, rcpt_list[r].Recipient, header.subject)); + ,header.from, rcpt_list[r].To, header.subject)); handled=true; if(!process_contribution(header, body, list)) break;