bob+xxx@domain should work as expected, not idea why it doesn't on your server.
Do you have any detailed Postfix log for troubleshooting?
Thanks for assisting me in troubleshooting this.
I've attached a section of mail.log. Other than replacing my actual domain w/ "domain.tld", I didn't edit it.
I'm probably going to need to increase the logging level to see what's really going on, but it's at least a good introduction to the flow. (Do you have a suggested postfix logging level to use? If not, I'll play with it until I hopefully get just enough detail to show how it's making its decision to skill the user-level BCC rule and use the domain default.)
The log shows the result of sending 3 mails, one to each of these addresses in sequence:
- All received emails are BCC'd to firstname.lastname@example.org, and land in one of these folders:
- - kids-in
- - other-in
- Emails to kids' accounts are also BCC'd to charles & michele, landing in their folders:
- - Kids-in
- Email #1 was BCC'd to everyone and landed in the correct (kids-in, Kids-in) folders.
- Emails #2 & 3 was BCC'd to copies, but landed in "other-in" and were not BCC'd to parents.
Outbound messages work the same way, and have the same problem.
NOTABLE SERVER CONFIG:
Changed character for address tags:
recipient_delimiter = - (was +)
recipient_delimiter = -+. (was +)
Disabled auto-creation of folders based on address “detail” to accommodate address tagging:
/etc/dovecot/dovecot.conf: lda_mailbox_autocreate = no
/etc/postfix/main.cf: always_bcc is NOT set
OpenLDAP (under domainName=domain.tld):
OpenLDAP (under ou=Users, email@example.com):
NOTEABLE Sieve filters on "copies" user
# rule:[Drop extra copies]
if header :is "x-sieve-redirected-from" "firstname.lastname@example.org"
if header :contains "delivered-to" "copies-kids-in"
redirect :copy "email@example.com";
redirect :copy "firstname.lastname@example.org";
if header :contains "delivered-to" "copies-kids-out"
redirect :copy "email@example.com";
redirect :copy "firstname.lastname@example.org";
The messages were actually sent to copies-other-in instead of copies-kids-in, confirming that it's postfix, not dovecot.