9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Matthias Teege <matthias-9fns@mteege.de>
To: 9fans@9fans.net
Subject: [9fans] /mail/ratify permissions
Date: Sun, 21 Jun 2009 14:51:34 +0200	[thread overview]
Message-ID: <2c95cc659d62232614271adc9ea3c0b3@mteege.de> (raw)

Moin,

I try to get ratfs to work. I've created a mountpoint under /mail,
run ratfs from cpurc and add "mount -c #s/ratify /mail/ratify" to
/lib/namespace.

Then I add a IP address to /mail/lib/blocked and reload the config
with "echo reload > /mail/ratify/ctl". I can see the file under
/mail/ratify/block/ip but SMTP connections are still possible. I put
"ls -l /mail > debug.log" in my tcp25 and got:

d-rwxrwxrwx M 32 upas upas 0 Sep 17  2007 /mail/box
d-rwxrwxrwx M 32 upas upas 0 Oct 22  2004 /mail/faxoutqueue
d-rwxrwxrwx M 32 upas upas 0 Oct 22  2004 /mail/faxqueue
d-r-xr-xr-x M 32 upas upas 0 Oct 22  2004 /mail/fs
d-rwxrwxr-x M 32 upas upas 0 Jun 21 04:40 /mail/grey
d-rwxrwxr-x M 32 upas upas 0 Jun 19 17:31 /mail/lib
d-rwxrwxrwx M 32 upas upas 0 Jun 21 10:20 /mail/queue
d-rwxrwxr-x M 32 upas upas 0 Jun 19 16:30 /mail/ratify
d-rwxrwxrwx M 32 upas upas 0 Jun 21 12:16 /mail/tmp

but "ls -l /mail/ratify > debug.log" gives me nothing. It looks like
upas/smtpd cannot access /mail/ratify. How do I get ratfs to work?

Many thanks
Matthias




             reply	other threads:[~2009-06-21 12:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-21 12:51 Matthias Teege [this message]
2009-06-21 13:57 ` erik quanstrom

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=2c95cc659d62232614271adc9ea3c0b3@mteege.de \
    --to=matthias-9fns@mteege.de \
    --cc=9fans@9fans.net \
    /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).