[xmail] Re: mysql base
Excellent! I have not used the userauth/pop3 stuff before. Could you clarify how you use it, Do you use the CTRL protocol to add a user, and xmail calls your userauth program to add it to sql? Or am I missing how you are using your setup? 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 10:48 AM To: xmail@xmailserver.org Subject: [xmail] Re: mysql base 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= ged=20 my program to generate a log file, but it's not being called when I change= =20 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=3D e=3D20 userauth feature of xmail. I wrote a little program to check the=3D20 authentication into a mysql table and placed the following file into=3D20 userauth/pop3 directory: userauth /var/MailRoot/bin/userauth userauth@@DOMAIN=3D =3D20 @@USER@@PASSWD It worked perfectly. As I read into xmail documentation that this file can handle the functions=3D =3D20 useradd, userdel, useredit and domaindrop, I implemented these functions in=3D =3D20 my program and added the following lines into the file in userauth/pop3=3D20 directory: userauth /var/MailRoot/bin/userauth userauth@@DOMAIN=3D =3D20 @@USER@@PASSWD useradd /var/MailRoot/bin/userauthuserauth @@DOMAIN =3D =3D20 @@USER@@PASSWD @@PATH useredit /var/MailRoot/bin/userauthuserauth @@DOMAIN =3D =3D20 @@USER@@PASSWD @@PATH userdel /var/MailRoot/bin/userauthuserauth @@DOMAIN =3D =3D20 @@USER domaindrop/var/MailRoot/bin/userauthuserauth @@DOMAIN (all spaces here are tabs in the file) But now I discovered that xmail doesn't call my program when adding, deleti=3D ng=3D20 or changing a user. So, anyone could tell me what are those functions (useradd, useredit, userd=3D el,=3D20 domaindrop) for, or how do they work? Thanx, =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] - 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] - 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]
[xmail] Re: mysql base
=46irst of all a little of freshness, I renamed my program to xuserdb becau= se I=20 thought it sounds more mnemonic with its functions. :-) As a matter of fact, all my program does is getting parameters from command= =20 line when xmail calls it and handle them in a mysql database. The calls and parameters are passed as shown into .tab file placed=20 in /var/MailRoot/userauth/pop3. I don't know why it is assigned as a pop3 function, since those functions a= re=20 generic, but it works fine. It's a pitty we don't have this functionality f= or=20 uservarsset calls. Anyway, I'm so glad with xmail. I have used sendmail and qmail, and took a= =20 look in some others, but none of them looks so complete and organized. I hope xmail project have enough health to have a long life. In time, xuserdb was written in Pascal because I didn't have enough time an= d=20 pacience to learn C yet and Pascal is an old friend since university days. Helio Em Ter 26 Abr 2005 05:16, Rob Arends escreveu: Excellent! I have not used the userauth/pop3 stuff before. Could you clarify how you use it, Do you use the CTRL protocol to add a user, and xmail calls your userauth program to add it to sql? Or am I missing how you are using your setup? 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 10:48 AM To: xmail@xmailserver.org Subject: [xmail] Re: mysql base 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 change=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/userauthuserauth @@DOMAIN =3D3D =3D3D20 @@USER@@PASSWD @@PATH useredit /var/MailRoot/bin/userauthuserauth @@DOMAIN =3D3D =3D3D20 @@USER@@PASSWD @@PATH userdel /var/MailRoot/bin/userauthuserauth @@DOMAIN =3D3D =3D3D20 @@USER domaindrop/var/MailRoot/bin/userauthuserauth @@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] Re: mysql base
and when does xmail call your program? - POP3 login and ? 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 11:28 PM To: xmail@xmailserver.org Subject: [xmail] Re: mysql base =46irst of all a little of freshness, I renamed my program to xuserdb becau= se I=20 thought it sounds more mnemonic with its functions. :-) As a matter of fact, all my program does is getting parameters from command= =20 line when xmail calls it and handle them in a mysql database. The calls and parameters are passed as shown into .tab file placed=20 in /var/MailRoot/userauth/pop3. I don't know why it is assigned as a pop3 function, since those functions a= re=20 generic, but it works fine. It's a pitty we don't have this functionality f= or=20 uservarsset calls. Anyway, I'm so glad with xmail. I have used sendmail and qmail, and took a= =20 look in some others, but none of them looks so complete and organized. I hope xmail project have enough health to have a long life. In time, xuserdb was written in Pascal because I didn't have enough time an= d=20 pacience to learn C yet and Pascal is an old friend since university days. Helio Em Ter 26 Abr 2005 05:16, Rob Arends escreveu: Excellent! I have not used the userauth/pop3 stuff before. Could you clarify how you use it, Do you use the CTRL protocol to add a user, and xmail calls your userauth program to add it to sql? Or am I missing how you are using your setup? 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 10:48 AM To: xmail@xmailserver.org Subject: [xmail] Re: mysql base 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 change=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/userauthuserauth @@DOMAIN =3D3D =3D3D20 @@USER@@PASSWD @@PATH useredit /var/MailRoot/bin/userauthuserauth @@DOMAIN =3D3D =3D3D20 @@USER@@PASSWD @@PATH userdel /var/MailRoot/bin/userauthuserauth @@DOMAIN =3D3D
[xmail] Re: mysql base
How I said, it is called when the functions placed into .tab file are=20 executed. When someone authenticate himself by pop3, xmail calls xuserdb using=20 userauth line specified in the .tab file. The same thing occurs when adding users, deleting users, changing users=20 passwords or dropping domains using CTRL. Althought it's not a pop3 functio= n,=20 xmail also calls xuserdb on those situations as described in .tab file. Helio Em Ter 26 Abr 2005 11:38, Rob Arends escreveu: and when does xmail call your program? - POP3 login and ? 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 11:28 PM To: xmail@xmailserver.org Subject: [xmail] Re: mysql base =3D46irst of all a little of freshness, I renamed my program to xuserdb becau=3D se I=3D20 thought it sounds more mnemonic with its functions. :-) As a matter of fact, all my program does is getting parameters from command=3D =3D20 line when xmail calls it and handle them in a mysql database. The calls and parameters are passed as shown into .tab file placed=3D20 in /var/MailRoot/userauth/pop3. I don't know why it is assigned as a pop3 function, since those functions a=3D re=3D20 generic, but it works fine. It's a pitty we don't have this functionality f=3D or=3D20 uservarsset calls. Anyway, I'm so glad with xmail. I have used sendmail and qmail, and took a=3D =3D20 look in some others, but none of them looks so complete and organized. I hope xmail project have enough health to have a long life. In time, xuserdb was written in Pascal because I didn't have enough time an=3D d=3D20 pacience to learn C yet and Pascal is an old friend since university days. Helio Em Ter 26 Abr 2005 05:16, Rob Arends escreveu: Excellent! I have not used the userauth/pop3 stuff before. Could you clarify how you use it, Do you use the CTRL protocol to add a user, and xmail calls your userauth program to add it to sql? Or am I missing how you are using your setup? 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 10:48 AM To: xmail@xmailserver.org Subject: [xmail] Re: mysql base 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=3D3D ged=3D3D20 my program to generate a log file, but it's not being called when I change=3D3D =3D3D20 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=3D3D3D e=3D3D3D20 userauth feature of xmail. I wrote a little program to check the=3D3D3D20 authentication into a mysql table and placed the following file into=3D3D3D20 userauth/pop3 directory: userauth /var/MailRoot/bin/userauth userauth@@DOMAIN=3D3D3D =3D3D3D20 @@USER@@PASSWD It worked perfectly. As I read into xmail documentation that this file can handle the functions=3D3D3D =3D3D3D20 useradd, userdel, useredit and domaindrop, I
[xmail] Re: mysql base
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= e=20 userauth feature of xmail. I wrote a little program to check the=20 authentication into a mysql table and placed the following file into=20 userauth/pop3 directory: userauth /var/MailRoot/bin/userauth userauth@@DOMAIN= =20 @@USER@@PASSWD It worked perfectly. As I read into xmail documentation that this file can handle the functions= =20 useradd, userdel, useredit and domaindrop, I implemented these functions in= =20 my program and added the following lines into the file in userauth/pop3=20 directory: userauth /var/MailRoot/bin/userauth userauth@@DOMAIN= =20 @@USER@@PASSWD useradd /var/MailRoot/bin/userauthuserauth @@DOMAIN = =20 @@USER@@PASSWD @@PATH useredit /var/MailRoot/bin/userauthuserauth @@DOMAIN = =20 @@USER@@PASSWD @@PATH userdel /var/MailRoot/bin/userauthuserauth @@DOMAIN = =20 @@USER domaindrop/var/MailRoot/bin/userauthuserauth @@DOMAIN (all spaces here are tabs in the file) But now I discovered that xmail doesn't call my program when adding, deleti= ng=20 or changing a user. So, anyone could tell me what are those functions (useradd, useredit, userd= el,=20 domaindrop) for, or how do they work? Thanx, =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] - 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]
[xmail] Re: mysql base
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= ged=20 my program to generate a log file, but it's not being called when I change= =20 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=3D e=3D20 userauth feature of xmail. I wrote a little program to check the=3D20 authentication into a mysql table and placed the following file into=3D20 userauth/pop3 directory: userauth /var/MailRoot/bin/userauth userauth@@DOMAIN=3D =3D20 @@USER@@PASSWD It worked perfectly. As I read into xmail documentation that this file can handle the functions=3D =3D20 useradd, userdel, useredit and domaindrop, I implemented these functions in=3D =3D20 my program and added the following lines into the file in userauth/pop3=3D20 directory: userauth /var/MailRoot/bin/userauth userauth@@DOMAIN=3D =3D20 @@USER@@PASSWD useradd /var/MailRoot/bin/userauthuserauth @@DOMAIN =3D =3D20 @@USER@@PASSWD @@PATH useredit /var/MailRoot/bin/userauthuserauth @@DOMAIN =3D =3D20 @@USER@@PASSWD @@PATH userdel /var/MailRoot/bin/userauthuserauth @@DOMAIN =3D =3D20 @@USER domaindrop/var/MailRoot/bin/userauthuserauth @@DOMAIN (all spaces here are tabs in the file) But now I discovered that xmail doesn't call my program when adding, deleti=3D ng=3D20 or changing a user. So, anyone could tell me what are those functions (useradd, useredit, userd=3D el,=3D20 domaindrop) for, or how do they work? Thanx, =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] - 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]
[xmail] Re: mysql base
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/userauthuserauth @@DOMAIN =3D3D =3D3D20 @@USER@@PASSWD @@PATH useredit /var/MailRoot/bin/userauthuserauth @@DOMAIN =3D3D =3D3D20 @@USER@@PASSWD @@PATH userdel /var/MailRoot/bin/userauthuserauth @@DOMAIN =3D3D =3D3D20 @@USER domaindrop/var/MailRoot/bin/userauthuserauth @@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]