[3724] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Unattended Mail & News runs

daemon@ATHENA.MIT.EDU (Tom Diehl)
Sun Nov 10 12:07:49 1996

Reply-To: tdiehl@pil.net
Date: Sun, 10 Nov 1996 12:05:52 -0500 (EST)
From: Tom Diehl <tdiehl@pil.net>
To: redhat-list@redhat.com
In-Reply-To: <XFMail.961110110039.tdukes@netside.com>
Resent-From: redhat-list@redhat.com

On Sun, 10 Nov 1996 tdukes@netside.com wrote:
> I've been trying to write a script(s) to be run from cron that will
> pick up my mail and news unattended.  I want the script(s) to first,
> check to see if I'm already connected, exit if true, and continue
> if not.  So far, I can do this, but cannot get it to disconnect when
> finished.  I'm using the ppp-on, redialer and ppp-off scripts that
> come with ppp2.2.0f.  I am letting ip-up get the mail with popclient
> and suck for the news.
> 
> Is anyone doing something like this or can someone point me in the
> right direction for such a script(s).

I am doing this with ppp, diald, popclient, suck, and inn. It for the most 
part works well. Diald takes care of taking the link up and down very well.
I used to bring the link up and down with dip (when I was using slip) and
some shell stuff but diald does this MUCH better. The only thing I have
problems with is if the connection cannot be established it will only try 
2 or 3 times then it dies because (I think) the program calling the ip
connection times out. I am working on a shell script that will queue up
an at job to retry the job (mail, suck etc) in 10 minutes. I have it working
pretty well for suck, but I have not yet implemented it yet for mail.
If you need more info let me know. As far as installing this stuff goes
( diald, suck) it is mostly a stock config. The only thing custom is the 
shell scripts I have written for suck to queue the at job (and of course
the site specfic stuff such as login chat scripts etc.).

..........Tom
tdiehl@pil.net


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post