From a848231ae0f346dc7cc000973fbeb65b0894ee92 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 10 Apr 2024 21:59:03 +0200 Subject: Adding upstream version 3.8.5. Signed-off-by: Daniel Baumann --- src/cleanup/cleanup_milter.in17d | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/cleanup/cleanup_milter.in17d (limited to 'src/cleanup/cleanup_milter.in17d') diff --git a/src/cleanup/cleanup_milter.in17d b/src/cleanup/cleanup_milter.in17d new file mode 100644 index 0000000..46ac8ff --- /dev/null +++ b/src/cleanup/cleanup_milter.in17d @@ -0,0 +1,18 @@ +#verbose on +open test-queue-file17d.tmp +# +# Delete a recipient. Then add the recipient back, with a DSN NOTIFY +# record instead of a DSN original recipient. Then add the same again. +# The second command should be ignored as a duplicate. + +del_rcpt user@example.com +add_rcpt_par user@example.com NOTIFY=never +add_rcpt_par user@example.com NOTIFY=never + +# The above has confirmed that recipient is in the duplicate filter. +# Now verify that del_rcpt will delete it, and that a subsequent +# add_rcpt_par will NOT be ignored. +del_rcpt user@example.com +add_rcpt_par user@example.com NOTIFY=never + +close -- cgit v1.2.3