Mam nainstalovany Cent OS 5.8 na nom mam nainstalovanu Zimbru odchadzajuce maily chodia bez problemov. Prichadzajuce maily nechodia vobec. Cele je to za gatewayom, nie v DMZ. Ako gateway pouzivam smoothwall. vsetky potrebne porty pre zimbru su forwardnute. Zacinam byt zufaly. Prosim ak by bol niekto ochotny pomoct, dodam vsetky potrebne vypisy, logy, vsetko...myslim ze to bude nejaka blbost, no neviem si s tym rady.
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-20.P1.el5 <<>> silck.sk mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22419
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2
;; QUESTION SECTION:
;silck.sk. IN MX
;; ANSWER SECTION:
silck.sk. 38400 IN MX 10 mail.silck.sk.
;; AUTHORITY SECTION:
silck.sk. 38400 IN NS ns.silck.sk.
;; ADDITIONAL SECTION:
mail.silck.sk. 38400 IN A 192.168.2.230
ns.silck.sk. 38400 IN A 192.168.2.230
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sat Apr 7 12:17:10 2012
;; MSG SIZE rcvd: 96
Ak spustim dig z internetu
; <<>> DiG 9.6-ESV-R4-P3 <<>> silck.sk mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 31094
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;silck.sk. IN MX
;; Query time: 35 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Sat Apr 7 12:19:08 2012
;; MSG SIZE rcvd: 26
momentalne mam server nastaveny podla tohoto navodu: http://sospreskoly.org/ako-nastavit-domenove-mena-skolskemu-serveru Ale bud mi tam este nieco chyba alebo to mam zle. Instalacia zimbry prebehla bez problemov: http://pastebin.com/Qpu4rMKB
co je lokalna adresa, takze logicky sa zvonka nikto nedokaze dostat natvoj zimbra server ;)
ako sa moze iny majlovy server pripojit na tvoj majl server Zimbra ked DNS zaznam bude ukazovat toto: ten odkaz co si posielal nie je nahodou len priklad ked to cele riesenie kces pouzit cisto v lokalnej sieti?
; <<>> DiG 9.6-ESV-R4-P3 <<>> silck.sk any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23810
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;silck.sk. IN ANY
;; ANSWER SECTION:
silck.sk. 38400 IN MX 10 mail.silck.sk.
silck.sk. 38400 IN SOA ns.silck.sk. mail.silck.sk. 1333749139 10800 3600 604800 38400
silck.sk. 38400 IN NS ns.silck.sk.
silck.sk. 38400 IN A 192.168.2.230
;; Query time: 139 msec
;; SERVER: 192.168.43.1#53(192.168.43.1)
;; WHEN: Mon Apr 9 22:34:12 2012
;; MSG SIZE rcvd: 116
http://pingability.com/zoneinfo.jsp?domain=silck.sk#a23926367
Problem c.1 bol v nastaveni DNS.
Riesenie: DNS musi byt ako je spominane vyssie nastavene na verejne IP.
Problem c.2 bol ze ak je DNS nastavene na verejne IP, Posta sa uklada do Deferred a neodosiela sa na konta. Je to mozne vidiet v admin console->mail queues.
Riesenie: http://wiki.zimbra.com/wiki/Incoming_Mail_Problems
There is no connection to port 7025 to perform Local Mail Transfer Protocol (LMTP) delivery.
This is nearly always caused by a host that is configured on private IP Space (or using NAT) and that does not have an interface for the public IP address the server resides on. This can be easily fixed by simply using native IP address lookups for lmtp rather than DNS. Alternatively, you could have your internal network's domain name configured to lookup differently internally than it does externally. Using that method is beyond the scope of this document.
To lookup lmtp addresses natively instead of by DNS, simply modify the following localconfig values on all mta's:
zmlocalconfig -e postfix_lmtp_host_lookup=native
Once this is done, you'll need to restart the mta:
zmmtactl restart
Snad to este niekomu pomoze ;)