From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sun, 1 Oct 2000 19:46:18 -0400 From: bobf@plan9.bell-labs.com To: 9fans@cse.psu.edu Subject: Re: [9fans] /mail/lib/blocked MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20001001234636.0CAB6199DD@mail> Topicbox-Message-UUID: 132a25f8-eac9-11e9-9e20-41e7f4b1d025 > 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.