9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] /mail/lib/blocked
@ 2000-10-01 22:48 arisawa
  0 siblings, 0 replies; 7+ messages in thread
From: arisawa @ 2000-10-01 22:48 UTC (permalink / raw)
  To: 9fans

Hello,

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 ?

Thanks,

Kenji Arisawa
E-mail:arisawa@aichi-u.ac.jp



^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: [9fans] /mail/lib/blocked
@ 2000-10-01 23:46 bobf
  0 siblings, 0 replies; 7+ messages in thread
From: bobf @ 2000-10-01 23:46 UTC (permalink / raw)
  To: 9fans

> 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.




^ permalink raw reply	[flat|nested] 7+ messages in thread
* [9fans] /mail/lib/blocked
@ 2006-01-23 17:07 Heiko Dudzus
  2006-01-23 19:08 ` Francisco J Ballesteros
  2006-01-23 23:26 ` geoff
  0 siblings, 2 replies; 7+ messages in thread
From: Heiko Dudzus @ 2006-01-23 17:07 UTC (permalink / raw)
  To: 9fans

Is anyone actually using /mail/lib/blocked?

I'd like the mail server to deny access from certain dialup-networks,
according to smtpd(6).  The rules seem to get ignored by smtpd.
(/mail/lib/blocked exists and is world readable).

In fact, I can't find any reference to /mail/lib/blocked in
/sys/src/cmd/upas/smtp/*.

Heiko



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-01-24 16:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-01 22:48 [9fans] /mail/lib/blocked arisawa
2000-10-01 23:46 bobf
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

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).