TERM: best way to send/receive mail over term?

TERM: best way to send/receive mail over term?

Post by Alexandra Griff » Wed, 18 May 1994 02:36:47



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,
--
______
\    / //////////////////////////////////////////////

  \/ //////////////////////////////////////////////

 
 
 

TERM: best way to send/receive mail over term?

Post by Nathan Stratt » Wed, 18 May 1994 05:14:17


I would like to make some local news groups like novanet.support and
novanet.modems on my linux box. If you can help let me know. I would like
them to be setup like usenet groups so when I get usenet access they will
work with rn and nn.

--

  +-------------------------------------------------------------------------+
  | Nathan Stratton              Washington and Lee High School Junior      |
  +-------------------------------------------------------------------------+


  | FTP site:   netcom2.netcom.com           BBS:     (703)534-8705         |
  |             /pub/nstn                                                   |
  +-------------------------------------------------------------------------+

 
 
 

TERM: best way to send/receive mail over term?

Post by Andre Fach » Wed, 18 May 1994 11:00:54


: I would like to make some local news groups like novanet.support and
: novanet.modems on my linux box. If you can help let me know. I would like
: them to be setup like usenet groups so when I get usenet access they will
: work with rn and nn.
If You use cnews, you can edit the sys file in - let me guess -
/usr/local/lib/new/sys
where there is a list of feeds you send news to.
Add an entry like
!novanet
or
!novanet.support,!novanet.modems
to the export list.
So these newsgroups will _not_ be exported (due to "!") to the feed.

BYe
Andre

BTW, I have a fido link and a uucp link, so my local newsgroups can
have all names, fido groups are prefixed fido. and uucp are prefixed
hp48. (as is my usenet feed)

 
 
 

TERM: best way to send/receive mail over term?

Post by Andre Fach » Wed, 18 May 1994 20:49:44



: : I would like to make some local news groups like novanet.support and
: : novanet.modems on my linux box. If you can help let me know. I would like
: : them to be setup like usenet groups so when I get usenet access they will
: : work with rn and nn.
: If You use cnews, you can edit the sys file in - let me guess -
: /usr/local/lib/new/sys
: where there is a list of feeds you send news to.
: Add an entry like
: !novanet
: or
: !novanet.support,!novanet.modems
: to the export list.
: So these newsgroups will _not_ be exported (due to "!") to the feed.

: BYe
: Andre

: BTW, I have a fido link and a uucp link, so my local newsgroups can
: have all names, fido groups are prefixed fido. and uucp are prefixed
: hp48. (as is my usenet feed)
Ok, the above is right, but forget the "BTW". my fido groups are prefixed,
the others are not. Usenet groups have usenet names of course.
But you can prefix local groups as local.* or, as you want to, novanet.*
Bye
Andre

 
 
 

TERM: best way to send/receive mail over term?

Post by Byron A Je » Fri, 20 May 1994 13:20:35




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

I have a package that addresses these issues. It is admittedly ragged because
I kinda threw it out there. Sometime in the next month I plan to go over it
again and clean it up. However it is usable.

sunsite.unc.edu:/pub/Linux/apps/comm/termstuff/term.mailerd+smail.tgz

Quote:

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

Smail handles this. When you set it up you can specify a visible hostname
along with a smart host. If you set this to kzin in sylvia's smail config
then all outgoing mail from sylvia will be addressed as if it was sent
from kzin.

Quote:

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

elm handles this problem rather elegantly: it copies the mail file and
let's you read your mail. If new mail gets appended then elm copies the
new mail over to your /tmp/mbox.alex or whatever. You'd have the same
problem on any mail machine. elm in particular sidesteps the issue.

Quote:

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

Exactly. All described in the setting up smail doc in my package. And
if you have any questions you can email me. From kzin! ;-)

Quote:

>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,

I've been using this package for months now. mailerd permanently runs
on my internet host (virgo) diligently checking mail every 30 seconds
and tuploading any new mail to my Linux box. It even checks to make sure
the term link is active.

Check it out. It should solve all your problems.

Let me know,

BAJ
---
Another random extraction from the mental bit stream of...
Byron A. Jeff - PhD student operating in parallel!

 
 
 

TERM: best way to send/receive mail over term?

Post by Derek Atki » Fri, 20 May 1994 19:11:45


   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,

Well, you could always setup UUCP, which you can use over term.  That
would solve many problems, but requires a UUCP feed.  The other thing
you can do is claim your Linux box as a client of your university
system, and just have it pick up your mail and put it someplace
special, as opposed to actually having it sent to you locally.

I'm not sure what the "right" solution is.

-derek

--
         Derek Atkins, SB '93 MIT EE, G MIT Media Laboratory
       Member, MIT Student Information Processing Board (SIPB)
    Home page: http://www.mit.edu:8001/people/warlord/home_page.html

 
 
 

TERM: best way to send/receive mail over term?

Post by Shmuel Weidbe » Fri, 20 May 1994 13:25:25



> I would like to make some local news groups like novanet.support and
> novanet.modems on my linux box. If you can help let me know. I would like
> them to be setup like usenet groups so when I get usenet access they will
> work with rn and nn.

Try YARN.
--

 
 
 

1. Sending/Receiving mail via Term

I just got pop-perl working, but there's one little problem..
apparently pop-perl is writing mail in a format that PINE can't read. Elm
reads it just fine though.

Here's a test email that elm can read but pine cannot:

--cut here--
From popserver Mon June 26 20:13:52 GMT 1994

          id NAA02710; Sun, 26 Jun 1994 13:12:53 -0700
          *** KAIWAN Internet Access ***
Date: Sun, 26 Jun 1994 13:12:51 -0700 (PDT)

Subject: POP test


MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Status: O
X-Status:

Testing 1.. 2.. 3..

--cut here--

If it becomes really necesary I'll just switch to elm, but if this can be
fixed I'd rather use pine. So at this point the only problem I have now
is sending email via term. I'm gonna take another shot at the process
described in the Term-HOWTO, but if anyone has the BCRMailHandler package
working correctly, please post here, as I like the way BCRMH can
determine when a term connection is available and if not, it holds the
sent email in queue to be sent later via runq. In my initial message I
asked for email responses but on second thought, my experimenting with
perl-pop, mailerd, or BCRMH might accidentally erase incoming email.

2. HP T4000s setup

3. Best linux-unix link, pppd-slirp or term-term?

4. Solaris v2.6 help

5. Best way to set term and TERM for csh?

6. Anything similar to BSD's ctrl-T on Solaris? (SIGINFO)

7. Failed to connect to term socket '/home/sjw/.term/socket

8. ports in mbone working?

9. Help! Sending mail But not Receiving mail!

10. Help -- Linux box can send mail out, but cannot receive mail

11. Term: Failed to connect to term socket... HELP!

12. txconn hangs term link [term-2.0h]

13. Sun to Linux via term, NOGO: term < /dev/ttyb > /dev/ttyb,