Saturday, April 03, 2004

monthly tasks

Automate the reporting of secondary DNS hosting (example):
(echo "From: User@Domain"
echo "to: Billing@Domain"
echo "subject: list of domains for CustomerDomain"
echo ""
ll | grep CustomerDomain | awk '{printf "%s\n", $9}'
) | /var/qmail/bin/qmail-inject -fUser@Domain


Automate the reporting of e-mail hosting counts.

No comments: