Re: Dovecot fails to start - Unknown setting: socket

2014-10-02 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 1 Oct 2014, Max Shortte wrote:


Here are the lines in question:

 socket listen { ### line 73 ###


http://www.dovecot.org/list/dovecot/2012-March/064284.html

- -- 
Steffen Kaiser

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBVCzuvXz1H7kL/d9rAQIMywf/VcSTNKp/C0PjHPl1Kd3bsOB/eYlyGLO2
TX90Z8mKdVNPJHHeVcU/8p4ZKqGHQtxzagnbsmmaEpG8H50umRzYEVnEvvoNyfFH
YOhVsJ+KSg7zMowVQ9GV0lxLL6E2Dd70MjwyRZEbK6mWhfqSalMyu16/CFfdWabK
mCEN9hMFRNL+N2qMMb7r/P3E4FyJGPyCmCoCgPROb0SOc5q97alc1oOitynjYK8X
rn5V840Xqyomc4LH/1P6mYQNo/+omc0vsrIDuboIRyynCn7LXHXtJv9Ze9pCXTbL
ytixc77rD35N76sA+eutHga5piujNG6DVM/vwmfrK2TeV9wspJGqFQ==
=J+D4
-END PGP SIGNATURE-


Re: Simply mysql quota check

2014-10-02 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 1 Oct 2014, Alfredo Saldanha wrote:


#/etc/dovecot/dovecot-sql.conf.ext
password_query = \
 SELECT username AS user, value AS password \
 FROM mailboxes WHERE username = '%n@%d'

user_query = \
 SELECT username, domain, \
 CONCAT('*:storage=', SUBSTRING_INDEX(quota, 'm', 1)*1048576) AS 
userdb_quota_rule \
 FROM mailboxes, domains WHERE mailboxes.username = '%n@%d' \
 AND domains.domain = '%d'

My idea is when a message is delivered, the dovecot to check quota in the mysql according 
to the value received in the user_query but he does not.
It shows a value of 2GB that I don't know where it gets.

I execute a manual query in mysql to know the quota my test user and checked 
that are 5GB, but when I see the dovecot, it shows 2G.

SELECT username, domain, CONCAT('*:bytes=', SUBSTRING_INDEX(quota, 'm', 
1)*1048576) AS userdb_quota_rule
FROM mailboxes, domains WHERE mailboxes.username = 'ju...@domain.com' AND 
domains.domain = 'domain.com'


1) your manual query uses '*:bytes=', whereas your conf uses '*:storage='.
2) you return the value as userdb_quota_rule, but it must read quota_rule 
in the user_query. In the password_query fields are prefixed by userdb_ .


See http://wiki2.dovecot.org/Quota/Configuration

- -- 
Steffen Kaiser

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBVCzxqnz1H7kL/d9rAQIneAgAukcibxJoQdtwdmrxHbXmKgQsCG22itH5
9VSFGigiPjXg/F1hkj7jHC/xB5uh2M8ayMos+hPxaJkKC4AKYEZu1QEwXAX2qrvN
DXt7uPZHLJSMtlWCVb5s6h+v6K3JnbWRrjI4CIfYqB8i8MHKBWei0K02QZcOUOfy
KeD7lAIPRuZPnIEiWYREpalRMGeQzZ69SHEmhxDx7VFO5FanlHDxdCwmO7qHoJen
ZuNpUWMf5i5czxcDhHjLdtGODv005LFDCXhj48SqI17WzD3mPjJegOCjym6RfKmU
RT+PtKieBkzygT1YzvjJbHISFxJSryVg8c48tCb0FgjkNKWXq/KsPg==
=wzY8
-END PGP SIGNATURE-


Re: Question wrt. dovecot replicator

2014-10-02 Thread Teemu Huovila
On 10/02/2014 02:40 AM, Remko Lodder wrote:
 and a mail_replica = tcp:host{a,b}:12346 configuration on each host so that 
 they are pointing to eachother; This seems to work fine for most accounts, 
 for example: I never experienced issues with this. However, several other 
 accounts (with a large variety of clients) got duplicated emails. Looking 
 with doveadm I only noticed that the numbers of the messages are closely 
 related to eachother but one number incremented. So they cannot be deleted 
 with the deduplicator function.
 
 The replication is provided over TCP only, the connection streams over an 
 OpenVPN tunnel so that the contents are protected, the machines are located 
 in different Datacenters but close to eachother.
 
 How can I determine why there are duplicated emails?
 What kind of messages should I specifically look for?
Look for any errors and warnings in the Dovecot log. You could also enable 
mail_debug (ref.
http://wiki2.dovecot.org/Logging#Logging_verbosity) for the accounts being 
synced. Also, please post your complete configuration.

 Can I set this up for a few selected accounts instead of all accounts like it 
 was currently? To make sure I do not make things worse for others then needs 
 to be :-)
 The service had been disabled for the time being to prevent the other users 
 from getting duplicated emails.
I do not know what kind of userdb you are running, but there is a newish patch 
that enables per user replication via the
mail_replica setting. It is not yet included in the newest (2.2.13) release of 
Dovecot, but is available via the enterprise
version. There are no FreeBSD builds for that, though. ref: 
http://hg.dovecot.org/dovecot-2.2/rev/c1c67bdc8752

br,
Teemu Huovila


Re: Simply mysql quota check

2014-10-02 Thread Alfredo Saldanha
Steffen,

My problem was exactly what you said, the quota field in my query.
I fixed it and now is working very well.

Thank you very much.

Alfredo

- Mensagem original -
De: Steffen Kaiser skdove...@smail.inf.fh-brs.de
Para: Alfredo Saldanha asalda...@infolink.com.br
Cc: dovecot@dovecot.org
Enviadas: Quinta-feira, 2 de outubro de 2014 3:33:13
Assunto: Re: Simply mysql quota check

-BEGIN PGP SIGNED MESSAGE- 
Hash: SHA1 

On Wed, 1 Oct 2014, Alfredo Saldanha wrote: 

 #/etc/dovecot/dovecot-sql.conf.ext 
 password_query = \ 
 SELECT username AS user, value AS password \ 
 FROM mailboxes WHERE username = '%n@%d' 
 
 user_query = \ 
 SELECT username, domain, \ 
 CONCAT('*:storage=', SUBSTRING_INDEX(quota, 'm', 1)*1048576) AS 
 userdb_quota_rule \ 
 FROM mailboxes, domains WHERE mailboxes.username = '%n@%d' \ 
 AND domains.domain = '%d' 
 
 My idea is when a message is delivered, the dovecot to check quota in the 
 mysql according to the value received in the user_query but he does not. 
 It shows a value of 2GB that I don't know where it gets. 
 
 I execute a manual query in mysql to know the quota my test user and checked 
 that are 5GB, but when I see the dovecot, it shows 2G. 
 
 SELECT username, domain, CONCAT('*:bytes=', SUBSTRING_INDEX(quota, 'm', 
 1)*1048576) AS userdb_quota_rule 
 FROM mailboxes, domains WHERE mailboxes.username = 'ju...@domain.com' AND 
 domains.domain = 'domain.com' 

1) your manual query uses '*:bytes=', whereas your conf uses '*:storage='. 
2) you return the value as userdb_quota_rule, but it must read quota_rule 
in the user_query. In the password_query fields are prefixed by userdb_ . 

See http://wiki2.dovecot.org/Quota/Configuration 

- -- 
Steffen Kaiser 
-BEGIN PGP SIGNATURE- 
Version: GnuPG v1.4.11 (GNU/Linux) 

iQEVAwUBVCzxqnz1H7kL/d9rAQIneAgAukcibxJoQdtwdmrxHbXmKgQsCG22itH5 
9VSFGigiPjXg/F1hkj7jHC/xB5uh2M8ayMos+hPxaJkKC4AKYEZu1QEwXAX2qrvN 
DXt7uPZHLJSMtlWCVb5s6h+v6K3JnbWRrjI4CIfYqB8i8MHKBWei0K02QZcOUOfy 
KeD7lAIPRuZPnIEiWYREpalRMGeQzZ69SHEmhxDx7VFO5FanlHDxdCwmO7qHoJen 
ZuNpUWMf5i5czxcDhHjLdtGODv005LFDCXhj48SqI17WzD3mPjJegOCjym6RfKmU 
RT+PtKieBkzygT1YzvjJbHISFxJSryVg8c48tCb0FgjkNKWXq/KsPg== 
=wzY8 
-END PGP SIGNATURE- 


Re: Trouble getting listescape plugin to work with $ separator (as demonstrated in Wiki) in Dovecot 2.2.9

2014-10-02 Thread Teemu Huovila
On 10/01/2014 09:43 PM, Ben Johnson wrote:
 Ultimately, I have two questions:
 
 1.) Is the nesting structure that I've employed correct? The Wiki 2 page
 is not clear with regard to the nesting; is it correct to put the
 namespace block inside the protocol imap block, as I demonstrated above?
I think it would be better, if you put the namespace configuration at the top 
level. See
http://master.wiki2.dovecot.org/Namespaces or 10-mail.conf and 
15-mailboxes.conf, that are located in the
doc/example-config/conf.d/ directory of the Dovecot sources, for more examples.

 2.) Is it possible to escape the dollar sign so that it can be used as
 the separator?
There was a mistake in the wiki. You should quote the $ like this: $.

br,
Teemu Huovila


Re: Trouble getting listescape plugin to work with $ separator (as demonstrated in Wiki) in Dovecot 2.2.9

2014-10-02 Thread Ben Johnson
On 10/2/2014 9:57 AM, Teemu Huovila wrote:
 On 10/01/2014 09:43 PM, Ben Johnson wrote:
 Ultimately, I have two questions:

 1.) Is the nesting structure that I've employed correct? The Wiki 2 page
 is not clear with regard to the nesting; is it correct to put the
 namespace block inside the protocol imap block, as I demonstrated above?
 I think it would be better, if you put the namespace configuration at the top 
 level. See
 http://master.wiki2.dovecot.org/Namespaces or 10-mail.conf and 
 15-mailboxes.conf, that are located in the
 doc/example-config/conf.d/ directory of the Dovecot sources, for more 
 examples.
 
 2.) Is it possible to escape the dollar sign so that it can be used as
 the separator?
 There was a mistake in the wiki. You should quote the $ like this: $.
 
 br,
 Teemu Huovila
 

Teemu,

Thank you!!! Quoting the $ fixed the syntax issue. And I moved the
namespace to the root level of the configuration, per your advice.

Now, the only problem I see is that when I attempt to create a new
folder beneath the Inbox (whether it contains a . or not), the folder
appears at the root-level of the IMAP account, at the same level as the
Inbox itself. The folder name is INBOX.My Folder.

Also, if I try to select the folder and view its contents, I receive the
error, Mailbox doesn't exist: INBOX.My Folder. But this may simply be
a product of a misconfiguration on my part.

For what it's worth, this seems to happen regardless of the separator
that I define in the namespace.

Do I need to change something else in the Dovecot config for this to
work the way that I'm intending?

Thanks again for your invaluable assistance,

-Ben


two dovecot instances

2014-10-02 Thread jjhoffart
Hello,
I am currently trying to setup two invocations of dovecot to run on a 
debian based server. One for director and the other a stock debian instance. 
The issue I am having is when I go to start the director instance, I receive 
multiple errors telling me that the listening ports are already in use. I have 
change these ports in the 10-master.conf file but am still presented with the 
same errors when starting the second instance. Is this the only file in which 
the ports need to be changed (10-master.conf) or is there another file in which 
the ports need to be set?

Re: two dovecot instances

2014-10-02 Thread Duane Hill

On Thursday, October 2, 2014, 10:22:42 AM, jjhoffart wrote:

 Hello,
 I am currently trying to setup two invocations of dovecot
 to run on a debian based server. One for director and the other a
 stock debian instance. The issue I am having is when I go to start
 the director instance, I receive multiple errors telling me that the
 listening ports are already in use. I have change these ports in the
 10-master.conf file but am still presented with the same errors when
 starting the second instance. Is this the only file in which the
 ports need to be changed (10-master.conf) or is there another file
 in which the ports need to be set?

How are you starting the instances? You have two, this would imply you
have  two  different  sets of configuration files. Therefore, starting
each instance, you should be directing them to their individual set of
configuration files.

-- 
Duane Hill
duih...@gmail.com
If at first you don't succeed, so much for sky diving.


auth with entire email addr instead of just username

2014-10-02 Thread Cliff Hayes

I am trying to configure a new IMAP based mail server.
I thought I had everything correct.
I have dovecot logging turned up and see that dovecot is processing the 
entire email address as the username like this...
Oct  2 14:52:20 servername dovecot: auth: Debug: 
pam(testu...@domain.com,1.2.3.4): lookup service=dovecot

... and of course pam is reporting that as an invalid user.
Moments ago when all was mbox, authentication worked fine.
I can see Thunderbird has the username correct (no domain).
What is tacking on the domain and how do I fix?
Thanks in advance.


Re: auth with entire email addr instead of just username

2014-10-02 Thread Reindl Harald

Am 02.10.2014 um 22:13 schrieb Cliff Hayes:
 I am trying to configure a new IMAP based mail server.
 I thought I had everything correct.
 I have dovecot logging turned up and see that dovecot is processing the 
 entire email address as the username like
 this...
 Oct  2 14:52:20 servername dovecot: auth: Debug: 
 pam(testu...@domain.com,1.2.3.4): lookup service=dovecot
 ... and of course pam is reporting that as an invalid user.
 Moments ago when all was mbox, authentication worked fine.
 I can see Thunderbird has the username correct (no domain).
 What is tacking on the domain and how do I fix?

output of dovecot -n would be in general a good start

* how looks your user database
* if you don't use domain as part of the username what do you do
  in case you get a second domain and names collide
* these days the full qualified mail address as username is common
  and in caes of virtual users you can feed all from the same
  source instead hanlde the localpart special for login-names





signature.asc
Description: OpenPGP digital signature


Re: auth with entire email addr instead of just username

2014-10-02 Thread Cliff Hayes

Good point.
But when I try to add a user with the user@domain format using the 
useradd command I get error...

useradd: invalid user name 'u...@domain.com'

Here is output you requested:

# 2.0.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-431.29.2.el6.x86_64 x86_64 Scientific Linux release 
6.5 (Carbon)

auth_debug = yes
auth_debug_passwords = yes
auth_verbose = yes
auth_verbose_passwords = plain
mail_access_groups = mail
mail_debug = yes
mail_location = maildir:~/Maildir
mbox_write_locks = fcntl
namespace {
  hidden = no
  inbox = yes
  list = yes
  location =
  prefix =
  separator = .
  subscriptions = yes
  type = private
}
passdb {
  driver = pam
}
protocols = imap
ssl_ca = /etc/pki/dovecot/certs/intermediate.crt
ssl_cert = /etc/pki/dovecot/certs/avalon20140929.crt
ssl_key = /etc/pki/dovecot/private/avalon20140929.key
userdb {
  driver = passwd
}
verbose_ssl = yes
protocol imap {
  imap_id_log = *
}


On 10/2/2014 3:19 PM, Reindl Harald wrote:

Am 02.10.2014 um 22:13 schrieb Cliff Hayes:

I am trying to configure a new IMAP based mail server.
I thought I had everything correct.
I have dovecot logging turned up and see that dovecot is processing the entire 
email address as the username like
this...
Oct  2 14:52:20 servername dovecot: auth: Debug: 
pam(testu...@domain.com,1.2.3.4): lookup service=dovecot
... and of course pam is reporting that as an invalid user.
Moments ago when all was mbox, authentication worked fine.
I can see Thunderbird has the username correct (no domain).
What is tacking on the domain and how do I fix?

output of dovecot -n would be in general a good start

* how looks your user database
* if you don't use domain as part of the username what do you do
   in case you get a second domain and names collide
* these days the full qualified mail address as username is common
   and in caes of virtual users you can feed all from the same
   source instead hanlde the localpart special for login-names





Re: auth with entire email addr instead of just username

2014-10-02 Thread Reindl Harald

Am 02.10.2014 um 22:24 schrieb Cliff Hayes:
 Good point.
 But when I try to add a user with the user@domain format using the useradd 
 command I get error...
 useradd: invalid user name 'u...@domain.com'

 Here is output you requested:

passdb {
  driver = pam
}
userdb {
  driver = passwd
}

this are local users - never ever mixed mail and system users here

http://wiki2.dovecot.org/VirtualUsers
http://wiki2.dovecot.org/Sasl

combined both you have a uniqe auth-provider for incoming and
outgoing mail independent of system users

 # 2.0.9: /etc/dovecot/dovecot.conf
 # OS: Linux 2.6.32-431.29.2.el6.x86_64 x86_64 Scientific Linux release 6.5 
 (Carbon)
 auth_debug = yes
 auth_debug_passwords = yes
 auth_verbose = yes
 auth_verbose_passwords = plain
 mail_access_groups = mail
 mail_debug = yes
 mail_location = maildir:~/Maildir
 mbox_write_locks = fcntl
 namespace {
   hidden = no
   inbox = yes
   list = yes
   location =
   prefix =
   separator = .
   subscriptions = yes
   type = private
 }
 passdb {
   driver = pam
 }
 protocols = imap
 ssl_ca = /etc/pki/dovecot/certs/intermediate.crt
 ssl_cert = /etc/pki/dovecot/certs/avalon20140929.crt
 ssl_key = /etc/pki/dovecot/private/avalon20140929.key
 userdb {
   driver = passwd
 }
 verbose_ssl = yes
 protocol imap {
   imap_id_log = *
 }
 
 
 On 10/2/2014 3:19 PM, Reindl Harald wrote:
 Am 02.10.2014 um 22:13 schrieb Cliff Hayes:
 I am trying to configure a new IMAP based mail server.
 I thought I had everything correct.
 I have dovecot logging turned up and see that dovecot is processing the 
 entire email address as the username like
 this...
 Oct  2 14:52:20 servername dovecot: auth: Debug: 
 pam(testu...@domain.com,1.2.3.4): lookup service=dovecot
 ... and of course pam is reporting that as an invalid user.
 Moments ago when all was mbox, authentication worked fine.
 I can see Thunderbird has the username correct (no domain).
 What is tacking on the domain and how do I fix?
 output of dovecot -n would be in general a good start

 * how looks your user database
 * if you don't use domain as part of the username what do you do
in case you get a second domain and names collide
 * these days the full qualified mail address as username is common
and in caes of virtual users you can feed all from the same
source instead hanlde the localpart special for login-names



signature.asc
Description: OpenPGP digital signature


Fwd: Re: auth with entire email addr instead of just username

2014-10-02 Thread Cliff Hayes


Good point.
But when I try to add a user with the user@domain format using the 
useradd command I get error...

useradd: invalid user name 'u...@domain.com'
Does this mean it's time to switch to database auth?

Here is output you requested:

# 2.0.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-431.29.2.el6.x86_64 x86_64 Scientific Linux release 
6.5 (Carbon)

auth_debug = yes
auth_debug_passwords = yes
auth_verbose = yes
auth_verbose_passwords = plain
mail_access_groups = mail
mail_debug = yes
mail_location = maildir:~/Maildir
mbox_write_locks = fcntl
namespace {
  hidden = no
  inbox = yes
  list = yes
  location =
  prefix =
  separator = .
  subscriptions = yes
  type = private
}
passdb {
  driver = pam
}
protocols = imap
ssl_ca = /etc/pki/dovecot/certs/intermediate.crt
ssl_cert = /etc/pki/dovecot/certs/avalon20140929.crt
ssl_key = /etc/pki/dovecot/private/avalon20140929.key
userdb {
  driver = passwd
}
verbose_ssl = yes
protocol imap {
  imap_id_log = *
}


 Original Message 
From:   - Thu Oct 02 15:19:41 2014
X-Account-Key:  account6
X-UIDL: 00046c9947d56bfd
X-Mozilla-Status:   0011
X-Mozilla-Status2:  
X-Mozilla-Keys: 
Return-Path:dovecot-boun...@dovecot.org
Received: 	from nitronium05.afomx.net (wsip-66-210-221-15.pn.at.cox.net 
[66.210.221.15]) by sendmail.afo.net (8.14.7/8.14.7) with ESMTP id 
s92KJXqO012885 for cha...@afo.net; Thu, 2 Oct 2014 15:19:34 -0500
Received: 	from wursti.dovecot.fi (wursti.dovecot.fi [87.106.245.223]) 
by nitronium05.afomx.net (8.14.4/8.14.4) with ESMTP id s92KJUjn032312 
for cha...@afo.net; Thu, 2 Oct 2014 15:19:31 -0500
Received: 	from wursti.dovecot.fi (localhost.localdomain [127.0.0.1]) by 
wursti.dovecot.fi (Postfix) with ESMTP id 211FE22373; Thu, 2 Oct 2014 
22:19:24 +0200 (CEST)
X-Spam-Checker-Version: 	SpamAssassin 3.3.1 (2010-03-16) on 
wursti.dovecot.fi

X-Spam-Level:   
X-Spam-Status: 	No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE 
autolearn=no version=3.3.1
Received: 	from talvi.dovecot.org (unknown [137.117.229.219]) by 
wursti.dovecot.fi (Postfix) with ESMTP; Thu, 2 Oct 2014 22:19:24 +0200 
(CEST)
Received: 	from [100.90.112.97] (localhost [127.0.0.1]) by 
talvi.dovecot.org (Postfix) with ESMTP id 44D7D235EA; Thu, 2 Oct 2014 
20:19:44 + (UTC)

X-Original-To:  dovecot@dovecot.org
Delivered-To:   dovecot@dovecot.org
Received: 	by talvi.dovecot.org (Postfix, from userid 506) id 
A9CBD235F0; Thu, 2 Oct 2014 20:19:42 + (UTC)
Received: 	from mail.thelounge.net (unknown [91.118.73.15]) by 
talvi.dovecot.org (Postfix) with ESMTPS id 4DC95234B4 for 
dovecot@dovecot.org; Thu, 2 Oct 2014 20:19:42 + (UTC)

Message-ID: 542db349.4080...@thelounge.net
Date:   Thu, 02 Oct 2014 22:19:21 +0200
From:   Reindl Harald h.rei...@thelounge.net
Organization:   the lounge interactive design
User-Agent: 	Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 
Thunderbird/31.1.1

MIME-Version:   1.0
To: dovecot@dovecot.org
Subject:Re: auth with entire email addr instead of just username
References: 542db200.40...@afo.net
In-Reply-To:542db200.40...@afo.net
OpenPGP: 	id=7F780279; 
url=http://arrakis.thelounge.net/gpg/h.reindl_thelounge.net.pub.txt
Content-Type: 	multipart/signed; micalg=pgp-sha1; 
protocol=application/pgp-signature; 
boundary=EccDjHRFv91hW96jI9NRNb7nA289vHKte

X-BeenThere:dovecot@dovecot.org
X-Mailman-Version:  2.1.17
Precedence: list
Reply-To:   Dovecot Mailing List dovecot@dovecot.org
List-Id:Dovecot Mailing List dovecot.dovecot.org
List-Unsubscribe: 	http://dovecot.org/cgi-bin/mailman/options/dovecot, 
mailto:dovecot-requ...@dovecot.org?subject=unsubscribe

List-Archive:   http://dovecot.org/pipermail/dovecot/
List-Post:  mailto:dovecot@dovecot.org
List-Help:  mailto:dovecot-requ...@dovecot.org?subject=help
List-Subscribe: 	http://dovecot.org/cgi-bin/mailman/listinfo/dovecot, 
mailto:dovecot-requ...@dovecot.org?subject=subscribe

Errors-To:  dovecot-boun...@dovecot.org
Sender: dovecot dovecot-boun...@dovecot.org
X-Scanned-By:   MIMEDefang 2.73
X-Scanned-By:   MIMEDefang 2.75



Am 02.10.2014 um 22:13 schrieb Cliff Hayes:

I am trying to configure a new IMAP based mail server.
I thought I had everything correct.
I have dovecot logging turned up and see that dovecot is processing the entire 
email address as the username like
this...
Oct  2 14:52:20 servername dovecot: auth: Debug: 
pam(testu...@domain.com,1.2.3.4): lookup service=dovecot
... and of course pam is reporting that as an invalid user.
Moments ago when all was mbox, authentication worked fine.
I can see Thunderbird has the username correct (no domain).
What is tacking on the domain and how do I fix?


output of dovecot -n would be in general a good start

* how looks your user database
* if you don't use domain as part of the username what do you do
  in case you get a second domain and names collide
* these days the full qualified mail address as username is common