Well, I had to make my binary of userauth check if mlusers.tab exists for the 
user being added and it worked as I need. So, my binary can add U/M into sql 
database and my php application can distiguish among U/M user.
Thanks.

Em Segunda 20 Março 2006 11:57, Rob Arends escreveu:
> Helio,
>
> I'm not sure which way you are implementing (xmail first or mysql first) so
> I might have this wrong.
>
> If you are wanting to ask Xmail if the user is "u" or "m", then using the
> ctrl protocol,
> Issue a "userlist * user" and it will return data, including "U" or "M".
>
> So if the user is already created in xmail, you can find out the type
> (userlist) and push that to mysql.
> If the user is not already created in xmail, then create the user in xmail
> first, then do the userlist, then push to mysql.
>
> HTH.
>
> Rob :-)
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of [EMAIL PROTECTED]
> Sent: Monday, 20 March 2006 11:43 PM
> To: xmail@xmailserver.org
> Subject: [xmail] Re: userauth
>
> <snip>
>
> The email functions of my XMail server is working perfectly (sending
> emails, receiving emails, virus+spam, rbl check).
> If you have a single domain with 2k users, try a telnet to port 6017 and
> make a userlist for that domain and you'll know what I mean.
> It's too expensive for a PHP application to manage those users this way.
> So, an hybrid solution would be perfect. The PHP application would get
> information from a SQL database and change them via XMail admin connection.
> I already have this solution running and it is very fast, the only thing is
> missing is that I would like to distinguish among normal users and mailing
> list, and this must be done while you are adding the user. This way, my
> userauth external binary need to get this information when XMail calls it
> to add a new user.
>
> -
> 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]

-- 
Helio Cavichiolo Jr
Altecnet Informatica Ltda
www.altecnet.com.br
+55 (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]

Reply via email to