diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2021-10-21 07:53:17 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2021-10-21 07:55:02 +0000 |
| commit | 3dd9fc88c51ded61d200eab2341b5dfd796509da (patch) | |
| tree | 3dc78c729aec0719060ae7e64b88d0e43f8f5ad0 /mail | |
| parent | bbee7e13926922adb8a87ab9cb1416e792897b0a (diff) | |
Diffstat (limited to 'mail')
| -rw-r--r-- | mail/mlmmj/Makefile | 2 | ||||
| -rw-r--r-- | mail/mlmmj/files/patch-send-list | 29 |
2 files changed, 30 insertions, 1 deletions
diff --git a/mail/mlmmj/Makefile b/mail/mlmmj/Makefile index 1797d99b8a2f..8d75ef9c50dd 100644 --- a/mail/mlmmj/Makefile +++ b/mail/mlmmj/Makefile @@ -2,7 +2,7 @@ PORTNAME= mlmmj PORTVERSION= 1.3.0 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= mail MASTER_SITES= http://mlmmj.org/releases/ diff --git a/mail/mlmmj/files/patch-send-list b/mail/mlmmj/files/patch-send-list new file mode 100644 index 000000000000..bcaaf118d975 --- /dev/null +++ b/mail/mlmmj/files/patch-send-list @@ -0,0 +1,29 @@ +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"); |
