cvs: php-master-web /manage challenge-response.php users.php

From: Date: Wed, 08 Sep 2004 10:33:52 +0000
Subject: cvs: php-master-web /manage challenge-response.php users.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-26128@lists.php.net to get a copy of this message
wez Wed Sep 8 06:33:52 2004 EDT Modified files: /php-master-web/manage challenge-response.php users.php Log: Allow users to toggle their greylisting flag. For more details, visit manage/users.php http://cvs.php.net/diff.php/php-master-web/manage/challenge-response.php?r1=1.3&r2=1.4&ty=u Index: php-master-web/manage/challenge-response.php diff -u php-master-web/manage/challenge-response.php:1.3 php-master-web/manage/challenge-response.php:1.4 --- php-master-web/manage/challenge-response.php:1.3 Fri Aug 20 18:02:39 2004 +++ php-master-web/manage/challenge-response.php Wed Sep 8 06:33:51 2004 @@ -1,4 +1,4 @@ -<?php # $Id: challenge-response.php,v 1.3 2004/08/20 22:02:39 wez Exp $ +<?php # $Id: challenge-response.php,v 1.4 2004/09/08 10:33:51 wez Exp $ /* Show the list of people caught up in the CR system * for the current user. */ @@ -69,8 +69,10 @@ </table> <p> -If you see an address listed here that you are 100% sure is a legitimate sender, -you may tick the appropriate box and confirm them. +If you see an address listed here that you are 100% sure is a legitimate +sender, you may tick the appropriate box and confirm them. Quarantine is +processed every 15 minutes; once you have confirmed an address, be prepared to +wait that long before the mail is delivered. </p> <input type="submit" name="confirm_them" value="Confirm Ticked Senders"/> http://cvs.php.net/diff.php/php-master-web/manage/users.php?r1=1.38&r2=1.39&ty=u Index: php-master-web/manage/users.php diff -u php-master-web/manage/users.php:1.38 php-master-web/manage/users.php:1.39 --- php-master-web/manage/users.php:1.38 Fri Aug 20 15:51:48 2004 +++ php-master-web/manage/users.php Wed Sep 8 06:33:51 2004 @@ -112,7 +112,8 @@ $cvsaccess = $in[cvsaccess] ? 1 : 0; $spamprotect = $in[spamprotect] ? 1 : 0; $verified = $in[verified] ? 1 : 0; - $use_sa = (int)$in[use_sa]; + $use_sa = (int)$in[use_sa]; + $greylist = $in[greylist] ? 1 : 0; if ($id) { # update main table data @@ -123,7 +124,8 @@ . (is_admin($user) ? ",cvsaccess=$cvsaccess" : "") . ",spamprotect=$spamprotect" . ",verified=$verified" - . ",use_sa=$use_sa" + . ",use_sa=$use_sa" + . ",greylist=$greylist" . " WHERE userid=$id"; db_query($query); if(strlen($in['purpose'])) { @@ -142,7 +144,8 @@ . ($in[passwd] ? ",passwd='$in[passwd]'" : "") . (is_admin($user) ? ",cvsaccess=$cvsaccess" : "") . ",spamprotect=$spamprotect" - . ",use_sa=$use_sa" + . ",use_sa=$use_sa" + . ",greylist=$greylist" . ",verified=$verified"; db_query($query); @@ -164,7 +167,12 @@ if (isset($id)) { ?> -<table> +<style> +table.useredit tr { + vertical-align: top; +} +</style> +<table class="useredit"> <form method="post" action="<?php echo $PHP_SELF;?>"> <input type="hidden" name="id" value="<?php echo $row[userid];?>" /> <tr> @@ -214,6 +222,14 @@ <tr> <th align="right">SpamAssassin threshold</th> <td>Block mail scoring <input type="text" name="in[use_sa]" value="<?php echo $row[use_sa] ?>" size="4" maxlength="4"/> or higher in SpamAssassin tests. Set to 0 to disable.</td> +</tr> +<tr> + <th align="right">Greylist</th> + <td>Delay reception of your incoming mail by a minimum of one hour using a 451 response.<br/> + Legitimate senders will continue to try to deliver the mail, whereas + spammers will typically give up and move on to spamming someone else.<br/> + See <a href="http://projects.puremagic.com/greylisting/whitepaper.html">this whitepaper</a> for more information on greylisting.<br/> + <input type="checkbox" name="in[greylist]"<?php echo $row[greylist] ? " checked" : "";?> /> Enable greylisting on my account</td> </tr> <tr> <th align="right">Verified?</th>

« previous php.mirrors (#26128) next »