#!/bin/bash # Usage: populate domain.tld # Name: populate.sh # Object: Script for populating each user with the skeleton files # Greets: Thanks for the help goldfish! for d in /home/vpopmail/domains/$1/*/; do cp -af /home/vpopmail/skel/.qmail /home/vpopmail/skel/mailfilter "$d"; done