Bash Email Admin Script
A script designed to administer an Email server using Workaround.org tutorial.
I wrote this little script as a replacement for a python script who's purpose is/was to administer an email server (add/remove/modify domains/accounts/aliases).. it's GNU Kosher : ]
oh, careful, there is now a new version of the Workaround ISP mail tutorial, the Lenny edition (in case this page gets old), so get the lenny script you used the latest tutorial, and the plain one for use on the etch edition
Published by:
date: 09 August 2009 at 12:21 AM
Comment:
Nice script
thanks.
CharlieB
Published by:
date: 15 January 2010 at 2:53 PM
Comment:
I userd the beas_lenny.sh, but it does not support mailadresses with an dot or a dash in it, like firstname.lastname@example.com or firstname-secondname.lastname@example.com
Published by:
date: 15 January 2010 at 3:15 PM
Comment:
you are correct.
I changed the regex on line 104 to:
if [ "${2}" = "user" ]; then REGEX="^([0-9a-z\.-]{${MINMAIL},${MAXMAIL}})$"; fi
This now allows dots and dashes.
Published by: stjohn
date: 27 July 2009 at 2:58 AM
Comment:
Works like a charm, just what I was looking for!
many thanks,
Stjohn