I have two mailboxes: john.doe@example.com peter.meier@example.com and two content header filters to allow individual "catch all": /^To: .*.doe@example.com/ redirects to john.doe@example.com /^To: .*.meier@example.com/ redirects to peter.meier@example.com A mail for something.doe@exemple.com is correctly redirected to john.doe@example.com. But, if I send a mail with TO: john.doe@example.com and CC: peter.meier@example.com, the first is delivered and the second not. In the log files, everything seems OK. If I deactivate the filters, both recipient receives the mail. Any clue? (PS: I use this to be able to leave a different email address for each online service, e.g. howtoforge.doe@example.com)
Thank you Taleman for the fast response, but this is not quite the problem. I send a mail as will.smith@example.net to two recipients with Email Mailboxes to the Mail Server example.com that was installed with ISPConfig, john.doe@example.com and peter.meier@example.com. (Doesn't matter if TO or CC. Also, exemple.com and exemple.net is the same Mail Server) Only john.doe receives the email, the mail for peter.meier is lost. Now, a deactivate the filter rules, and send a mail again to both of them. And both receive the mail.
Take a look at the created .sieve file in the users mailbox to see which exact rules get generated and if these rules don't match what you want to achieve, then write your own custom sieve rules and add them into the custom sieve rules field of the mailbox instead of using the filter editor.
Sorry, I did not notice that you are using content header filters and not sieve filters. In that case, check the generated postfix filter file.