- def get_account_path(account)
- # Return the filesystem path of this account's mailbox.
- # Only works if the account exists!
- if not account.include?('@')
- msg = "#{account}: Accounts must contain an '@' symbol."
- raise InvalidAccountError.new(msg)
+ def get_user_path(user)
+ # Return the filesystem path of this user's mailbox.
+ # Only works if the user exists!
+ if not user.include?('@')
+ msg = "#{user}: Users must contain an '@' symbol."
+ raise InvalidUserError.new(msg)