Mike,
If you are using an external DB, try query to it to see if user already
exists. Only if it does not, does your script call adduser. I don't see
anything in the command that indicates it does a search, except for an alias
of the same name.
Daniel Donnelly
________________________________________________________
----- Original Message -----
From: "Mike Delp" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 22, 2001 2:42 PM
Subject: [IMail Forum] Need way to check for existing email address before
using externa l script to create a new account.
> We are currently using event scripts to add new users from our billing
> software. (RODOPI) we have set up a new service, where we broker
> connections with other ISP's for a large membership, and we set up an
e-mail
> account on our site for all brokered accounts, and all of our dial up
users.
> When we create a new account (we think) via adduser, and the account name
> already exists, we just overwrite the old password with the new password,
> and the new user assumes the account. Can Imail prevent this by a search
or
> notification that an account already exists?
>
>
>
> ------
> COFFEE.EXE Missing---Insert Cup and Press Any Key.
> ------
>
> Mike Delp
> Director of Technical Services
> Database Computer Group, Inc.
> (515) 564-0150
> FAX: (515) 564-0152
> [EMAIL PROTECTED]
>
> ------
>
>
> Please visit http://www.ipswitch.com/support/mailing-lists.html
> to be removed from this list.
>
> An Archive of this list is available at:
> http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/