Subject: The mailing list for listmasters using Sympa
List archive
Re: [sympa-users] Restricting sending access by IP Address
- From: Queen Brown <address@concealed>
- To: Serge Aumont <address@concealed>
- Cc: address@concealed
- Subject: Re: [sympa-users] Restricting sending access by IP Address
- Date: Tue, 23 Sep 2008 15:49:12 -0400
Ok, thanks. I would still like to use the match condition based on the
domain. But I am unable to get this to work. I have created the
following rule for a list:
match ([env->remote_addr],/^134\.140\.10\./) smtp -> do_it
match ([env->remote_host],/hostname\.simmons\.edu$/) smtp -> do_it
true() smtp,smime,md5 ->
reject(reason='send_local_user')
But it seems that the first two conditions are not met when a message is
sent from the specified network. I only receive the error identified by
the reject action. Is there something that needs to be configured in
order to detect the domain part of the IP address or host?
Serge Aumont wrote:
> Queen Brown a écrit :
>
>> Hi,
>>
>> I am trying to determine if it is possible to restrict sending access to
>> from a specific IP Address? So, mail sent to the list would only be
>> accepted and moderated only if the sending client's IP address matches.
>> There is a scenario rule that allows a restriction based on the intranet
>> but I am wondering if the netmask option is able to restrict this even
>> further with something like:
>>
>>
>> match ([env->remote_host],/195\.220\.94\.75$/) smtp -> editorkey
>>
>
> The match condition is good enough to test class C or B (testing only
> 2 or 3 octet but in next version Sympa will include a netmask
> condition (using CDIR notation).
>
> Serge Aumont
-
[sympa-users] Restricting sending access by IP Address,
Queen Brown, 09/18/2008
-
Re: [sympa-users] Restricting sending access by IP Address,
Serge Aumont, 09/19/2008
-
Re: [sympa-users] Restricting sending access by IP Address,
Queen Brown, 09/23/2008
- Re: [sympa-users] Restricting sending access by IP Address, Serge Aumont, 09/24/2008
-
Re: [sympa-users] Restricting sending access by IP Address,
Queen Brown, 09/23/2008
-
Re: [sympa-users] Restricting sending access by IP Address,
Serge Aumont, 09/19/2008
Archive powered by MHonArc 2.6.19+.