I did not setup the qpsmtpd servers at work and I am having an issue
that I cannot find the answer to in the wiki or with google.

If I telnet to the server from inside the network I get the correct
greeting but if I am outside the network I get a strange greeting.

Inside$ $ telnet 64.140.163.114 25
Trying 64.140.163.114...
Connected to 64.140.163.114.
Escape character is '^]'.
220 mail.kahalacorp.com ESMTP qpsmtpd 0.26 ready; send us your mail, but
not your spam.
HELO
250 mail.kahalacorp.com Hi [192.168.2.125] [192.168.2.125]; I am so
happy to meet you.
MAIL FROM:<>
250 "<>", sender OK - how exciting to get mail from you!
RCPT TO:<[EMAIL PROTECTED]>
250 [EMAIL PROTECTED], recipient ok
QUIT

Outside$ telnet 64.140.163.114 25
Trying 64.140.163.114...
Connected to 64.140.163.114.
Escape character is '^]'.
220
**********************************0*2**********************************************
HELO
500 Unrecognized command
MAIL FROM:<>
503 please say hello first ...
HELO
500 Unrecognized command
EHLO
500 Unrecognized command
MAIL FROM:<>
503 please say hello first ...
QUIT
221 mail.kahalacorp.com closing connection. Have a wonderful day.
Connection closed by foreign host.


I have verified that the connection is going to the correct server from
the outside with
$ netstat -n | grep '206\.197\.251\.210'
tcp        0      0 172.16.1.114:25             206.197.251.210:35002
    ESTABLISHED

The other thing that doesn't make sense is that no commands work from
outside the network.  Note in the conversations above that the Outside
one always says Unrecognized command.  I try to issue MAIL FROM and it
tells me to say hello.  I did try HELO and it didn't work.

I have been reading life with qmail for options and qpsmtpd docs for
options and googling but I'm not finding anything helpful.

Can someone point me to a configuration option that might cause this
behaviour?  perhaps because internal mail is allowed to relay?  but then
where is the configuration for setting the hostname for non-rcpthosts?

Thank you,

-- 
JT Moree

Reply via email to