Liebe Liste,
Ich habe einen Linux-rechner "linuxbox" als alles-Server für ein
Netzwerk mit Windows-Clients:
1) Fileserver (Samba) - läuft einwandfrei
2) Email-POP-Server (später IMAP) - funktioniert intern
3) Email-Gateway (fetchmail/procmail/sendmail) - fetchmail / procmail
funktioniert, sendmail nicht.
4) Internet-Gateway - funktioniert nicht
5) Intranet Server (apache) - funktioniert.
nach howto, faq, stöbern im Internet (Danke, toetsch.at!) usw. bin ich
zu dem Erkenntnis gekommen, daß ich mich verkonfiguriert habe. Wenn ich
nur wüßte wo!!! Wenn jemand einen Tipp hat, wäre ich sehr dankbar!
Diagnose
--------
(Alle Namen anonymisiert)
Zu 3) - Email-Gateway holt aber liefert nicht:
fetchmail holt wunderbar alle Emails vom pop-server beim Provider ab,
wenn ich aber versuche
welche zu schicken (als root mittels pine am linuxbox) bekomme ich die
Fehlermeldung zurück:
----- The following addresses had permanent fatal errors -----
----- Transcript of session follows -----
... while talking to mail.myprovider.de.:
>>> MAIL From: SIZE=78
<<< 501 ... Sender domain must exist
501 ... Data format error
Zu 4) - Internet Gateway:
Vom linuxbox aus kann ich wunderbar ins internet, meine ISDN-Verbindung
baut on demand die Verbindung auf, usw. Nur vom Client komme ich nicht
ins Internet, linuxbox versucht nicht mals eine Verbindung aufzubauen.
Meine Konfiguration
-------------------
Server: "linuxbox",
SuSE 6.0, Kernel 2.0.36
eth0: 192.168.100.1
ippp0: 192.168.100.99
Netzwerk: "athome.local"
Class C, 192.168.100
wir haben ein eigenes Domain "myfirm.de", das vom Provider
"myprovider.de" gehostet wird.
Die Internet-Email-Adressen sind "user@myfirm.de"
Im Attachement weitere KOnfigurationseinstellungen
MfG
Arnulv Rudland
# Windows Client Konfiguration:
Wins Server: 192.168.100.1
Gateway: 192.168.100.1
DNS: No
$ cat /etc/hosts
127.0.0.1 localhost
192.168.100.0 athome
192.168.100.1 linuxbox.athome.local linuxbox
192.168.100.2 windose1.athome.local windose1
...
$ cat networks
loopback 127.0.0.0
athome.local 192.168.100.0
$ ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
dummy0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:192.168.100.1 Bcast:192.168.100.255 Mask:255.255.255.0
UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1
ippp0 Link encap:Point-to-Point Protocol
inet addr:192.168.100.99 P-t-P:192.168.100.100 Mask:255.255.255.0
UP POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
eth0 Link encap:Ethernet HWaddr 00:60:08:71:4A:88
inet addr:192.168.100.1 Bcast:192.168.100.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
$ cat /etc/resolve.conf
search athome.local, myprovider.de
nameserver 195.127.27.7
$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.1 0.0.0.0 255.255.255.255 UH 0 0 0 dummy0
192.168.100.100 0.0.0.0 255.255.255.255 UH 0 0 0 ippp0
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 1589 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 525 lo
0.0.0.0 192.168.100.100 0.0.0.0 UG 0 0 0 ippp0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 14 dummy0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 8 dummy0
$ ipfwadm -F -l
IP firewall forward rules, default policy: accept
type prot source destination ports
acc/m all athome/24 anywhere n/a
acc/m all athome/24 anywhere n/a
acc/m all athome/24 anywhere n/a
acc/m all athome/24 anywhere n/a
acc/m all athome/24 anywhere n/a
# Auszug aus /etc/rc.config:
NETCONFIG="_0 _2"
IPADDR_0="192.168.100.1"
IPADDR_1=""
IPADDR_2="192.168.100.99"
IPADDR_3=""
NETDEV_0="eth0"
NETDEV_1="ppp0"
NETDEV_2="ippp0"
NETDEV_3=""
IFCONFIG_0="192.168.100.1 broadcast 192.168.100.255 netmask 255.255.255.0 up"
IFCONFIG_1=""
IFCONFIG_2="192.168.100.99 pointopoint 192.168.100.100 up"
IFCONFIG_3=""
SETUPDUMMYDEV=yes
IP_DYNIP=yes
IP_FORWARD=yes
CHECK_ETC_HOSTS=yes
BEAUTIFY_ETC_HOSTS=yes
FQHOSTNAME="linuxbox.athome.local"
CREATE_HOSTCONF="yes"
CREATE_RESOLVCONF=yes
USE_NIS_FOR_RESOLVING=no
SEARCHLIST="athome.local, myprovider.de"
NAMESERVER="195.127.27.7"
START_INETD="yes"
SMTP="yes"
FROM_HEADER="myfirm.de"
HTTP_PROXY=""
FTP_PROXY=""
GOPHER_PROXY=""
NO_PROXY="athome, athome.local, localhost"
START_ROUTED=no
START_NAMED=no
FW_START="no"
FW_LOCALNETS=""
FW_FTPSERVER=""
FW_WWWSERVER=""
FW_SSLSERVER=""
FW_SSLPORT="443"
FW_MAILSERVER=""
FW_DNSSERVER=""
FW_NNTPSERVER=""
FW_NEWSFEED=""
FW_WORLD_DEV="eth1"
FW_INT_DEV="eth0"
FW_LOG_ACCEPT="no"
FW_LOG_DENY="yes"
FW_ROUTER=""
FW_FRIENDS="no"
FW_INOUT="no"
FW_SSH="no"
FW_TRANSPROXY_OUT=""
FW_TRANSPROXY_IN=""
FW_REDIRECT=""
FW_TCP_LOCKED_PORTS="1:1023"
FW_UDP_LOCKED_PORTS="1:1023"
MSQ_START="yes"
MSQ_NETWORKS="192.168.100.0/24"
MSQ_DEV="ippp0"
SENDMAIL_TYPE="yes"
SENDMAIL_SMARTHOST="smtp:mail.myprovider.de"
SENDMAIL_LOCALHOST="localhost linuxbox.athome.local"
SENDMAIL_RELAY=""
SENDMAIL_ARGS="-bd -om"
SENDMAIL_EXPENSIVE="yes"
SENDMAIL_NOCANONIFY="yes"
SENDMAIL_GENERICS_DOMAIN=""
CREATE_YP_CONF="yes"
YP_DOMAINNAME=""
YP_SERVER=""
START_YPSERV="no"
START_YPXFRD="no"
START_YPPASSWDD="no"