Re: Help needed with a "wedged" CRM114 installation

[email protected] Mon, 26 Mar 2012 13:52:58 -0400
Newsgroups gmane.mail.spam.crm114
Message-ID <[email protected]>
Tracy Reed <[email protected]> writes:

> [1:text/plain Hide]
> On Mon, Mar 26, 2012 at 08:16:31AM -0400, [email protected] spake thusly:
>> A priolist file looks like this: a + or a -, then a space, then a
>> pattern.  A leading "+" means "whitelist", a leading "-" means
>> "blacklist".  As a regex, it looks like this:
>> 
>>   (+|-) pattern
>> 
>> For example, to whitelist my lawer, my doctor, and blacklist 
>> my ex-girlfriend:
>> 
>> + my_lawyer-gexy9bi/[email protected]
>> + [email protected]
>> - [email protected]
>> + [email protected]
>
> I notice you have a space between the +/- and the email address. Is that
> necessary? Are # allowed as comments? My understanding is that they can be the
> first char on a line as a comment. I recently had a bunch of comments at end of
> lines like:

I *think* there's supposed to be a space there, but it's been
so long since I touched the code that I can't remember!

I *think* that a column 1 '#' can be used as a comment.


> - [email protected] # Psycho, do NOT drunk dial!

I am pretty sure that will NOT work.

> and I think it was messing things up.
>
> Are there any circumstances under which the user gets the syntax gets so messed
> up that crm114 quits processing the list partway through? This is a question
> one of my users posed to me recently.

I don't think so.  It's reading a line at a time.  But it's always 
possible that there's a bug.

   - Bill

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure