Hello it is the first message to the list, and I really do not write anything of English, I am going to try to use a translator. But m i consults has a .txt file with 900 users and passwords in text sure and needs to know if form exists to directly pass them to the vpopmail, of a single step not
On 7/27/06, Ariel <[EMAIL PROTECTED]> wrote:
Hello it is the first message to the list, and I really do not write
anything of English, I am going to try to use a translator.But m i
consults has a .txt file with 900 users and passwords in text sure and needs
to know if form exists to directly
correcto.. pero es posible levantar los datos desde un archivo txt o csv ?2006/7/27, Natalio Gatti <[EMAIL PROTECTED]>:
On 7/27/06, Ariel <[EMAIL PROTECTED]> wrote:>> Hello it is the first message to the list, and I really do not write> anything of English, I am going to try to use a translator.
On 7/27/06, Ariel <[EMAIL PROTECTED]> wrote:
correcto.. pero es posible levantar los datos desde un archivo txt o csv ?
**Spanish
Si, es posible, lo debes hacer con un script que lea los archivos.
**English
Yes, you have to use a bash script that take them as input.
Natalio
--
Gracias,, pero la verdad no conozco casi nada de php y muy poco de bash,, pense que ya habia algun mecanismo incluido para migrar a vpopmailEl día 27/07/06,
Guillermo Villasana <[EMAIL PROTECTED]> escribió:
you can do it with a bash script, although if you have php you can do aphp script that run
Muchisimas gracias.. lo voy a probar y te avisoSaludosEl día 27/07/06, Samuel Díaz García <[EMAIL PROTECTED]
> escribió:Créate un fichero con las líneas que hay entre el comienzo y el final.
Puede que te ayude en algo, quizás tengas que retocar un poco paraajustarlo a tu sistema, pero, al menos, ti
Una consulta massupongamo que el archivo tiene estas lineasusuario contraseña nombre_real(pepe) 1234 Ariel fernandezque lineas agrego al script para que me pase lo nombres reales tambien ??
Gracias2006/7/27, Ariel <[EMAIL PROTECTED]>:
Muchisimas gracias.. lo voy a probar y te avisoSalu
El parámetro necesario del vadduser, no lo sé ahora, pero tendrás que
añadirle un parámetro para indicar el nombre real.
Ahora bien, para pillar el tercer campo y meterlo en "nombre" te tiene que
quedar algo como:
usuario=`echo ${linea} | cut -d "," -f 1`;
clave=`echo ${linea} | cut -d ",
Con el parámetro "-c" se mete un comentario, no veo parámetro explícito
para el nombre completo. Supongo que con el comentario te deberá servir
de momento.
# /home/vpopmail/bin/vadduser
vadduser: usage: [options] email_address [passwd]
options: -v (print the version)
-q quota_in_bytes
Hi Samuel,
The comment system is interpreted as real name in Qmailadmin.
Erik
On 7/30/06, Samuel Díaz García <[EMAIL PROTECTED]> wrote:
Con el parámetro "-c" se mete un comentario, no veo parámetro explícito
para el nombre completo. Supongo que con el comentario te deberá servir
de momento.
10 matches
Mail list logo