[3105] in RedHat Linux List
PPP and Mail
daemon@ATHENA.MIT.EDU (Dave)
Thu Nov 7 02:33:32 1996
Reply-To: <Pom@spiritone.com>
From: "Dave" <pom@spiritone.com>
To: <redhat-list@redhat.com>
Date: Wed, 6 Nov 1996 23:35:36 -0800
Resent-From: redhat-list@redhat.com
This is a multi-part message in MIME format.
------=_NextPart_000_01BBCC3B.3642B9E0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Ok, well if you are a single user on your system here if a script that you
can
use until you find something better. This script works just fine however it
is
somewhat of a security risk. Tho I believe there are far more risks than
this
script.
Anyway you will need to edit the /etc/resolv.conf file and add your DNS IP
#'s.
The mail script uses POP3. I like useing PINE as my mail program and it
works
just fine with this script. If you use pine you will need to edit a few of
the config
lines. Just run pine, choose setup and then {C} for configure.
Well hope this helps ya get started.
------=_NextPart_000_01BBCC3B.3642B9E0
Content-Type: application/octet-stream; name="Sone"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename="Sone"
#!/bin/sh
/usr/sbin/pppd connect 'chat "" ATDT5555080 in: <username> rd: =
<passwrd>' \
/dev/modem 38400 mru 296 lock debug crtscts modem defaultroute
------=_NextPart_000_01BBCC3B.3642B9E0
Content-Type: application/octet-stream; name="Smail"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="Smail"
#!/bin/sh
while true; do
popclient -3 -u <username> -p <passwrd> mail.<ISP>.com -o \
/var/spool/mail/dave \
sleep 300
done
------=_NextPart_000_01BBCC3B.3642B9E0--
--
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