Well, now it's ok with passwords and Courier-Imap is finally working with m= y=20 XMail server. Everything syncronized.
Now the only thing is how to manage user quota. I didn't find a way to make= =20 XMail to call my program when someone changes the uservar MaxMailboxSize. Is there any hidden trick? Em Seg 25 Abr 2005 21:47, Helio Cavichiolo Jr escreveu: > Ugh, you are right Rob. I think I'm a little tired... > Now I'm fighting only with useredit. It's not changing the password. I > chan=3D ged=3D20 > my program to generate a log file, but it's not being called when I chang= e=3D > =3D20 > password. > > Em Seg 25 Abr 2005 21:32, Rob Arends escreveu: > > That would be because you need to tweak your TAB file a little: > > > > "userauth" "/var/MailRoot/bin/userauth" "userauth" ... > > "@@DOMAIN" "@@USER" "@@PASSWD" > > "useradd" "/var/MailRoot/bin/userauth" "useradd" ... > > "@@DOMAIN" "@@USER" "@@PASSWD" "@@PATH" > > "useredit" "/var/MailRoot/bin/userauth" "useredit" ... > > "@@DOMAIN" "@@USER" "@@PASSWD" "@@PATH" > > "userdel" "/var/MailRoot/bin/userauth" "userdel" ... > > "@@DOMAIN" "@@USER" > > "dropdomain" "/var/MailRoot/bin/userauth" "domaindrop" ... > > "@@DOMAIN" > > > > (Ignore the ... line continuations) > > > > Your program "/var/MailRoot/bin/userauth" would take parameters > > [userauth|useradd|useredit|userdel|dropdomain] and process it > > accordingly. > > > > Rob :-) > > _________________________________________________ > > Signature: Live like you'll die tomorrow! > > Reply: I tried your signature out once. It took years off my life! > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] On Behalf Of Helio Cavichiolo Jr > > > Sent: Tuesday, April 26, 2005 9:09 AM > > > To: xmail@xmailserver.org > > > Subject: [xmail] mysql base > > > > > > I was planning to use mysql to store users for authentication > > > when I saw th=3D3D e=3D3D20 userauth feature of xmail. I wrote a > > > little program to check the=3D3D20 authentication into a mysql > > > table and placed the following file into=3D3D20 > > > userauth/pop3 directory: > > > > > > "userauth" "/var/MailRoot/bin/userauth" > > > "userauth" "@@DOMAIN" =3D3D > > > =3D3D20 > > > "@@USER" "@@PASSWD" > > > > > > It worked perfectly. > > > > > > As I read into xmail documentation that this file can handle > > > the functions=3D3D =3D3D20 useradd, userdel, useredit and domaindrop, > > > I implemented these functions in=3D3D =3D3D20 my program and added > > > the following lines into the file in userauth/pop3=3D3D20 > > > directory: > > > > > > "userauth" "/var/MailRoot/bin/userauth" > > > "userauth" "@@DOMAIN" =3D3D > > > =3D3D20 > > > "@@USER" "@@PASSWD" > > > "useradd" "/var/MailRoot/bin/userauth" "userauth" > > > "@@DOMAIN" =3D3D > > > =3D3D20 > > > "@@USER" "@@PASSWD" "@@PATH" > > > "useredit" "/var/MailRoot/bin/userauth" "userauth" > > > "@@DOMAIN" =3D3D > > > =3D3D20 > > > "@@USER" "@@PASSWD" "@@PATH" > > > "userdel" "/var/MailRoot/bin/userauth" "userauth" > > > "@@DOMAIN" =3D3D > > > =3D3D20 > > > "@@USER" > > > "domaindrop" "/var/MailRoot/bin/userauth" "userauth" > > > "@@DOMAIN" > > > > > > (all spaces here are tabs in the file) > > > > > > But now I discovered that xmail doesn't call my program when > > > adding, deleti=3D3D ng=3D3D20 or changing a user. > > > So, anyone could tell me what are those functions (useradd, > > > useredit, userd=3D3D el,=3D3D20 > > > domaindrop) for, or how do they work? > > > > > > Thanx, > > > > > > =3D3D2D-=3D3D20 > > > Helio Cavichiolo Jr > > > Analista de Sistemas > > > Altecnet Inform=3D3DE1tica Ltda > > > Tel. (19) 8137-6822 > > > - > > > To unsubscribe from this list: send the line "unsubscribe > > > xmail" in the body of a message to [EMAIL PROTECTED] > > > For general help: send the line "help" in the body of a > > > message to [EMAIL PROTECTED] > > > > - > > To unsubscribe from this list: send the line "unsubscribe xmail" in > > the body of a message to [EMAIL PROTECTED] > > For general help: send the line "help" in the body of a message to > > [EMAIL PROTECTED] > > =3D2D-=3D20 > Helio Cavichiolo Jr > Analista de Sistemas > Altecnet Inform=3DE1tica Ltda > Tel. (19) 8137-6822 > - > To unsubscribe from this list: send the line "unsubscribe xmail" in > the body of a message to [EMAIL PROTECTED] > For general help: send the line "help" in the body of a message to > [EMAIL PROTECTED] =2D-=20 Helio Cavichiolo Jr Analista de Sistemas Altecnet Inform=E1tica Ltda Tel. (19) 8137-6822 - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]