diff --git a/mailscanner/lists.php b/mailscanner/lists.php index 510575a87..63db1c1e1 100644 --- a/mailscanner/lists.php +++ b/mailscanner/lists.php @@ -193,6 +193,8 @@ $ar = explode('@', $_SESSION['myusername']); $domainname = $ar[1]; $to_domain_filter[] = $domainname; + } else { + $to_domain_filter[] = $_SESSION['myusername']; } $to_domain_filter = array_unique($to_domain_filter); break;