Mailinglist Archive: opensuse-isdn-de (197 mails)

< Previous Next >
sendmail I/O error - ISDN-Problem?
  • From: Björn Schotte <bjoern@xxxxxxxxxxxx>
  • Date: Mon, 27 Nov 2000 08:15:44 +0000 (UTC)
  • Message-id: <20001127092109.A12937@xxxxxxxxxxxx>
Hallo,

wir haben seit kurzem Probleme beim Ausliefern von Mail:
System ist eine SuSE6.2 mit Kernel 2.2.14, das als
Proxy-/Mailserver dient. Angebunden via 64 kBit-Standleitung,
auf der Seite des Providers hängt eine Bianca Brick als Router.

Sobald Mails verschickt werden sollen, die etwas größer
sind, z.B. 38 KB, hat sendmail arge Probleme beim Ausliefern:
eine 38 KB Mail dauert geschlagene 7 Minuten (!) (ohne dass
die Leitung durch Proxy oder sonst etwas belastet wäre), bis
sie ausgeliefert wird, größere verbleiben in der mqueue, weil
sendmail mit I/O error abbricht.

Über Google habe ich diverse Hinweise gefunden: Platte beim
Mailserver des Providers könnte voll sein. Ist aber nicht der
Fall, da dort noch 20 GB frei sind. Auch läßt der dortige
SMTPd Mails bis 20 MB Größe zu.

Ein anderer Hinweis war, dass die Leitung Probleme haben
könnte: das erscheint mir als plausibel, dagegen spricht
jedoch, dass WWW-Zugriff ohne Probleme erfolgt.

Der Verbindungsaufbau via Standleitung wird mit folgendem
Shell-Script, das in /sbin/init.d/ liegt, veranlaßt. Wie kann
ich feststellen, ob es tatsächlich Leitungsprobleme sind und
wie kann ich diese verbessern?

TIA, Björn.

---------------------------------------------------------------

#!/bin/sh
# Start/Stop ISDN lesaed line connection

I4L_AS_MODULE=yes
I4L_REMOTE_IS_CISCO=yes
I4L_MODULE_PARAMS="type=5 io=0x300 irq=7 "
I4L_DEBUG=no
I4L_LEASED_128K=yes
LOCAL_IP=foo
REMOTE_IP=bar

case "$1" in
start)
echo "Starting ISDN ..."
if [ ${I4L_AS_MODULE} = "yes" ]; then
echo "loading modules..."
/sbin/modprobe hisax ${I4L_MODULE_PARAMS}
fi
# configure interface
/sbin/isdnctrl addif ippp0
/sbin/isdnctrl secure ippp0 on
if [ ${I4L_DEBUG} = "yes" ]; then
/sbin/isdnctrl verbose 7
/sbin/hisaxctrl HiSax 1 0xffff
/sbin/hisaxctrl HiSax 11 0xff
#cat /dev/isdnctrl >/tmp/lea.log &
fi
if [ ${I4L_REMOTE_IS_CISCO} = "yes" ]; then
/sbin/isdnctrl encap ippp0 cisco-h
fi
/sbin/isdnctrl huptimeout ippp0 0
# B-CHANNEL 1
/sbin/isdnctrl eaz ippp0 1
/sbin/isdnctrl l2_prot ippp0 hdlc
# 1. card
/sbin/isdnctrl addphone ippp0 in LEASED0
if [ ${I4L_LEASED_128K} = "yes" ]; then
/sbin/isdnctrl addslave ippp0 ippp0s
/sbin/isdnctrl secure ippp0s on
/sbin/isdnctrl huptimeout ippp0s 0
# B-CHANNEL 2
/sbin/isdnctrl eaz ippp0s 2
/sbin/isdnctrl l2_prot ippp0s hdlc
# 1. card
/sbin/isdnctrl addphone ippp0s in LEASED0
if [ ${I4L_REMOTE_IS_CISCO} = "yes" ]; then
/sbin/isdnctrl encap ippp0s cisco-h
fi
fi
/sbin/isdnctrl dialmode ippp0 manual
# configure tcp/ip
/sbin/ifconfig ippp0 ${LOCAL_IP} pointopoint ${REMOTE_IP}
/sbin/route add -host ${REMOTE_IP} ippp0
/sbin/route add default gw ${REMOTE_IP}
# switch to leased mode
# B-CHANNEL 1
/sbin/hisaxctrl HiSax 5 1
if [ ${I4L_LEASED_128K} = "yes" ]; then
# B-CHANNEL 2
sleep 10; /* Wait for master */
/sbin/hisaxctrl HiSax 5 2
fi

ipchains -I input -i ippp0 -d 0/0 3128 -p tcp -j REJECT
ipchains -I input -i ippp0 -d 0/0 3306 -p tcp -j REJECT
ipchains -I input -i ippp0 -d 0/0 515 -p tcp -j REJECT
ipchains -I input -i ippp0 -d 0/0 113 -p tcp -j REJECT
ipchains -I input -i ippp0 -d 0/0 443 -p tcp -j REJECT
ipchains -I input -i ippp0 -d 0/0 6000 -p tcp -j REJECT

;;
stop)
/sbin/ifconfig ippp0 down
/sbin/isdnctrl delif ippp0
if [ ${I4L_DEBUG} = "yes" ]; then
killall cat
fi
if [ ${I4L_AS_MODULE} = "yes" ]; then
/sbin/rmmod hisax
/sbin/rmmod isdn
/sbin/rmmod ppp
/sbin/rmmod slhc
fi
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac
exit 0

--
Björn Schotte ++ Heimgartenweg 11a :: D-97074 Würzburg ++ 0931/7843804
Online-Applikationen für das E-Business: <http://rent-a-phpwizard.de/>
=> inklusive Newsletter rund um PHP & das E-Biz <=
Dienstleistungen & Preisliste: <mailto:preisliste@xxxxxxxxxxxx>

< Previous Next >
This Thread
  • No further messages