9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] piping to upas/spam when reading IMAP boxes
@ 2004-09-16 15:09 Heiko Dudzus
  2004-09-16 16:57 ` Russ Cox
  0 siblings, 1 reply; 3+ messages in thread
From: Heiko Dudzus @ 2004-09-16 15:09 UTC (permalink / raw)
  To: 9fans

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? 


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

end of thread, other threads:[~2004-09-16 19:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-16 15:09 [9fans] piping to upas/spam when reading IMAP boxes Heiko Dudzus
2004-09-16 16:57 ` Russ Cox
2004-09-16 19:12   ` 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).