mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 03:16:28 -04:00
mail/mlmmj: add a patch to disable bounce probe
This commit is contained in:
parent
5b8888a876
commit
d7f10130e0
2 changed files with 16 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
PORTNAME= mlmmj
|
||||
PORTVERSION= 1.3.0
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://mlmmj.org/releases/
|
||||
|
||||
|
|
15
mail/mlmmj/files/patch-nobounceprobe
Normal file
15
mail/mlmmj/files/patch-nobounceprobe
Normal file
|
@ -0,0 +1,15 @@
|
|||
diff --git src/mlmmj-maintd.c src/mlmmj-maintd.c
|
||||
index 02cfd16..5ac35da 100644
|
||||
--- src/mlmmj-maintd.c
|
||||
+++ src/mlmmj-maintd.c
|
||||
@@ -601,6 +601,10 @@ int probe_bouncers(const char *listdir, const char *mlmmjbounce)
|
||||
pid_t pid, childpid;
|
||||
int status;
|
||||
|
||||
+ if (statctrl(listdir, "nobounceprobe")) {
|
||||
+ return 0;
|
||||
+ }
|
||||
+
|
||||
if(chdir(dirname) < 0) {
|
||||
log_error(LOG_ARGS, "Could not chdir(%s)", dirname);
|
||||
myfree(dirname);
|
Loading…
Add table
Reference in a new issue