Verständnisfrage zu lokalen Mailversand im Homenetzwerk
Hallo Leute ,
ich kämpfe jetzt schon seit 1 Woche mit der Lösung o.g. Problemes .
Dazu habe ich das Listenarchiv der letzten 2 Jahre nach ähnlichen
Problemen durchforstet , ohne Erfolg :-( .
Zum genauen Schilderung : Ich habe 4 Rechner mit Suse7.1 und 7.3 im
Netzwerk ( mit festen IP-Adressen ohne DNS ) . NFS und SMB
untereinander funktioniert problemlos . Ein Ausschnitt aus hosts :
127.0.0.1 localhost
192.168.0.11 joerg.m.r.de joerg
192.168.0.12 ronny.m.r.de ronny
192.168.0.99 t20.m.r.de t20
192.168.0.88 amd1.m.r.de amd1
...uns in hosts.allow steht , nur bis es funktioniert ( ALL: ALL)
Ich möchte nun , daß sich die verschiedenen Benutzter untereinander
email schicken könnnen . Also z.B. heiko@amd1.m.r.de an ina@t20.m.r.de.
Leider funktioniert es aber nur mit Benutzern auf demgleichen PC !
Installiert habe ich ( auf allen Rechnern) postfix ( mit sendmail ging
es auch nicht und das erschien mir noch schwieriger zu konfigurieren)
,procmail und fetchmail .
Ein Ausschnitt aus meiner main.cf von postfix von amd1.m.r.de
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
myhostname = amd1.m.r.de
mydomain = m.r.de
myorigin = m.r.de
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
# luser_relay works only for the default Postfix local delivery agent.
#
# luser_relay = $user@other.host
# luser_relay = $local@other.host
# luser_relay = admin+$local
debug_peer_level = 2
debugger_command =
PATH=/usr/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
mail_spool_directory = /var/mail
mail_name = Postfix on SuSE Linux 7.3 (i386)
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
smtpd_sender_restrictions = hash:/etc/postfix/access
transport_maps = hash:/etc/postfix/transport
masquerade_exceptions = root
myorigin = Heiko.Weiss@t-online.de
masquerade_domains = Heiko.Weiss@t-online.de
mydestination = $myhostname, localhost.$mydomain
defer_transports =
disable_dns_lookups = no
relayhost =
versuche ich von heiko@amd1.m.r.de nach heiko@t20.m.r.de eine mail zu
senden so habe ich später Fehlermeldungen in mail :
Jul 19 20:22:15 amd1 postfix/smtp[1082]: 096E710655: to=
Heiko Weiß wrote: [...]
Jul 19 20:26:34 amd1 postfix/smtp[1122]: CE50C11042: to=
, relay=none, delay=0, status=deferred (Name service error for t20.m.r.de: Host not found, try again)
Vieleicht hilft das? http://www.postfix.org/faq.html#intranet /etc/postfix/main.cf: disable_dns_lookups = yes In addition to the above you can configure Postfix to deliver intranet mail directly instead of sending it via the intranet mail gateway. Specify routing information for the internal domain in the transport table, and enable transport table lookups. siehe /etc/postfix/transport MfG Benn -- #250319 - http://counter.li.org
participants (2)
-
Bernd Schmelter
-
Heiko.Weiss@t-online.de