HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Correct writing in hosts.hfaxd



Dirk Salva<dsalva@xxxxxx> wrote on 6/8/2006 11:03 AM:
> On Wed, Jun 07, 2006 at 08:26:08PM -0400, Darren Nickerson wrote:
>> "Dirk Salva" <dsalva@xxxxxx> wrote:
>> >Only the user foo may send faxes, and only from the internal network
>> >and localhost. So, is the following string semantically correct?
>> >^foo@xxxxxxxxx 
>> >and for the whole 192.168.3.xxx range:
>> >^foo@xxxxxxxxx 
>> >_or_
>> >^foo@127\.0\.0\.1 
>> >^foo@192\.168\.3 
>> >?!?
>> >What is correct?
>> If you escape the period with a backslash as in "\." then it matches only a 
>> period. If you don't escape it, it's a regular expression operator that 
>> basically means "any character". Both will work for you in this case, but 
>> the escaped form is formally more of an exact match, and could be 
>> considered a better way to write it.
> 
> Ok. And ^foo@192\.168\.3 means (as I want) the whole IP-range from
> 192.168.3.0 to 192.168.3.255, is this correct?
> 
> ciao, Dirk

What also works for me is:

^foo@

This seems to allow "foo" in from anywhere.  "faxadduser foo" seems to do it.

joea

____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions