!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
|
Recent comments
4 hours 52 min ago
14 hours 20 min ago
15 hours 10 min ago
18 hours 43 min ago
23 hours 7 min ago
23 hours 29 min ago
1 day 1 hour ago
1 day 11 hours ago
1 day 16 hours ago
1 day 18 hours ago