xref: /netbsd-src/external/ibm-public/postfix/dist/src/cleanup/cleanup_milter.in17g (revision 4a6720548cbf2e9325ed049c8a675ae86609f654)
1#verbose on
2open test-queue-file17g.tmp
3#
4# Delete a recipient. This leaves a deleted recipient in the queue
5# file. Then add the recipient back.
6#
7enable_original_recipient 0
8enable_original_recipient
9
10del_rcpt user@example.com
11add_rcpt user@example.com
12
13# Adding the recipient another time should be a NOOP.
14add_rcpt user@example.com
15
16# Deleting the recipient should remove it from the duplicate filter.
17# This leaves a deleted recipient in the queue file.
18# Therefore adding the recipient will not be a NOOP.
19
20del_rcpt user@example.com
21add_rcpt user@example.com
22
23close
24