linux-l: noch einmal: mailer im Textmodus

Rolf Buenning RBuenning at t-online.de
Mo Okt 11 11:17:10 CEST 1999


Hallo alle zusammen,

On Sam, 02 Okt 1999, Thomas Meyer wrote:

> Da bietet sich der "mutt" an. Mit dem kann man sogar mehr als eine oder zwei
> mails schreiben :-).
.......
> Was funktioniert konkret nicht ?
> Neben mutt als mail-reader, benoetigt man noch z.B fetchmail, um die Mail per
> POP3 abzuholen und man muss z.B ueber YAST sein mail-System so konfigurieren,
> dass die Mail per SMTP zum Provieder verschickt wird.

OK, (wir) habe(n) verstanden, meine Fragerei war wohl etwas
diffus (RTFM) ;-).

Inzwischen habe ich die manuals vor- und rueckwaerts gelesen,
sowhohl mit fetchmail mails abgeholt als auch mit sendmail
verschickt, es geht .(*uff*)

Muss aber trotzdem noch mal fragen....

1. Wie kriege ich das System dazu, die mails am von mir
gewuenschten Ort (z.B. /usr/Mail/inbox) abzulegen?
Geht ueber procmail, gelle? Oder?
Meine /etc/procmailrc wird offenbar ignoriert.
---------------
MAILDIR=/usr/Mail
DEFAULT=$MAILDIR/ReadMails
LOGFILE=$MAILDIR/from
---------------

2. z.Zt. bekomme ich nur mit kppp eine Verbindung zu t-online.
weder meine (alten) Einwahlscripts noch wvdial schaffen es, die
Verbindung bricht wegen ´serial line is loop backed´ ab.

aus /var/log/messages
----------------
Oct  7 14:19:35 Sirius pppd[2478]: Serial connection established.
Oct  7 14:19:36 Sirius pppd[2478]: Using interface ppp0
Oct  7 14:19:36 Sirius pppd[2478]: Connect: ppp0 <--> /dev/modem
Oct  7 14:19:36 Sirius pppd[2478]: sent [LCP ConfReq id=0x1 <magic 0xff68627d> <pcomp> <accomp>]
Oct  7 14:19:36 Sirius pppd[2478]: rcvd [LCP ConfReq id=0x1 <mru 1524> <asyncmap 0x0> <auth pap> <pcomp> <accomp> < 13 09 03 00 c0 7b 8a ed 17>]
Oct  7 14:19:36 Sirius pppd[2478]: sent [LCP ConfRej id=0x1 <auth pap> < 13 09 03 00 c0 7b 8a ed 17>]
Oct  7 14:19:36 Sirius pppd[2478]: rcvd [LCP ConfAck id=0x1 <magic 0xff68627d> <pcomp> <accomp>]
Oct  7 14:19:36 Sirius pppd[2478]: rcvd [LCP TermReq id=0x2]
Oct  7 14:19:36 Sirius pppd[2478]: sent [LCP TermAck id=0x2]
Oct  7 14:19:39 Sirius pppd[2478]: sent [LCP ConfReq id=0x1 <magic 0xff68627d> <pcomp> <accomp>]
Oct  7 14:19:39 Sirius pppd[2478]: rcvd [LCP ConfReq id=0x1 <magic 0xff68627d> <pcomp> <accomp>]
Oct  7 14:19:39 Sirius pppd[2478]: sent [LCP ConfNak id=0x1 <magic 0xdd9b6964>]

usw etliche Zeilen lang

Oct  7 14:19:39 Sirius pppd[2478]: Serial line is looped back.
Oct  7 14:19:39 Sirius pppd[2478]: sent [LCP TermReq id=0xb "Loopback detected"]
Oct  7 14:19:39 Sirius pppd[2478]: rcvd [LCP TermReq id=0xb "Loopback detected"]
Oct  7 14:19:39 Sirius pppd[2478]: sent [LCP TermAck id=0xb]
Oct  7 14:19:39 Sirius pppd[2478]: rcvd [LCP TermAck id=0xb]
Oct  7 14:19:39 Sirius pppd[2478]: Connection terminated.
Oct  7 14:19:40 Sirius pppd[2478]: Exit.
---------------------

/etc/ppp/ppp-on
-----------
#!/bin/sh
# 
# /etc/ppp/ppp-on
# 
# Aufbau einer PPP Verbindung
# 
localip=0.0.0.0 
remoteip= 
device=/dev/modem 
DEBUG="debug"
user="mein-t-online-login-name"
pppflags="38400 defaultroute user $user"
/usr/sbin/pppd lock $DEBUG connect      \
	'/usr/sbin/chat -v -f /etc/ppp/ppp.chat'     \
	$device $pppflags $localip:$remoteip
-----------------

Nach dem Versuch enthaelt die Routing-Tabelle einen ppp-Eintrag.

----------------
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 

ppp0      Link encap:Point-to-Point Protocol  
          unspec addr:[NONE SET]  P-t-P:[NONE SET]  Mask:[NONE SET]
          POINTOPOINT NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:25 errors:1 dropped:0 overruns:0 frame:1
          TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10 
--------------

Hat jemand ´ ne Idee?
(Ich hoffe, die mail ist nicht zu lang geworden:-)?


Gruss Rolf



Mehr Informationen über die Mailingliste linux-l