I have two mailboxes: [email protected] [email protected] and two content header filters to allow individual "catch all": /^To: .*[email protected]/ redirects to [email protected] /^To: .*[email protected]/ redirects to [email protected] A mail for [email protected] is correctly redirected to [email protected]. But, if I send a mail with TO: [email protected] and CC: [email protected], 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. [email protected])
Thank you Taleman for the fast response, but this is not quite the problem. I send a mail as [email protected] to two recipients with Email Mailboxes to the Mail Server example.com that was installed with ISPConfig, [email protected] and [email protected]. (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.