#!/bin/bash bases="amavis iredadmin iredapd roundcubemail" for i in $bases; do echo some users param with "very interesting string '$i' and other" done