9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: bobf@plan9.bell-labs.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] /mail/lib/blocked
Date: Sun,  1 Oct 2000 19:46:18 -0400	[thread overview]
Message-ID: <20001001234636.0CAB6199DD@mail> (raw)

> I have a question.
>
> Example file /mail/lib/blocked contains such lines as:
> *allow  63.12.0.0/16
> *block  cyberpromo.com!*
>
> The meaning of '*' at the beginning of line is not written in
> manual.
> I regarded it as one of comments, but I found these two data are
> read by smtpd and used by dommatch() in upas/smtp/spam.c
>
> What does '*' mean ?

the '*' means that the argument(s) are addresses of the
form domain!user.  if the '*' is missing the address is
assumed to be an IP address.  in the example, the
'*' on the 'allow' verb is wrong; it should read

allow	63.12.0.0/16

in summary, the rule is: lines beginning with '*'
are NOT IP addresses, they are account names;
lines that do NOT begin with '*' contain IP addresses
as arguments.

i will also fix the documentation.




             reply	other threads:[~2000-10-01 23:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-01 23:46 bobf [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-01-23 17:07 Heiko Dudzus
2006-01-23 19:08 ` Francisco J Ballesteros
2006-01-23 23:26 ` geoff
2006-01-24 13:29   ` Heiko Dudzus
2006-01-24 16:16     ` Heiko Dudzus
2000-10-01 22:48 arisawa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20001001234636.0CAB6199DD@mail \
    --to=bobf@plan9.bell-labs.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).