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: 32,066
Thanks: 697
Thanked 4,246 Times in 3,259 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
1 day 2 hours ago
1 day 4 hours ago
1 day 16 hours ago
1 day 19 hours ago
1 day 23 hours ago
2 days 5 hours ago
2 days 15 hours ago
2 days 16 hours ago
3 days 59 min ago
3 days 2 hours ago