~ubuntu-branches/ubuntu/wily/dovecot/wily

« back to all changes in this revision

Viewing changes to doc/wiki/DomainLost.txt

  • Committer: Package Import Robot
  • Author(s): Jaldhar H. Vyas
  • Date: 2013-09-09 00:57:32 UTC
  • mfrom: (1.13.11)
  • mto: (4.8.5 experimental) (1.16.1)
  • mto: This revision was merged to the branch mainline in revision 97.
  • Revision ID: package-import@ubuntu.com-20130909005732-dn1eell8srqbhh0e
Tags: upstream-2.2.5
ImportĀ upstreamĀ versionĀ 2.2.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
%d expands to empty string
2
 
==========================
3
 
 
4
 
The problem is that your username string lost the domain part. Dovecot doesn't
5
 
keep track of the domain separately from username, so if something changes
6
 
username from "user@domain" to just plain "user", the domain is lost and %d
7
 
returns nothing. If you have 'auth_debug=yes', this shows up in logs like:
 
1
Domain (%d) is empty
 
2
====================
 
3
 
 
4
IMAP or POP3 protocol doesn't have explicit support for domains. The usernames
 
5
are commonly in user@domain format, and that is also where Dovecot gets the
 
6
domain from. If the username doesn't have @domain, then the domain is also
 
7
usually empty (unless 'auth_default_realm' setting is used).
 
8
 
 
9
If you login as user@domain, but the %d is still empty, the problem is that
 
10
your configuration lost the domain part by changing the username. Dovecot
 
11
doesn't keep track of the domain separately from username, so if something
 
12
changes username from "user@domain" to just plain "user", the domain is lost
 
13
and %d returns nothing. If you have 'auth_debug=yes', this shows up in logs
 
14
like:
8
15
 
9
16
---%<-------------------------------------------------------------------------
10
17
Info: auth(user@domain.org): username changed user@domain.org -> user
50
57
'%n' AND domain = '%d'
51
58
---%<-------------------------------------------------------------------------
52
59
 
53
 
(This file was created from the wiki on 2013-04-04 04:42)
 
60
(This file was created from the wiki on 2013-08-05 04:42)