Anders Johansson wrote:
Jim Flanagan wrote:
RCPT TO:
250 Ok
Test mail from a telnet session.
502 Error: command not implemented
You never issued the DATA command
OK, I did telnet again to both "local host" and to "192.168.1.117" as
follows:
# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.example.com ESMTP Postfix
HELO client.example.com
250 mail.jjfiii.com
MAIL FROM:
250 Ok
RCPT TO:
250 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
Test mail from a telnet session.
.
250 Ok: queued as CDBF3D440
QUIT
221 Bye
Connection closed by foreign host.
and
# telnet 192.168.1.117 25
Trying 192.168.1.117...
Connected to 192.168.1.117.
Escape character is '^]'.
220 mail.example.com ESMTP Postfix
HELO clinet.example.com
250 mail.example.com
MAIL FROM:
250 Ok
RCPT TO:
250 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
Test mail from a telent session.
.
250 Ok: queued as 954F5D458
QUIT
/var/log/mail shows...
Jan 15 11:12:07 cammee postfix/smtpd[23919]: connect from localhost[127.0.0.1]
Jan 15 11:13:03 cammee postfix/smtpd[23919]: CDBF3D440: client=localhost[127.0.0.1]
Jan 15 11:13:29 cammee postfix/cleanup[23922]: CDBF3D440: message-id=<20060115171234.CDBF3D440@mail.example.com>
Jan 15 11:13:29 cammee postfix/qmgr[23866]: CDBF3D440: from=, size=365, nrcpt=1 (queue active)
Jan 15 11:13:29 cammee postfix/smtp[23923]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
Jan 15 11:13:29 cammee postfix/smtp[23923]: CDBF3D440: to=, relay=none, delay=55, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
Jan 15 11:13:35 cammee postfix/smtpd[23919]: disconnect from localhost[127.0.0.1]
Jan 15 11:13:59 cammee postfix/smtpd[23919]: connect from unknown[192.168.1.117]
Jan 15 11:14:40 cammee postfix/smtpd[23919]: 954F5D458: client=unknown[192.168.1.117]
Jan 15 11:14:56 cammee postfix/cleanup[23922]: 954F5D458: message-id=<20060115171426.954F5D458@mail.example.com>
Jan 15 11:14:56 cammee postfix/qmgr[23866]: 954F5D458: from=, size=367, nrcpt=1 (queue active)
Jan 15 11:14:56 cammee postfix/smtp[23923]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
Jan 15 11:14:56 cammee postfix/smtp[23923]: 954F5D458: to=, relay=none, delay=30, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
Jan 15 11:14:59 cammee postfix/smtpd[23919]: disconnect from unknown[192.168.1.117]
What is your range then? You replaced it with xxx.xxx in the paste from
the telnet session, but that is fundamentally useless, as no one would
be able to connect to your private IPs anyway, even if you published
them all. You can hide public IPs if you want (but if it's a public mail
server, you have to publish it at some point) but private IPs don't have
to be protected
The actual hostname of this box is not FQDN, but something like linux.local
That shouldn't be used. Ever. .local isn't a valid domain, it's reserved
for zeroconf stuff.
But tell us what it says in /var/log/mail when you try to send a mail.
Usually postfix is very good at specifying what the problem is
OK, I have my nat router set to issue addresses to 192.168.1.110/120.
The new server is 192.168.1.117.
I'm not sure at this point what to name my server. The default install
uses linux.local. On my old machine I have been usung successfully
something like that, myserver.local, and had postfix using example.com
as masquerade_domain.
This server is my only server that will be used from email, http, smb,
and other file sharing. Small home setup.
Many thanks,
Jim