Hi all,
although I set up the SME Server 7.0 as Server+Gateway properly I'm unable to receive email from the outer world.
I searched the forum and encountered lots of similar problems and posts and most of them helped me for diagnosis, but I didn't manage it to get working.
The mailserver works fine inside the LAN - sending and receiving emails between SME Server users with the webmailer horde and other email clients does work.
Sending emails to the outer world (GMX, web, etc) works too, only receiving mails fails.
Here are my settings:
---
The domain is: studio-mitte.de
The SME Server Hostname is: vater
The network setup is: Internet > D-Link VPN-Router > SME Server 7.0
I'm working with a subnetted network 192.168.1.0/26, D-Link VPN Router WAN IP Adress is 217.91.127.51 (static IP provided by ISP), its LAN IP is 192.168.1.1
The WAN IP of SME Server is 192.168.1.65, the LAN IP 192.168.1.66
The static routing table of the D-Link Router routes to 192.168.1.65 as the SME Server routes to 192.168.1.1
The DMZ of the D-Link Router is 192.168.1.1 forwarding ports 1~65535 to 192.168.1.65 (SME Server WAN IP) and ports 1~5000 to 192.168.1.66 (SME Server LAN IP).
A portscan from the outer world says:
25 (SMTP) open
53 (DNS Cache) not visible (set open in SME Server)
110 (POP3) open
465 (SMTPS) open
993 (IMAPS) filtered
the command "dig studio-mitte.de MX" returns the following:
[from outside network:]
; <<>> DiG 9.2.2 <<>> studio-mitte.de MX
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30210
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;studio-mitte.de. IN MX
;; ANSWER SECTION:
studio-mitte.de. 3600 IN MX 100 mail.studio-mitte.de.
;; Query time: 94 msec
;; SERVER: 10.0.0.1#53(10.0.0.1)
[from SME Server, set to internet DNS resolution:]
; <<>> DiG 9.2.4 <<>> studio-mitte.de MX
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2562
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;studio-mitte.de. IN MX
;; ANSWER SECTION:
studio-mitte.de. 3178 IN MX 100 mail.studio-mitte.de.
;; Query time: 3 msec
;; SERVER: 192.168.1.66#53(192.168.1.66)
[from SME Server with local DNS resolution, which should be default:]
; <<>> DiG 9.2.4 <<>> studio-mitte.de MX
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47297
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;studio-mitte.de. IN MX
;; ANSWER SECTION:
studio-mitte.de. 86400 IN MX 0 vater.studio-mitte.de.
;; Query time: 4 msec
;; SERVER: 192.168.1.66#53(192.168.1.66)
The command "dig 217.91.127.51 MX" returns no answer.
When sending an email to the server, the GMX MAILER DAEMON sais:
"<testmail@studio-mitte.de>:
Sorry,_I_couldn't_find_a_mail_exchanger_or_IP_address._(#5.4.4)/
--- Below this line is a copy of the message.
Return-Path: <remoteaccount@gmx.de>
Received: (qmail 22865 invoked by uid 0); 23 Aug 2006 08:26:41 -0000
Received: from 217.91.127.51 by www020.gmx.net with HTTP;"
The SME Server log "qsmtpd/current" has only entries about sent mail, not about received or rejected mails.
The SME Server firewall settings say: SMTP set to public.
Telnet 25 from outside world works.
---
That's it. I'm quite helpless, because it should be working. The only thing that confuses me is that a remote MX query returns "mail.studio-mitte.de" (which is correct) - but an internal MX query does return "vater.studio-mitte.de"
Could that be the clue? And if it is, where do I change the MX Setting of the SME Server??? I didn't find anything in the documentation.
Has anyone a suggestion?
Greetings,
Robert Wolff