Portál AbcLinuxu, 12. května 2025 12:53
myhostname = PC1.nekde.cz mydomain = nekde.cz myorigin = $myhostname inet_interfaces = all relayhost = smtp.nekde.cz mynetworks = 127.0.0.0/8Pokud poslu email nekomu na lokalni ucet na nekdo@nekde.cz, tak dojde, pokud vsak poslu email nekomu ven, treba na seznam.cz, tak nedojde a v logu najdu:
Connection reset by mx2.seznam.czNetusite cim by to mohlo byt?
mynetworks = 127.0.0.0/8, 192.168.1.0/24
mynetworks = 127.0.0.0/8, 192.168.1.0/24Nevsiml jsem si, ze by mu to psalo "Relying denied". Funguje z toho PC odesilani emailu? Hint:
telnet localhost 25 helo domena.cz mail from: nejaky@mail.cz rcpt to: vas@mail.cz data test 09:21 . quit
relayhost = [smtp.nekde.cz] nebo: relayhost = [10.0.0.10]Prostě vypadá to že ten relayhost to nepřijal a tak se to snaží poslat přímo "Connection reset by mx2.seznam.cz" a seznam to nepřijme.
# INTERNET OR INTRANET # The relayhost parameter specifies the default host to send mail to # when no entry is matched in the optional transport(5) table. When # no relayhost is given, mail is routed directly to the destination. # # On an intranet, specify the organizational domain name. If your # internal DNS uses no MX records, specify the name of the intranet # gateway host instead. # # In the case of SMTP, specify a domain, host, host:port, [host]:port, # [address] or [address]:port; the form [host] turns off MX lookups. # # If you're connected via UUCP, see also the default_transport parameter. # #relayhost = $mydomain #relayhost = [gateway.my.domain] #relayhost = [mailserver.isp.tld] #relayhost = uucphost #relayhost = [194.228.30.71] relayhost = [smtp.ol.fcanet.cz]
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.