Re: "lost connection with domain while sending end of data -- message may be sent more than once"

From: Wietse Venema (no email)
Date: Tue May 01 2007 - 08:13:32 EDT

  • Next message: Charles Marcus: "Re: Setting up to send mail"

    Hargis, Mandy:
    >
    > >So messages arrive at the remote site, but the Postfix SMTP client
    > times out before the remote server responds to "."
    >
    > That is what appears to be happening. The recipient definitely gets the
    > message (multiple times).
    >
    > >What is the output from:
    > >postconf | grep smtp_data_
    >
    > smtp_data_done_timeout = 600s
    > smtp_data_init_timeout = 120s
    > smtp_data_xfer_timeout = 180s

    So the remote server does not respond to "." in 600s.

    Are you perhaps behind a NAT gateway? This may expire the connection
    from its tables too early. Such boxes tend to be optimized for
    short-lived http connections which is bad for email.

    Is the remote SMTP server behind a NAT gateway?

    In either case, it may help to turn on keep-alives.,
    For example, in FreeBSD:

        sysctl -w net.inet.tcp.keepidle=100000

    This is currently not built into Postfix.

    > >Is the timeout problem message size dependent?
    > No, many messages are smaller than 8k in size.

    Are there large messages that DON'T fail?

    > >How many of those messages are you sending in parallel?
    > One message/recipient.

    How many EMAIL MESSAGES are you sending in parallel?

            Wietse


  • Next message: Charles Marcus: "Re: Setting up to send mail"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD