dovecot connection error
dovecot connection error
Description
docvecot plugin sent to dovecot's server login id like 'user.login' instead of 'login'
Distribution Name and Version
Centos 7
FusionDirectory Version
1.3.0
Plugin with the defect
dovecot
PHP version used
7.1
Origin of php packages
fusiondirectory-plugin-dovecot
Steps to Reproduce
- configure dovecot server
- configure fusiondirectory dovecot plugin
- open user account on fusiondirectory
- fusiondirectory error : .... : Can not authenticate to IMAP server: [CLOSED] IMAP connection broken (authenticate)
Expected behavior:
in dovecot service log : dovecot: auth: passwd-file(fdadmin,xx.xx.xx.xx,master,): Master user logging in as prenom.nom dovecot: imap-login: Login: user=<prenom.nom>, method=PLAIN,.....
Actual behavior:
in dovecot service log : dovecot: auth: passwd-file(fdadmin,xx.xx.xx.xx,master,): Master user logging in as user.prenom.nom dovecot: auth: ldap(user.prenom.nom,xx.xx.xx.xx,): unknown user
Reproduces how often: 100%
Additional Information
Link issues together to show that they're related. Learn more.
Activity
- Côme Chilliet assigned to @bmortier
assigned to @bmortier
hello @ethetas,
can you tell us :
- dovecot version
- backend used : ldap, master etc..
- can you join a screenshot of the configuration backend mail tab so we can see what is configured
- can you join a screenshot of the dovecot service with his configuration
if i rember correctly this was developped for a customer with the master and ldap backend
Cheers
- bmortier added 10m of time spent at 2019-06-27
added 10m of time spent at 2019-06-27
- bmortier changed milestone to %FusionDirectory 1.3.2
changed milestone to %FusionDirectory 1.3.2
- bmortier added PJ1802-0188 label
added PJ1802-0188 label
- bmortier added plugin-dovecot label
added plugin-dovecot label
- Author Reporter
- bmortier added 5m of time spent at 2019-06-27
added 5m of time spent at 2019-06-27
- Author Reporter
- bmortier changed milestone to %FusionDirectory 1.3.1
changed milestone to %FusionDirectory 1.3.1
- bmortier changed due date to August 29, 2019
changed due date to August 29, 2019
- Reporter
@ethetas In «Mail user template» (in french «Modèle de compte courriel»), you can enter «%UID%» to get what you want.
From the code:
/* Account ID creation
!!Depends on the attributes 'user_prefix'/'share_prefix' and the option 'cyrusUseSlashes' Examples - based on defaults : %PREFIX% => "user." or "user/" (Depending on cyrusUseSlashes=FALSE/TRUE) %CN% => "technical" (The groups cn) %UID% => "john" (The users uid) %MAIL% => "john@fusiondirectory.org" (The mail address) %DOMAIN% => "fusiondirectory.org" (The domain part of the specified mail) %MAILPART% => "john" (The mail address without domain) %UATTRIB% => "john"/"john@fusiondirectory.org" (Configured in fusiondirectory.conf mailAttribute="mail"/"uid")
*/
Default is "%PREFIX%%UATTRIB%".
- bmortier added user-manual label
added user-manual label
- bmortier removed due date
removed due date
- Author Reporter
hi,
thanks, it's ok for the connection with dovecot server. But i don't have quota use : 0% for all user.
no more docs in : https://fusiondirectory-user-manual.readthedocs.io/en/1.3/plugins/dovecot/functionalities.html
regards,
- Côme Chilliet mentioned in commit b73493ce
mentioned in commit b73493ce
- Reporter
@ethetas Can you enable MAIL debug level and copy us any line related to quota or connection failure?
- Côme Chilliet added 30m of time spent at 2019-08-29
added 30m of time spent at 2019-08-29
- Author Reporter
I have this : DEBUG[512] (/usr/share/fusiondirectory/plugins/personal/mail/mail-methods/class_mail-methods-dovecot.inc:loadQuota():150) - IMAP: Successfully received account quota: '(212,3427734375 / 976,5625)'
so it s ok (for a quota of 1Go) but always 0% in user mail plugins
- bmortier changed due date to September 11, 2019
changed due date to September 11, 2019
- Côme Chilliet mentioned in commit d5bc1248
mentioned in commit d5bc1248
- Reporter
The last MR should fix getting quota on dovecot mailboxes, but I discovered that the dovecot mail method is mostly empty and will not be able to create/delete mailboxes. I’m not sure if this is intentional or not (dovecot limitation somehow?) Setting quota will not work either.
- Côme Chilliet added 40m of time spent at 2019-09-10
added 40m of time spent at 2019-09-10
- Reporter
Actually mailbox creation is implemented but through Argonaut, if the option is checked and argonaut is correctly configured.
[EDIT]mailbox dir is done through Argonaut, mailbox creation seems to be done at first login by dovecot. Also, dovecot is able to read quota from LDAP with proper configuration so setting quota may work too.
Edited by Côme Chilliet - Author Reporter
it s ok for me, I only use quota status.
- Côme Chilliet mentioned in commit 7120dc73
mentioned in commit 7120dc73
- Côme Chilliet mentioned in commit 4c0461c3
mentioned in commit 4c0461c3
- Côme Chilliet added 30m of time spent at 2019-09-17
added 30m of time spent at 2019-09-17
- Côme Chilliet added To Be Tested + 1 deleted label
added To Be Tested + 1 deleted label
- Côme Chilliet assigned to @jswaelens and unassigned @MCMic
assigned to @jswaelens and unassigned @MCMic
- Developer
Hello @ethetas
You confirm that it works correctly for you now ?
- Jonathan Swaelens added 5m of time spent at 2019-10-10
added 5m of time spent at 2019-10-10
- Author Reporter
hello, imap connexion is ok, but i wait next release for quota correction.
- Developer
Hello @ethetas
You can please try the fixes packages from https://integration.fusiondirectory.org/repos/fixes-releases/rpm/rhel/7/fusiondirectory-13-fixes/RPMS/
Cheers.
- Jonathan Swaelens added 10m of time spent at 2019-10-23
added 10m of time spent at 2019-10-23
- Author Reporter
hello, I try fixes packages and it's ok for quota percent field but size quota field is empty.
Cheers.
- Please register or sign in to reply
- bmortier added 5m of time spent at 2019-11-05
added 5m of time spent at 2019-11-05
- Author Reporter
- bmortier assigned to @MCMic and unassigned @jswaelens
assigned to @MCMic and unassigned @jswaelens
- bmortier removed due date
removed due date
- bmortier changed due date to November 05, 2019
changed due date to November 05, 2019
- Reporter
@ethetas Quota size should be stored in the LDAP, what is the value of gosaMailQuota in the LDAP for this user?
What happens if you change the value and save it?
Is your mail server configured to read quota sizes from LDAP?