I just received this as a private message..
Quote:
I see in this post you've recommended adding the Zimbra server IP to the MtaMyNetworks setting. That isn't correct, it should be the LAN subnet (e.g. 192.16.1..0/24) that is in that field.
If the Zimbra server IP is used it's possible for anyone connecting to the Zimbra server to use it as an open relay, that IP should never need to be added to that option.
|
As it is correct, and it points out potential confusion in my wording, I thought I'd share a detailed explanation of what I mean.
When I say server IP, I mean, at the very least, LAN IP of the server itself, which is part of the LAN subnet in the quote above. Personally, I don' t see why the LAN needs to SMTP messages to Zimbra. I think that everyone ought to use the web interface. For those who want something different, we accommodate Zimbra Outlook Connector, Zimbra Mobile or IMAP. We feel that leaving SMTP open is a bad thing and avoid it at all costs. We feel that the likelihood of a workstation being hijacked to create spam from the LAN to send to the outside world is pretty high. We don't want our Zimbra server to participate.
When we add other IPs to the list, it is for specific things, like the a scanner that can only "scan to email". In that case we only allow SMTP in from that particular device, not the LAN.
Back to your issue...
Since you seem to get the following your networking looks okay. Let me think about what else might be causing routing issues.
Code:
[zimbra@mail ~]$ telnet localhost smtp
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 mail.mydomain.org ESMTP Postfix
quit
221 2.0.0 Bye
Connection closed by foreign host.
[zimbra@mail ~]$ telnet telnet `hostname` smtp
Trying 66.255.3.135...
Connected to mail.mydomain.org (192.168.0.3).
Escape character is '^]'.
220 mail.mydomain.org ESMTP Postfix
quit
221 2.0.0 Bye
Connection closed by foreign host.
[zimbra@mail ~]$
Did you actually create a message?
Code:
[zimbra@mail ~]$ telnet `hostname` smtp
Trying 192.168.0.3...
Connected to mail.king-thompson.net (192.168.0.3).
Escape character is '^]'.
220 mail.mydomain.org ESMTP Postfix
HELO mail.mydomain.org
250 mail.mydomain.org
MAIL FROM:<cedric@mydomain.org>
250 2.1.0 Ok
RCPT TO:<cedric@mydomain.org>
250 2.1.5 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
From: "Me" <cedric@mydomain.org>
To: Me <cedric@mydomain.org>
Date: today
Subject: Test message
Testing. Testing. 1.. 2.. 3.. Testing.
Cedric
.
250 2.0.0 Ok: queued as 308E2B9C021
QUIT
221 2.0.0 Bye
Connection closed by foreign host.
[zimbra@mail ~]$
This one popped immediately into my inbox.
I'll think about this when time allows and get back with you. Perhaps someone else will come up with suggestions that that might help in the meantime.