I'd like to set up server-side mail filters to take the place of what my client app does, so that I can use webmail and have the same results. Unfortunately it doesn't appear to be working, and I am not sure why.
For my account, let's use my 'Apple Dev' filter example:
Source: [From] [Contains] [@lists.apple.com]
Action: [Move to] [Apple Dev]
Active is checked.
The folder Apple Dev exists under INBOX.{blah}; client-side filtering works. Under Custom Rules, I have the following automatically created:
Quote:
### BEGIN FILTER_ID:1\n\n`test -e \"$DEFAULT/.Apple Dev\" && exit 1 || exit 0`\nif ( $RETURNCODE != 1 )\n{\n `maildirmake -f \"Apple Dev\" $DEFAULT`\n `chmod -R 0700 \"$DEFAULT/.Apple Dev\"`\n `echo \"INBOX.Apple Dev\" >> $DEFAULT/courierimapsubscribed`\n}\nif (/^From:.*@lists\\.apple\\.com/:h)\n{\nexception {\nID1EndFolder = \"$DEFAULT/.Apple Dev/\"\nto $ID1EndFolder\n}\n}\n### END FILTER_ID:1\n
### BEGIN FILTER_ID:1
`test -e "$DEFAULT/.Apple Dev" && exit 1 || exit 0`
if ( $RETURNCODE != 1 )
{
`maildirmake -f "Apple Dev" $DEFAULT`
`chmod -R 0700 "$DEFAULT/.Apple Dev"`
`echo "INBOX.Apple Dev" >> $DEFAULT/courierimapsubscribed`
}
if (/^From:.*@lists\.apple\.com/:h)
{
exception {
ID1EndFolder = "$DEFAULT/.Apple Dev/"
to $ID1EndFolder
}
}
### END FILTER_ID:1
|
If I prepend the folder name with INBOX. in the rule, I get INBOX.INBOX in the above so that isn't right. Not sure what else to try or why it's broken though.
Anyone see a glaring stupid error in what I did? I can't find this issue in docs or on here, so I apologize in advance if it's come up before.
Thanks
Recent comments
15 hours 54 min ago
20 hours 53 min ago
22 hours 19 min ago
23 hours 12 min ago
1 day 55 min ago
1 day 5 hours ago
1 day 6 hours ago
1 day 8 hours ago
1 day 21 hours ago
1 day 23 hours ago