|
lug-bg: perl scripting (dogodina trqbva da go znam az toq ezik ama da vid im)
- Subject: lug-bg: perl scripting (dogodina trqbva da go znam az toq ezik ama da vid im)
- From: i.kolemanov@xxxxxxxx (ISM Kolemanov, Ivan)
- Date: Fri, 1 Dec 2000 14:51:52 +0100
zdrasti pak,
nuzdaq se ot script kojto da preravq dadena direktoriq vsei chas
i ako ima nov fail ili po-nov ot predishnoto startirane na programata
da izpalnqva nqkolko stapki
naprimer
/home/courier/user_1/Maildir/sqwebmail-pass
/home/courier/user_2/Maildir/sqwebmail-pass
/home/courier/user_n/Maildir/sqwebmail-pass
1. find /home/courier/ | grep sqwebmail-pass
2. if sqwebmail-pass newer than $time
3. userdb user_n systempw=(extract pass from sqwebmail-pass)
4. makeuserdb
Sega da obqsnq
tova trqbva da predstavlqva smtp/pop3/imap/webmail server
polzvam Postfix, courier-imap i sqwebmail
v /etc/passwd imam useri s homes
postfix svalq maila v tqhnite Maildir
courier-imap servira maila na userite kato
polzva userdb auth modul
sqwebmail (courier) shvasta vsichko, no moze da promenq parola
samo vav vpopmail vid, koeto e prosto crypt na prarolata v
~/Maildir/sqwebmail-pass
e taq parola ako q pratq s komanda
'userdb user_n systempw=cryptpass'
v basata i rebuildna vsichko e nared
t.e. parolata ot sqwebmail, ste moze da se polzva i za imap i pop3
ako nqkoj ima vreme da drasne nqkolko reda ste sam mnogo zadalzen
nadqvam se i tozi pat da polucha polezen otgovor
pozdravi,
ivan
==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|