]>
git.ipfire.org Git - thirdparty/mlmmj.git/log
Siva Mahadevan [Tue, 11 Jun 2024 15:05:46 +0000 (11:05 -0400)]
mlmmj-process: fix duplicate queued moderation notification email
Baptiste Daroussin [Thu, 6 Jun 2024 11:27:32 +0000 (13:27 +0200)]
release: 1.4.6
Baptiste Daroussin [Thu, 6 Jun 2024 08:16:34 +0000 (10:16 +0200)]
test: fix a test regarding RFC 5321
Baptiste Daroussin [Fri, 31 May 2024 13:42:07 +0000 (15:42 +0200)]
Fix another regression in RFC 5321
Baptiste Daroussin [Fri, 31 May 2024 08:54:46 +0000 (10:54 +0200)]
test: add a unit test about #30
prx [Fri, 10 May 2024 18:50:16 +0000 (20:50 +0200)]
remove unnecessary double quotes breaking cron on OpenBSD
Baptiste Daroussin [Mon, 6 May 2024 09:33:39 +0000 (11:33 +0200)]
README: remove name, some are inactive nowaday
Baptiste Daroussin [Mon, 6 May 2024 09:31:59 +0000 (11:31 +0200)]
TUNABLES: fix rendering
Baptiste Daroussin [Mon, 6 May 2024 09:27:18 +0000 (11:27 +0200)]
security: remove note which might not be accurate anymore
Baptiste Daroussin [Mon, 6 May 2024 09:26:12 +0000 (11:26 +0200)]
README.*: convert all to READMEs to markdown
Baptiste Daroussin [Mon, 6 May 2024 09:03:02 +0000 (11:03 +0200)]
README.exim4: convert to markdown
Baptiste Daroussin [Mon, 6 May 2024 08:45:48 +0000 (10:45 +0200)]
README.archives: rename to .md
Baptiste Daroussin [Mon, 6 May 2024 08:39:44 +0000 (10:39 +0200)]
README.access: convert to markdown
Baptiste Daroussin [Mon, 6 May 2024 08:36:53 +0000 (10:36 +0200)]
README: fix formatting the hierarchy
Baptiste Daroussin [Mon, 6 May 2024 08:33:54 +0000 (10:33 +0200)]
README: update to match current state and convert to markdown
Baptiste Daroussin [Fri, 3 May 2024 14:58:16 +0000 (16:58 +0200)]
build: we don't need to link to librt at all
Baptiste Daroussin [Tue, 26 Mar 2024 07:48:37 +0000 (08:48 +0100)]
release: 1.4.5
Baptiste Daroussin [Tue, 26 Mar 2024 07:44:54 +0000 (08:44 +0100)]
sendmail: also log the RCPT when receiving a SMTP failure
This helps debugging
Baptiste Daroussin [Fri, 1 Mar 2024 21:15:33 +0000 (22:15 +0100)]
ci: add debian/unstable
Michael Jeanson [Fri, 1 Mar 2024 19:10:02 +0000 (14:10 -0500)]
WIP: Should use rhost?
I'm not sure this is the correct fix but the current code tries to
duplicate the string 'relayhost' which is always NULL at this point.
In file included from send_mail.c:39:
In function ‘xstrdup’,
inlined from ‘newsmtp’ at send_mail.c:362:15:
../include/xmalloc.h:34:19: warning: argument 1 null where non-null expected [-Wnonnull]
34 | char *s = strdup(str);
| ^~~~~~~~~~~
In file included from ../include/log_error.h:28,
from send_mail.c:34:
/usr/include/string.h: In function ‘newsmtp’:
/usr/include/string.h:187:14: note: in a call to function ‘strdup’ declared ‘nonnull’
187 | extern char *strdup (const char *__s)
| ^~~~~~
Signed-off-by: Michael Jeanson <mjeanson@debian.org>
Michael Jeanson [Fri, 1 Mar 2024 19:19:38 +0000 (14:19 -0500)]
Add GCC pragma ignore to tests
Add the GCC version of the ignore pragma.
Signed-off-by: Michael Jeanson <mjeanson@debian.org>
Michael Jeanson [Thu, 15 Feb 2024 18:50:31 +0000 (13:50 -0500)]
Add 'atf-sh' detection to configure
The configure script now checks for the 'atf-sh' binary when the test
suite is enabled. The binary found is then used in the test script
shebang. As an added bonus, the test script generation is now done by
AC_CONFIG_FILES instead of the Makefile copy custom rules.
Signed-off-by: Michael Jeanson <mjeanson@debian.org>
Michael Jeanson [Thu, 15 Feb 2024 18:42:56 +0000 (13:42 -0500)]
Use the configured 'kyua' binary to run the tests
The configure script uses 'AC_PATH_PROG' to find a kyua binary, use it
in the Makefile to run the test suite.
Signed-off-by: Michael Jeanson <mjeanson@debian.org>
Michael Jeanson [Thu, 15 Feb 2024 19:33:17 +0000 (14:33 -0500)]
Add missing file 'dsnmail' to distribution
The file was missing in release tarballs.
Signed-off-by: Michael Jeanson <mjeanson@debian.org>
Baptiste Daroussin [Mon, 26 Feb 2024 15:01:03 +0000 (16:01 +0100)]
ci: add a debian builder
Michael Jeanson [Mon, 12 Feb 2024 22:35:20 +0000 (17:35 -0500)]
Add .gitignore to ignore built files
Signed-off-by: Michael Jeanson <mjeanson@debian.org>
Michael Jeanson [Mon, 12 Feb 2024 23:12:55 +0000 (18:12 -0500)]
Fix the test suite for Out of tree builds
Move the test suite to the top level Makefile to allow proper
dependencies between the built files and the check target.
Add a generated 'kyua.conf' file to the build directory to pass the
top_srcdir and top_buildir variable from the build system to the test
suite.
Modify the test scripts to fetch the data files from the top_srcdir and
the generated files from the top_builddir variable.
Signed-off-by: Michael Jeanson <mjeanson@debian.org>
Michael Jeanson [Mon, 12 Feb 2024 22:53:42 +0000 (17:53 -0500)]
Add a configure option to disable tests
With the previous behavior, a missing dependency would silently disable
the test suite and could be error prone. Add a configure option to
explicitly disable the tests and build without Kyua and libatf.
Signed-off-by: Michael Jeanson <mjeanson@debian.org>
Michael Jeanson [Mon, 12 Feb 2024 22:29:10 +0000 (17:29 -0500)]
Modernize autotools
Set conservative base version requirements for Automake (>= 1.13) and
Autoconf (>= 2.69).
Enable silent rules (can be disabled with 'make V=1') and use a
subdirectory for auxiliary files.
Signed-off-by: Michael Jeanson <mjeanson@debian.org>
Michael Jeanson [Mon, 12 Feb 2024 22:21:01 +0000 (17:21 -0500)]
Centralize AUTOMAKE_OPTIONS in configure.ac
Signed-off-by: Michael Jeanson <mjeanson@debian.org>
Michael Jeanson [Mon, 12 Feb 2024 22:18:14 +0000 (17:18 -0500)]
Centralize common AM_CFLAGS/LDFLAGS in configure.ac
Signed-off-by: Michael Jeanson <mjeanson@debian.org>
Michael Jeanson [Mon, 12 Feb 2024 21:00:56 +0000 (16:00 -0500)]
Convert class.rFastTemplate.php from latin1 to utf-8
The 'copyright' characters could also be replaced by an ASCII
alternative.
Signed-off-by: Michael Jeanson <mjeanson@debian.org>
Michael Jeanson [Mon, 12 Feb 2024 19:06:20 +0000 (14:06 -0500)]
Fix misc typos
Fix the following typos in code and documentation:
occured -> occurred
subcribe -> subscribe
existance -> existence
Signed-off-by: Michael Jeanson <mjeanson@debian.org>
Baptiste Daroussin [Fri, 19 Jan 2024 10:35:35 +0000 (11:35 +0100)]
build: allow to build if atf and kyua are not present
Baptiste Daroussin [Fri, 19 Jan 2024 10:23:25 +0000 (11:23 +0100)]
configure: reduce the number of useless checks
Baptiste Daroussin [Fri, 19 Jan 2024 10:20:46 +0000 (11:20 +0100)]
configure: remove check for function available everywhere
Baptiste Daroussin [Thu, 11 Jan 2024 16:52:31 +0000 (17:52 +0100)]
release: 1.4.4
Baptiste Daroussin [Thu, 11 Jan 2024 16:44:42 +0000 (17:44 +0100)]
probes: fix a regression causing the probes not to sent the bounce numbers
move the code sending the probe into a reusable function for it to be
testable, add a unit test which checks the probes properly contains
what is expected.
Baptiste Daroussin [Thu, 11 Jan 2024 15:45:43 +0000 (16:45 +0100)]
bouncemail: add test
Fix a bug making the unsubscribed user bouncing to still create a file
Baptiste Daroussin [Fri, 22 Dec 2023 10:51:43 +0000 (11:51 +0100)]
parse_latestdigest: use chomp
Baptiste Daroussin [Thu, 21 Dec 2023 07:46:51 +0000 (08:46 +0100)]
release: 1.4.3
Baptiste Daroussin [Wed, 20 Dec 2023 13:04:01 +0000 (14:04 +0100)]
probes: update changelog regarding the last regression fix
Baptiste Daroussin [Wed, 20 Dec 2023 10:36:41 +0000 (11:36 +0100)]
bounce: only cleanup the probe file if sending the probe failed
Baptiste Daroussin [Mon, 18 Dec 2023 09:09:42 +0000 (10:09 +0100)]
release: 1.4.2
Baptiste Daroussin [Mon, 18 Dec 2023 09:02:07 +0000 (10:02 +0100)]
digest: trim the last element of lastdigest if needed
Add regression tests about it
Baptiste Daroussin [Mon, 18 Dec 2023 08:17:39 +0000 (09:17 +0100)]
parse_lastdigest: add a real test about what is expected
Baptiste Daroussin [Fri, 15 Dec 2023 15:53:42 +0000 (16:53 +0100)]
ci: add ci on sourcehut
Baptiste Daroussin [Sat, 9 Dec 2023 19:19:48 +0000 (20:19 +0100)]
release: 1.4.1
Baptiste Daroussin [Sat, 9 Dec 2023 19:18:49 +0000 (20:18 +0100)]
fix: incremental update
Baptiste Daroussin [Wed, 6 Dec 2023 16:05:19 +0000 (17:05 +0100)]
Release 1.4.0
Baptiste Daroussin [Thu, 30 Nov 2023 06:01:44 +0000 (07:01 +0100)]
1.4.0-rc3
raph [Tue, 21 Nov 2023 09:57:03 +0000 (09:57 +0000)]
Fix interactive prompt issue with spool directory option
Baptiste Daroussin [Thu, 9 Nov 2023 10:20:41 +0000 (11:20 +0100)]
write mail: fix regression regarding RFC 5321
if a line on the email to write only contains a dot, then the
dot should be doubled otherwise the mail server will consider it
as the end of the DATA and will prematurely terminate the email.
Baptiste Daroussin [Wed, 25 Oct 2023 22:09:34 +0000 (00:09 +0200)]
subscruption: fix, subscription validation
Baptiste Daroussin [Tue, 24 Oct 2023 21:13:13 +0000 (23:13 +0200)]
1.4.0rc2
Baptiste Daroussin [Wed, 18 Oct 2023 21:10:05 +0000 (23:10 +0200)]
reallf: fix typo in prototype
Baptiste Daroussin [Mon, 16 Oct 2023 21:13:27 +0000 (23:13 +0200)]
verp: remove second mail sent not being actually tested
This was a useless test
Baptiste Daroussin [Mon, 16 Oct 2023 21:09:29 +0000 (23:09 +0200)]
notifymod: add unit test
Baptiste Daroussin [Mon, 16 Oct 2023 21:08:06 +0000 (23:08 +0200)]
notifymod: fix regression
Avoid reusing the previous queuefile to notify the mail is being
moderated
Baptiste Daroussin [Sat, 14 Oct 2023 21:38:36 +0000 (23:38 +0200)]
VERP: add a unit test
Baptiste Daroussin [Sat, 14 Oct 2023 21:30:17 +0000 (23:30 +0200)]
VERP: fix sending multiple batches
Always rewind the mail pointer before actually sending the email
to make sure between 2 batches, we always send the entire email
Baptiste Daroussin [Fri, 13 Oct 2023 15:42:50 +0000 (17:42 +0200)]
1.4.0-rc1
Baptiste Daroussin [Fri, 13 Oct 2023 14:11:59 +0000 (16:11 +0200)]
nobounceprobe: the temporary tunable has been removed
Fixes: #6
Konstantin Ryabitsev [Mon, 18 Sep 2023 18:06:35 +0000 (14:06 -0400)]
Fix compilation on older platforms
When attempting to compile on older platforms (e.g. CentOS 7), there is
a failure due to the wrong stat.h being included via dependencies. This
makes sure that it finds sys/stat.h first.
Baptiste Daroussin [Tue, 18 Jul 2023 09:34:46 +0000 (11:34 +0200)]
mlmmj-send: use newsmtp to reduce code duplication
Baptiste Daroussin [Tue, 18 Jul 2023 08:13:46 +0000 (10:13 +0200)]
mlmmj-send: remove dead code
Baptiste Daroussin [Tue, 18 Jul 2023 06:46:51 +0000 (08:46 +0200)]
mlmmj-receive-strip: sync with mlmmj-receive-strip
Baptiste Daroussin [Thu, 6 Jul 2023 13:39:41 +0000 (15:39 +0200)]
mygetline: cleanup debug
Baptiste Daroussin [Thu, 6 Jul 2023 13:38:42 +0000 (15:38 +0200)]
cleanup: remove some mygetline() occurence
Baptiste Daroussin [Thu, 6 Jul 2023 13:27:10 +0000 (15:27 +0200)]
mlmmj-receive: use daemon(3) instead of reinventing it
Baptiste Daroussin [Thu, 6 Jul 2023 13:11:38 +0000 (15:11 +0200)]
mlmmj-receive: deduplicate code
Baptiste Daroussin [Thu, 6 Jul 2023 13:09:13 +0000 (15:09 +0200)]
incindexfile: actually test the normal behaviour :D
Baptiste Daroussin [Thu, 6 Jul 2023 11:52:22 +0000 (13:52 +0200)]
mlmmj-process: remove useless debug
Baptiste Daroussin [Thu, 6 Jul 2023 11:16:05 +0000 (13:16 +0200)]
listcontrol: add my copyright
Baptiste Daroussin [Thu, 6 Jul 2023 11:07:37 +0000 (13:07 +0200)]
mlmmj-sub: move all subcription code into a reusable function
This codes allows to remove a execl code from listcontrol,
allow to deduplicate plenty of code and remove the need for mlmmmj-process
to know about mlmmj-sub command path
Baptiste Daroussin [Wed, 5 Jul 2023 14:17:45 +0000 (16:17 +0200)]
subcription: now moderation goes into a subdirectory "subscribe"
doing this allows us to avoid manipulating memory and use fd instead
as a fallback mlmmj still lookup for subscribe<cookie>
Baptiste Daroussin [Wed, 5 Jul 2023 13:26:37 +0000 (15:26 +0200)]
subscription: avoid useless goto
Baptiste Daroussin [Wed, 5 Jul 2023 13:23:30 +0000 (15:23 +0200)]
sub: remove useless interlediary variable
Baptiste Daroussin [Wed, 5 Jul 2023 12:53:29 +0000 (14:53 +0200)]
subscription: reduce code duplication
Baptiste Daroussin [Wed, 5 Jul 2023 12:49:50 +0000 (14:49 +0200)]
moderation: add regression tests
Baptiste Daroussin [Wed, 5 Jul 2023 12:20:29 +0000 (14:20 +0200)]
utils: add a function to grab a line or the entire file from a fd
Baptiste Daroussin [Wed, 5 Jul 2023 12:00:53 +0000 (14:00 +0200)]
subscription: move moderation handling into the library for testing purpose
Baptiste Daroussin [Wed, 5 Jul 2023 09:27:00 +0000 (11:27 +0200)]
listcontrol: deduplicate code for subscription
Baptiste Daroussin [Wed, 5 Jul 2023 07:32:07 +0000 (09:32 +0200)]
listcontrol: cosmetic
Baptiste Daroussin [Wed, 5 Jul 2023 07:22:33 +0000 (09:22 +0200)]
mlmmj-process: convert noprocess to stdbool
Baptiste Daroussin [Wed, 5 Jul 2023 07:18:38 +0000 (09:18 +0200)]
mlmmj-process: avoid a useless strlen
Baptiste Daroussin [Wed, 5 Jul 2023 07:15:09 +0000 (09:15 +0200)]
mlmmj-process: deduplicate some code
Baptiste Daroussin [Mon, 3 Jul 2023 12:22:05 +0000 (14:22 +0200)]
prototype: fix empty prototypes
Baptiste Daroussin [Mon, 26 Jun 2023 19:09:55 +0000 (21:09 +0200)]
tests: run tests from the root directory
This makes it easier to debug
Baptiste Daroussin [Mon, 26 Jun 2023 18:57:59 +0000 (20:57 +0200)]
listtexts: subtree merge
Merge the listext repository keeping the history
Baptiste Daroussin [Tue, 20 Jun 2023 08:17:47 +0000 (10:17 +0200)]
tests: remove write only variables
Baptiste Daroussin [Tue, 20 Jun 2023 08:06:34 +0000 (10:06 +0200)]
send_digest: fix double
Baptiste Daroussin [Tue, 20 Jun 2023 08:04:44 +0000 (10:04 +0200)]
send_digest: fix double free and remove unused variable
Baptiste Daroussin [Tue, 20 Jun 2023 07:59:12 +0000 (09:59 +0200)]
xstring: prevent null pointer dereference
Baptiste Daroussin [Tue, 20 Jun 2023 07:50:38 +0000 (09:50 +0200)]
remove dead nested assignement
Baptiste Daroussin [Tue, 20 Jun 2023 07:48:39 +0000 (09:48 +0200)]
prepstdreply: fix useless assignation
Siva Mahadevan [Wed, 14 Jun 2023 03:30:32 +0000 (23:30 -0400)]
mlmmj-make-ml: implement non-interactive mailing list creation
Siva Mahadevan [Tue, 13 Jun 2023 19:50:46 +0000 (15:50 -0400)]
mlmmj-make-ml: cleanup with ShellCheck
Baptiste Daroussin [Mon, 15 May 2023 13:24:44 +0000 (15:24 +0200)]
Release 1.4.0.b1
Baptiste Daroussin [Mon, 15 May 2023 13:22:30 +0000 (15:22 +0200)]
update changelog and note the next release will be beta1