Rich, Whidbey Telecom wrote:>
> However, the case-sensitive nature of our ext3 filesystem means that a
> message destined to "topic" won't deliver to a user's
"Topic" folder.
> For example, if a user creates a "Topic" folder, and gives
> "user+Topic at domain.com" to a web form that lower-cases it,
delivery is
> deferred.
While way off topic in this list, why not just do this via the Exim
filtering? I'll make two assumptions:
- the user has created a folder called 'Topic', knowing they will
subscribe to a webform using "user+toPiC" (example)
- you employ local_part_suffix options in your 'userforward' router:
local_part_suffix = +* : -*
local_part_suffix_optional
Exim filtering will disregard case if the testing condition is
lowercase, but regard it if it's upper case. A pseudo filter (going off
the top of my head) for a user might look like:
if
$local_part_suffix is "+Topic"
then
deliver ${home}/Maildir/.Topic/
finish
endif
"is" means 'Topic' will be matched without case;
"IS" will try and match
with case sensitivity.
It doesn't make sense to me to patch Dovecot (which would be difficult
to maintain unless it's accepted upstream) when you should probably
could do what you want via Exim's super-powerful lingo.
There's a guy on the exim list who wrote a Fibonacci sequence in ACL
rules. :) (*)
-te
(*)
http://www.exim.org/mail-archives/exim-users/Week-of-Mon-20050328/msg00086.html
--
Troy Engel | Systems Engineer
Fluid, Inc | http://www.fluid.com