From: "Simon A. Boggis" <simon@dcs.qmul.ac.uk>
To: netfilter@lists.samba.org
Subject: Re: TCP delay, SMTP errors
Date: 11 Jun 2002 11:41:03 +0100 [thread overview]
Message-ID: <1023792070.960.7.camel@hal9000> (raw)
In-Reply-To: <3D052994.CD0F1237@planetconnect.com>
[-- Attachment #1: Type: text/plain, Size: 1576 bytes --]
On Mon, 2002-06-10 at 23:35, Doug Monroe wrote:
> Nathan Cassano wrote:
> > Our website (on an internal NAT'ed network) connects our email
> > server (on an external network). The website uses a SMTP PHP class to
> > send mail using socket connections. The problem is a delay in connecting
> > to the mail server that causes the class to quit prematurely. I fixed
>
> what happens when you use telnet from the website box to the mail server's
> port 25? do you get a delay rec'ving the SMTP banner? Likely has nothing to do
> with netfilter...my money's on a paranoid SMTP trying to do a reverse DNS
> lookup (or identd?) causing the delay. Maybe there's no PTR record for the NAT
> (public) IP of the website? Maybe your SMTP server has a big-ish list of DNS
> hosts to try before it finally timesout?
My first suspicion would be a timing out ident from the mail server.
I always send rejects on port 113/tcp (ident) for this reason. Some MTAs
absolutely insist on doing an ident (or timing out trying) before they
accept your mail.
It could be useful to tcpdump at your firewall/router, or on the machine
doing the smtp connection (if no border filtering) and see what is going
on.
Simon
--
----------------------------------------------------------------------
Dr Simon A. Boggis Systems Programmer
Department of Computer Science, Tel. 020 7882 7522
Queen Mary, University of London, London E1 4NS UK.
---- GPG public key <http://www.dcs.qmul.ac.uk/~simon/#publickey> ----
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 232 bytes --]
next prev parent reply other threads:[~2002-06-11 10:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-10 20:45 TCP delay, SMTP errors Nathan Cassano
2002-06-10 22:18 ` Ramin Alidousti
2002-06-10 22:35 ` Doug Monroe
2002-06-11 10:41 ` Simon A. Boggis [this message]
2002-06-11 15:54 ` Nathan Cassano
2002-06-11 17:34 ` Ramin Alidousti
2002-06-11 22:00 ` TCP delay Nathan Cassano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1023792070.960.7.camel@hal9000 \
--to=simon@dcs.qmul.ac.uk \
--cc=netfilter@lists.samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox