Using CC Custom mail filter recipe does not work with single recipient
When we have a mailbox that we want to receive a copy of messages to another recipient, we use CC rules to achieve this.
here's an example: Alerts@domain.com should deliver a copy of the message to me@domain.com
so in the alerts mailbox under custom rules we put:
cc "!me@domain.com"
this rule does not work unless there are at least 2 recipients in the custom rules box. ie:
cc "!me@domain.com"
cc "!onemore@domain.com"
both receive a copy.
I also assumed this and tested single recipient with extra returns at the end.
additionally, adding the single recipient twice does not resolve the problem.
The setup is a pretty standard Ubuntu 10.04 x64 with courier setup.
Posts: 31,872
Thanks: 689
Thanked 4,181 Times in 3,200 Posts
Thats strange indeed. You might want to take a look into the .mailfilter file for the user which is in /var/vmail/mailfilters/...... if there is anything that looks not normal when only one recipient is added. You can try to add a newline in that file manually as it might be that the newline at the end gets stripped out by ispconfig when the file gets written.
Very strange. the .Mailfilter files look pretty much the same.
FYI extra blank lines are not filtered out by ISPCONFIG.
I added a second recipient, then removed the second recipient and now it's working with single recipient.
Recent comments
11 hours 7 min ago
14 hours 2 min ago
15 hours 16 min ago
16 hours 40 min ago
18 hours 18 min ago
19 hours 46 min ago
21 hours 24 sec ago
1 day 12 hours ago
1 day 13 hours ago
1 day 17 hours ago