parsimony/e2e/postfix/main.cf.append
tgiachi 9992a50ab9 test(e2e): run the whole path through a real Postfix in Docker
- Add a Postfix test image: relay domain handed to parsimony over LMTP, members in maildirs, unknown users rejected with 5.1.1
- Check list headers, VERP return path and per-recipient unsubscribe links on real delivered mail
- Check a real 5.1.1 disabling a member after three hard bounces, and a real LMTP 550 for non-members
- Check join and leave by email, moderation, the public archive and one-click unsubscribe
- Add make e2e behind the e2e build tag
2026-11-09 16:46:55 +01:00

20 lines
753 B
Text

myhostname = mx.lists.example.test
mydomain = lists.example.test
mydestination =
inet_interfaces = all
inet_protocols = ipv4
compatibility_level = 3.6
recipient_delimiter =
mynetworks = 127.0.0.0/8 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16
smtpd_relay_restrictions = permit_mynetworks, reject_unauth_destination
# The list domain is handed to parsimony over LMTP, extensions (+join, +confirm-...) intact.
relay_domains = lists.example.test
transport_maps = hash:/etc/postfix/transport
# Members live in local maildirs; unknown users are rejected with 550 5.1.1.
virtual_mailbox_domains = members.test
virtual_mailbox_base = /var/mail/vhosts
virtual_mailbox_maps = hash:/etc/postfix/vmailbox
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000