9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Heiko Dudzus <heiko.dudzus@gmx.de>
To: 9fans <9fans@cse.psu.edu>
Subject: [9fans] piping to upas/spam when reading IMAP boxes
Date: Thu, 16 Sep 2004 17:09:35 +0200	[thread overview]
Message-ID: <20040916150935.GA5825@SDF.LONESTAR.ORG> (raw)

Everything works fine if you read local mailboxes. I ran into trouble
when I tried to pipe a raw message from nedmail to upas/spam when I
was reading a remote IMAP box.

2: ||upas/spam
Can't cd /mail/fs/mbox/[0-9]*: '/mail/fs/mbox/[0-9]*' does not exist

(In acme mail occurs the same problem, btw)

upas/spam an upas/msgcat (which the former invokes) mount a single
message on /mail/fs, so I thougt it would be a conflict with the IMAP
box mounted on /mail/fs

I hacked /mail/lib/msgcat.rc and /mail/lib/spam.rc to mount the
message(s) on /tmp/tmpmail instead.

This solved the problem.

Of course, unspam.rc and isspam.rc have to be modified in the same
way. And of course, the mountpoint is not chosen well.

But except this; is this modification of general interest? 


             reply	other threads:[~2004-09-16 15:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-16 15:09 Heiko Dudzus [this message]
2004-09-16 16:57 ` Russ Cox
2004-09-16 19:12   ` Heiko Dudzus

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=20040916150935.GA5825@SDF.LONESTAR.ORG \
    --to=heiko.dudzus@gmx.de \
    --cc=9fans@cse.psu.edu \
    /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).