You've already forked postfixadmin
mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2025-08-09 05:02:44 +03:00
functions.inc.php
- gen_show_status(): "probably undeliverable" marker now honors catchall aliases and no longer marks aliases pointing to a catchall as invalid https://sourceforge.net/tracker/index.php?func=detail&aid=2013772&group_id=191583&atid=937964 git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@480 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
@@ -2006,7 +2006,8 @@ function gen_show_status ($show_alias)
|
|||||||
$stat_ok = 1;
|
$stat_ok = 1;
|
||||||
while ( ($g=array_pop($gotos)) && $stat_ok )
|
while ( ($g=array_pop($gotos)) && $stat_ok )
|
||||||
{
|
{
|
||||||
$stat_result = db_query ("SELECT address FROM $table_alias WHERE address = '$g'");
|
$stat_catchall = substr($g,strpos($g,"@"));
|
||||||
|
$stat_result = db_query ("SELECT address FROM $table_alias WHERE address = '$g' OR address = '$stat_catchall'");
|
||||||
if ($stat_result['rows'] == 0)
|
if ($stat_result['rows'] == 0)
|
||||||
{
|
{
|
||||||
$stat_ok = 0;
|
$stat_ok = 0;
|
||||||
|
Reference in New Issue
Block a user