Cyrus/Exim and caseless addressing

Pål Olsen pal.olsen at capgemini.no
Tue Jul 15 03:42:20 EDT 2003


> Currently, I have exim setup to use /usr/bin/deliver -l to cyrus 
> mailboxes.  My users would like to send to local addresses using
> case insensitive addresses so that bob at blah and Bob at blah go to the same 
> mailbox.
> 
> Any help would be appreciated.
> 
> Thanks,
> 
> Chris Hamilton
> 

Use the following in the router section of your exim.conf file:

# This router matches local user mailboxes.

localuser:
  driver = accept
  domains = @ : localhost
  check_local_user
  transport = local_delivery


# Rewrite local-part to lowercase
lowercase_cyrus:
   driver = redirect
   domains = +local_domains
   redirect_router = cyrususer
   data = ${lc:${local_part}}


# This router matches cyrus mailboxes.

cyrususer:
  driver = accept
  no_check_local_user
  transport = cyrus_delivery






More information about the Info-cyrus mailing list