Re: Re: limit Postmaster account

Lendvai Péter <[email protected]>
Newsgroups gmane.mail.qmail.admin
Message-ID <[email protected]>
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
<[email protected]> wrote:
> Thanks John!
> 
> I will try to modify the source code of Qmailadmin.
> 
> Kis Peter
> 
> 
> John Simpson <[email protected]> í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!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.