????

Your IP : 18.119.160.42


Current Path : /proc/325305/root/nutscripts/
Upload File :
Current File : //proc/325305/root/nutscripts/recu

cat /root/mails_user_borrados.txt 
while read USER
do
  ls /home*/$USER/etc | grep -v ftpquota > /tmp/recu/fixmail
  echo =============
  echo Usuario $USER
  echo Dominios
  echo -------------
  cat /tmp/recu/fixmail
  while read dominio
  do
   mkdir -m 751 /mails/$USER/$dominio
   cat /home*/$USER/etc/$dominio/passwd | awk -F ":" {'print $1'} > /tmp/recu/$dominio
   cat /tmp/recu/$dominio
   while read email
    do
     mkdir -m 751 /mails/$USER/$dominio/$email
     mkdir -m 751 /mails/$USER/$dominio/$email/new
     mkdir -m 751 /mails/$USER/$dominio/$email/cur
     mkdir -m 751 /mails/$USER/$dominio/$email/tmp
    done < /tmp/recu/$dominio
  done < /tmp/recu/fixmail
  chown -R $USER.$USER /mails/$USER/$dominio
  echo "Fin usuario $USER"
done < /root/mails_user_borrados.txt