9fans archive / 2000 / 10 / 2 / prev next From: bobf@pla... Subject: Re: [9fans] /mail/lib/blocked Date: Sun, 1 Oct 2000 19:46:18 -0400 > 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.