WinProxy 4.0 dropping first character on reverse-proxied SMTP server port?!?

From: Nick Marden (nick@marden.org)
Date: 02/23/02


From: nick@marden.org (Nick Marden)
Date: 23 Feb 2002 11:31:40 -0800

I have WinProxy 4.0Rg1 (aka WinProxy for StarBand) on a Windows ME
box. Using the little configurator whiz-bang, I have set up the
gateway box running WinProxy to forward the port 25 on the public
network (internet) interface to the port 25 of my internal mail
server. Nothing tricky here - a pretty standard configuration for
domains that have their own mail server.

The problem comes when SMTP servers on the Internet attempt to connect
to the mail server port on the gateway's public IP address. It appears
that the first character [sic!] of the conversation sent by the
internal mail server, gets dropped by the firewall. Everything else
behaves normally.

In other words, here's the input when connecting from inside the
firewall, to the SMTP server on the local network:

[user@localhost.mydomain.com] telnet mymailserver.mydomain.com 25
Connected to mymailserver.mydomain.com
Escape character is '^]'
220 mydomain.com Super foo mail server ESMTP -- let er rip

And when you connect from the outside world, you get:

[user@host.oninternet.com] telnet gateway.mydomain.com 25
Connected to gateway.mydomain.com
Escape character is '^]'
20 mydomain.com Super foo mail server ESMTP -- let er rip

Note that what is "220" in the first conversation is "20" in the
second. So, any SMTP server that actually implements the "correct"
SMTP protocol, immediately hangs up after seeing that first line,
because an SMTP server is supposed to greet with "220 ..." when it is
ready for SMTP conversations.

The upshot is, most SMTP servers on the internet can't send mail to
this SMTP server, which sucks for me.

Has anyone seen this behavior? Is there a fix?

Thanks,

Nick Marden
nick-dont-bother-spamming-me-just-use-nick@marden.org



Relevant Pages

  • Re: Ask EU mail sending message
    ... Could somerat tell me which bit of my system I should be looking at in response to the following, which I get when I try to send mail: ... The mail server responded: REJ-RELAY-001: relay not permitted. ... You are trying to use an SMTP server which is not owned by the ISP you're currently connected to - this has been blocked for decades to stop spammers sending mail via other companies' mail servers. ... your mail client is still configured to the SMTP server of your UK ISP - you need to change it for the one provided by your French ISP. ...
    (uk.media.radio.archers)
  • Re: Fixed but no idea why.
    ... mail server fine now that my SMTP server has a different name? ... appears on the right-hand side of e-mails generated by your systems. ... latter option, while not encouraged, will work because the SMTP RFCs ...
    (microsoft.public.inetserver.iis.smtp_nntp)
  • Re: Help
    ... >> I can send and receive emails using Outlook Express ... > All you can do is check the documentation of your SMTP server if you ... but the issue is the same no matter what mail server: ... Microsoft Windows MVP - Windows Server - Directory Services Security Is Like An Onion, ...
    (microsoft.public.windows.server.dns)
  • Re: Mobile User issue with SMTP Server
    ... mail from a foreign network if the user authenticates to the SMTP server? ... ideally you want everyone to point to that "home office ISP" whether they ... If I set the satellite office's SMTP mail server to the ...
    (microsoft.public.outlook.general)
  • Re: [opensuse] Re: Email Security question: Hijacked email !!! was: Vista
    ... own mail server, and -- of course, using all those domain names, as the ... I don't know how the other anti-spoofing tools work, but with SPF you ... Currently if (via your smtp server) you send an email with a from ... It is called a signature... ...
    (SuSE)