# File lib/keystone/string_util.rb, line 32 def self.reverse_mail(mail) if mail.index('@') == nil return mail end user,dom = mail.split('@') if dom == nil return "@#{user}" end return dom.split('.').reverse.join(".") + "@" + user end