diff --git src/mlmmj-process.c src/mlmmj-process.c index 82e4d04..d324d18 100644 --- src/mlmmj-process.c +++ src/mlmmj-process.c @@ -478,6 +478,7 @@ int main(int argc, char **argv) struct email_container rpemails = { 0, NULL }; struct email_container dtemails = { 0, NULL }; struct strlist *access_rules = NULL; + struct strlist *list_rules = NULL; struct strlist *delheaders = NULL; struct strlist allheaders; struct strlist *listaddrs = NULL; @@ -1027,6 +1028,16 @@ int main(int argc, char **argv) } } + list_rules = ctrlvalues(listdir, "send"); + if (list_rules != NULL) { + for (i = 0; i < list_rules->count; i++) { + if (strcasecmp(posteraddr, list_rules->strs[i]) == 0) { + send = 1; + break; + } + } + } + subonlypost = statctrl(listdir, "subonlypost"); modonlypost = statctrl(listdir, "modonlypost"); modnonsubposts = statctrl(listdir, "modnonsubposts");