SF.net SVN: postfixadmin:[480] trunk/functions.inc.php
Brought to you by:
christian_boltz,
gingerdog
|
From: <chr...@us...> - 2008-11-12 22:07:55
|
Revision: 480
http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=480&view=rev
Author: christian_boltz
Date: 2008-11-12 22:07:50 +0000 (Wed, 12 Nov 2008)
Log Message:
-----------
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
Modified Paths:
--------------
trunk/functions.inc.php
Modified: trunk/functions.inc.php
===================================================================
--- trunk/functions.inc.php 2008-11-12 21:48:31 UTC (rev 479)
+++ trunk/functions.inc.php 2008-11-12 22:07:50 UTC (rev 480)
@@ -2006,7 +2006,8 @@
$stat_ok = 1;
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)
{
$stat_ok = 0;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|