9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Re: mailcollector
       [not found] <e3591ed4b26580667a9616e5cfa9e344@plan9.escet.urjc.es>
@ 2002-07-23 11:11 ` matt
  0 siblings, 0 replies; only message in thread
From: matt @ 2002-07-23 11:11 UTC (permalink / raw)
  To: Fco. J. Ballesteros; +Cc: 9fans


----- Original Message -----
From: "Fco. J. Ballesteros" <nemo@plan9.escet.urjc.es>
To: <matt@proweb.co.uk>
Sent: Tuesday, July 23, 2002 11:45 AM
Subject: Re: mailcollector


> Thanks
>
> There's one thing I saw just looking at the source (didn't try it yet)
> IMHO, if the local upas/send fails, the script would delete the mail
> from the remote folder. This looks dangerous. Is this right?

yes

I suppose checking $status after cat $msg/raw | upas/send -r -b $user
is called for

that is why I added the -k option actually

Problem with that though is that the same messages are retrieved next time

I suppose grep /mail/fs/mbox/*/Message-ID `{cat /mail/fs/$key(3)} would fix
that but strikes me as a bit expensive





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-23 11:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <e3591ed4b26580667a9616e5cfa9e344@plan9.escet.urjc.es>
2002-07-23 11:11 ` [9fans] Re: mailcollector matt

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