[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: exim4: local parts case sensitive



Anand Kumria wrote:

Well RFC2822 says that the local part (i.e. <localpart>@<domain>) may
be significant. However exim4 doesn't assume that by default.

Yes, I looked it up in man mailaddr when I found out that they have become case sensitive. It says the domain part is not case sensitive, so I concluded that the local part may be. Googling for the topic I found an old mail from Phillip Hazel questioning what to do about case sensitivity after an RFC was changed.

Maybe I better turn that off? It'll likely confuse senders.


The option in generic router is called 'caseful_local_part' and it is
off by default.

Thanks!

But it's weird because that option is nowhere used in the config. Since local parts are not case sensitive by default, my only idea is that this behaviour is introduced by some dbm search, maybe like that (which is the only one used):


> [...]
> domainlist local_domains = @ : dbm;/etc/exim4/local-domains.db
> [...]
> acl_check_rcpt:
> [...]
>   accept  domains       = +local_domains
>           endpass
>           verify        = recipient


Can an implicit dbm search like that somehow make the recipient verification of the local part case-sensitive? (The domainlist 'local_domains' is also used at other places.)

The /etc/exim4/local-domains.db file has been created from a file containing domain names in lower case only. The domain part is not supposed to be or must not be case sensitive, and it is actually not. Only the local part is.

Exim version is 4.60 (exim4-daemon-heavy, 4.60-4 of Debian testing).


GH



Reply to: