
igor at host4u
May 5, 2002, 1:09 PM
Post #3 of 3
(161 views)
Permalink
|
|
Re: AW: Direct mailbox delivery -> filtering
[In reply to]
|
|
> i have a question: > what happens, if the mailbox does not exist? you can find all unconnected messages using this little script. <? mysql_connect("localhost", "dbmail", "password"); mysql_select_db("dbmail"); $q = mysql_query("select * from aliases"); while ($r = mysql_fetch_array($q)) { if (mysql_num_rows(mysql_query("select * from users where user_idnr = '".$r["deliver_to"]."'")) == 0) { print $r["deliver_to"]."<br>"; } } ?>
|