....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/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]
> >
> > -
> > 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]

Reply via email to