[linux-elitists] e-mail scriptrollas

Michael Shields shields@msrl.com
Fri Sep 12 09:35:36 PDT 2003


In message <20030912050056.GC23513@zork.net>,
Nick Moffitt <nick@zork.net> wrote:
> Status	<oldbob@bob.zork.net>	RO
> Save	<oldbob@bob.zork.net>	=bob
> Status	<242@emad.xyzzy.oh>	RO
> Delete	<777777@make.monkey.fast>

Be aware that unlike news, mail does not have a one-to-one mapping
between message-IDs and messages.  Two messages can have the same
message-ID, usually because you received it both through a mailing
list and directly.  A message can also have no message-ID, and this
does happen (although you will never see it if you run sendmail, since
it adds message-IDs to any message passing through it).

> It's possible that this is simply the sort of thing that appropriate
> IMAP use will grant you (provided your IMAP server does mbox
> securely).  It's just that many people have advocated what you *can*
> do with IMAP, but nobody seems to have ever written anything that lets
> you *actually do it*.

For one example, Gnus already does what you want, using the "agent".
It can also queue outbound mail until you reconnect, and it works for
news as well.
http://www.gnus.org/manual/gnus_205.html#SEC205

As others have pointed out, there are also IMAP proxies available if
your mailer is not offline-aware.

If you decide to implement something new, it will get much more
traction if it works with IMAP instead of requiring special server
support.
-- 
Shields.




More information about the linux-elitists mailing list