readers.conf, bug or am I doing something wrong?

Jeffrey M. Vinocur jeff at litech.org
Fri Apr 27 14:18:03 UTC 2001


On Fri, 27 Apr 2001, Hawk wrote:

> auth "all" {
>   hosts: "*"
>   auth: "ckpasswd -f /path/to/my/passwd"
>   default: "readonly"
>   }
> auth "bans" {
>   hosts: "banned.host"
>   auth: "ckpasswd -f /path/to/my/passwd"
>   default: "bans"
>   }

I believe you can do

   hosts: "*,!banned.host"

but to do it the way you're trying to, try:

auth "bans" {
  hosts: "banned.host"
  default: "bans"
}
auth "all" {
  hosts: "*"
  auth: "ckpasswd -f /path/to/my/passwd"
  default: "readonly"
}



> access "readonly" {
>   users: "readonly"
>   newsgroups: "*"
>   access: "R"
>   }

The access: parameter is deprecated, you should do:

access "readonly" {
  users: "readonly"
  read: "*"
  post: "!*"
}



-- 
Jeffrey M. Vinocur
jeff at litech.org



More information about the inn-workers mailing list