I would like to remove the '.' from the localpart(email). However I don't get how I should apply this regex[1] to the variable. [1] http://puszcza.gnu.org.ua/software/mailfromd/manual/mailfromd.html#s_002dexpression