Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Community > Tech > [QMail] Creazione account tramite script
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
^Angelus^
.illuminato.

User info:
Registered: Sep 2002
Posts: 163 (0.02 al dì)
Location: nelle vicinanze di Comelico beach
Corso: Informatica (ex Com Dig)
Anno: Bella domanda
Time Online: 3 Days, 21:34:49 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
[QMail] Creazione account tramite script

Devo creare circa 300 account di posta con QMail, ovviamente settarli a mano è un suicidio, senza contare la possibilità di errori di battitura, immagino che si debba creare uno script ma

a) non ho la minima idea di come si faccia
b) non conosco qmail, quindi non so che parametri bisogna settare e e quale sono i valori adatti

Qualcuno è in grado di aiutarmi?

Danghiù

__________________
Empty your mind, be formless, shapeless, like water. If you put water into a cup it became a cup, if you put water into a bottle it became a bottle, if you put into a teapot it became a teapot. Water can flow or can crush. Be water my friend.

Nessuna via come via. Nessun limite come limite

- Bruce Lee -

27-05-2004 12:13
Click Here to See the Profile for ^Angelus^ Click here to Send ^Angelus^ a Private Message Find more posts by ^Angelus^ Add ^Angelus^ to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Ryudo
.precettore.

User info:
Registered: Apr 2003
Posts: 85 (0.01 al dì)
Location: Arcore
Corso: Informatica
Anno: 1
Time Online: 3 Days, 8:05:43 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Re: [QMail] Creazione account tramite script

Originally posted by ^Angelus^

b) non conosco qmail, quindi non so che parametri bisogna settare e e quale sono i valori adatti

supposto che come formato utilizzi Maildir e non mbox, qmail ha bisogno semplicemente che nella home dell'utente ci sia un file .qmail con il path della propria cartella Maildir. Quindi devi creare una cartella Maildir in ogni home, crearci un file .qmail e scriverci dentro "./Maildir"

Qualcuno è in grado di aiutarmi?

supposto che tu abbia gia' le cartelle degli utenti in /home e che ogni utente abbia un gruppo omonimo, prova questo script (che non ho testato...)
#!/bin/sh

for i in `ls /home`;
do
cd /home/$i
maildirmake Maildir
echo ./Maildir > .qmail
chown $i:$i .qmail Maildir
cd ..
done;

Non credo ci sia bisogno di fare altro, casomai controlla la documentazione di qmail.

28-05-2004 21:03
Click Here to See the Profile for Ryudo Click here to Send Ryudo a Private Message Visit Ryudo's homepage! Find more posts by Ryudo Add Ryudo to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 10:23.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.045 seconds (53.71% PHP - 46.29% MySQL) con 25 query.