Hi Peter,

You don't have to. He has just provided a patch. Just apply it against the
src.

Üdv :)
Peter Lendvai

On Mon, 16 Mar 2009 10:58:31 +0100 (CET), Kis Peter
<kispeter1...@freemail.hu> wrote:
> Thanks John!
> 
> I will try to modify the source code of Qmailadmin.
> 
> Kis Peter
> 
> 
> John Simpson <j...@jms1.net> írta: 
>
>> i'll probably start a qmailadmin page on the site,  
>> but for now you can get the patch here:
>> 
>> http://qmail.jms1.net/patches/qmailadmin-1.2.12-deny-admin.patch
>> 
>> of course, the other side of the equation is to make apache set the  
>> environment variable for all IP addresses EXCEPT the ones you trust.  
>> this is the general idea:
>> 
>> SetEnvIf  Remote_Addr  .                    QMAILADMIN_DENY_ADMIN
>> SetEnvIf  Remote_Addr  ^192\.168\.5\.      !QMAILADMIN_DENY_ADMIN
>> SetEnvIf  Remote_Addr  ^207\.30\.xx\.xxx$  !QMAILADMIN_DENY_ADMIN
>> 
>> these lines can be added to a .htaccess file in the directory  
>> containing the qmailadmin executable. you don't need to restart apache  
>> when creating or updating this file.
>> 


!DSPAM:49be264032681808974364!

Reply via email to