XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum -> xmail + UebiMiau + Dovecot

Reply to this topicStart new topic

> xmail + UebiMiau + Dovecot, password not accepted
sirswatch
Posted: Dec 21 2006, 08:40 AM
Quote Post


Newbie
*

Group: Members
Posts: 1
Member No.: 2364
Joined: 21-December 06



Xmail work fine.
I have installed dovecot for imap service only and uebimiau but uebimiau answer password not corrected when I try to login.

I think the problem is to instruct dovecot to read login/pwd on mailuser.tab but I haven't found docs for this matter

Any help please !
PMEmail Poster
Top
NomadCF
Posted: Dec 21 2006, 02:43 PM
Quote Post


Wizard
*********

Group: Members
Posts: 428
Member No.: 434
Joined: 21-January 03



dovecot can not read mailusers.tab on it's own. in order to do this you will need dovecot 1.0 (no 100% stable yet) and a custom auth script for it.

simplest way to to deal with this is just to have a cron OR scheduled task sync a copy of xmail's mailusers.tab with a dovecot friendly version. This can be done many ways but the fastest it to have a outside script decode xmail's user passwords on it's own and write them to a differnt file. (trying to use a script that uses xmails admin functions to do this on large system will end up wasting *allot* of time. an example of allot would be +10 mins on a system with 642 users. Where as a simple script that can decode the file own can do the above in less then 1 min)


--------------------
-- Chris L. Franklin --
www.NomadCF.com

All my scripts are written for linux servers.
My XMail scripts
PMEmail PosterUsers WebsiteAOL
Top
elevated
Posted: Dec 21 2006, 05:13 PM
Quote Post


Junior Member
**

Group: Members
Posts: 31
Member No.: 1248
Joined: 31-July 04



QUOTE (NomadCF @ Dec 21 2006, 06:43 AM)
dovecot can not read mailusers.tab on it's own. in order to do this you will need dovecot 1.0 (no 100% stable yet) and a custom auth script for it.

It actually is easier to use the checkpassword program that is floating around this forum. That was you could still use xmail to control all the passwords for users without the need to worry about how other programs are going to be updated.

PMEmail Poster
Top
NomadCF
Posted: Dec 22 2006, 03:34 PM
Quote Post


Wizard
*********

Group: Members
Posts: 428
Member No.: 434
Joined: 21-January 03



I think you mis understood my

QUOTE

dovecot can not read mailusers.tab on it's own. in order to do this you will need dovecot 1.0 (no 100% stable yet) and a custom auth script for it.


Thats telling to not use a Auth script w/ dovecot so as dovecot will be authing from the mailusers.tab file directly.

Side note: If I'm remembering right using the checkpassword "program' is kinda a resource waste. As it just opens a pop connction and tries to login as that user. And on a heavy hit pop/imap server, this ends up eating 2 connections for each persons connections.


--------------------
-- Chris L. Franklin --
www.NomadCF.com

All my scripts are written for linux servers.
My XMail scripts
PMEmail PosterUsers WebsiteAOL
Top
elevated
Posted: Dec 23 2006, 08:26 PM
Quote Post


Junior Member
**

Group: Members
Posts: 31
Member No.: 1248
Joined: 31-July 04



QUOTE (NomadCF @ Dec 22 2006, 07:34 AM)
I think you mis understood my

QUOTE

dovecot can not read mailusers.tab on it's own. in order to do this you will need dovecot 1.0 (no 100% stable yet) and a custom auth script for it.


Thats telling to not use a Auth script w/ dovecot so as dovecot will be authing from the mailusers.tab file directly.

Side note: If I'm remembering right using the checkpassword "program' is kinda a resource waste. As it just opens a pop connction and tries to login as that user. And on a heavy hit pop/imap server, this ends up eating 2 connections for each persons connections.

Umm, I know I have looked at Dovecot in a while,

I didn't know it was able to was going to beable to use "mailusers.tab". If it can directly read from it, them I would drop the checkpasswd.."

And checkpasswd program only create a connection to XMail's Control Program, I'm not seeing any difference in connectiong time.

PMEmail Poster
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Webmail Add-ons | Next Newest »

Reply to this topicStart new topic