View Single Post
  #4  
Old 5th November 2012, 12:41
dendic dendic is offline
Junior Member
 
Join Date: Nov 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

!bin/bash

#Copyright ...Alessandro De Zorzi and Mirko Grava
#Phamm is free...
#This file must be in path vmail/bin
LDAP-BASE="o=hosting,dc=example,dc=tld"
admin="cn=manager"
SUFFIX="dc=example,dc=tld"ROOTPW="secret"
BINDDN=cn=phamm,o=hosting,dc=example,dc=tld"
BINDPW=rhx"
OUTPUT="/home/vmail/bin/lista


touch $OUTPUT#find mail to delete...
...
#create file for awk....
...
#find domain to delete...
...
#create file for awk...
...
#execute and delete temporary files...
chmod 700 $OUTPUT
#OUTPUT
#rm -rf "/tmp/mb* "/tmp/vd* $OUTPUT
Reply With Quote