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 [Powered by Invision Power Board]
Printable Version of Topic
Click here to view this topic in its original format
XMail Forum > Webmail Add-ons > xmail + UebiMiau + Dovecot


Posted by: sirswatch Dec 21 2006, 08:40 AM
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 !

Posted by: NomadCF Dec 21 2006, 02:43 PM
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)

Posted by: elevated Dec 21 2006, 05:13 PM
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.


Posted by: NomadCF Dec 22 2006, 03:34 PM
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.

Posted by: elevated Dec 23 2006, 08:26 PM
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.


Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)