From: Baptiste Daroussin Date: Thu, 13 Apr 2023 07:38:21 +0000 (+0200) Subject: +get: add TODO X-Git-Tag: RELEASE_1_4_0b1~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf47fafd065102cb086a26d808cd76cfb2107c22;p=thirdparty%2Fmlmmj.git +get: add TODO add an information about the necessity to code the requeue of the fail to send emails, previous code using -6 was not working either, it was just polluting the archives and mlmmj-maintd would never have catched up the mail to requeue --- diff --git a/src/listcontrol.c b/src/listcontrol.c index 405093c3..aac45ae2 100644 --- a/src/listcontrol.c +++ b/src/listcontrol.c @@ -644,8 +644,10 @@ permit: mail.fp = fdopen(fd, "r"); log_oper(ml->fd, OPLOGFNAME, "%s got archive/%s", tll_front(*fromemails), param); - if (!send_single_mail(&mail, ml, false)) + if (!send_single_mail(&mail, ml, true)) { + /* TODO: save to queue */ return (-1); + } break; /* listname+list@domain.tld */