diff --git a/mail/inc/class.mail_sieve.inc.php b/mail/inc/class.mail_sieve.inc.php index 9606ec7470..3471906609 100644 --- a/mail/inc/class.mail_sieve.inc.php +++ b/mail/inc/class.mail_sieve.inc.php @@ -443,7 +443,7 @@ class mail_sieve if (is_null($accountID)) $accountID = $GLOBALS['egw_info']['user']['account_id']; $accAllIdentities = $this->account->smtpServer()->getAccountEmailAddress(accounts::id2name($accountID)); - $allAliases = array($this->account->acc_imap_username); + $allAliases = array($this->account->ident_email); foreach ($accAllIdentities as &$arrVal) { if ($arrVal['type'] !='default')