I'd like to set up a term-based mail forwarding system to shuttle
e-mail back and forth from my school Internet account
near-fulltime term connection on dedicated line). What would be the
easiest way to pull this off? I've thought up setting up a cron job
to periodically pull my /usr/mail/acg file off of kzin and then zero
it out, but there are several problems with this--
1. Fixing the "To:" line on incoming mail so sylvia's mail client
doesn't get confused, and reversing this for outgoing mail so it looks
like I'm sending from kzin.
2. Maintaining mailbox consistency-- what if new messages come in
between polls while I haven't read all of what's already been pulled
down, but I have deleted some messages locally (on the home system)?
Simply replacing the local copy with the cumulative contents of my
remote mailbox file wouldn't preserve deletes. I'd need a way of
appending new mail to the existing local mbox. File locking might
also be needed so nothing screws up if mail arrives during the download.
3. How to get replies off at all-- I guess this would require using
termtelnet to access the SMTP port on my Internet host and sending
mail there, but I don't know enough yet to figure that out completely.
Is there an easier way that I'm not seeing? I'd appreciate any
feedback you might have (wild guesses, whatever). I know this is
possible with SLIP but I'd like to stay with Term if I can. Thanks,
\ / //////////////////////////////////////////////