....
 

Guardian Digital Inc. > InfoCenter > Mailing List Archives > Postfix

Postfix Mailing List Archive

From: Wietse Venema (wietse@porcupine.org)
Date: Mon Dec 20 2004 - 10:16:04 EST


Ralf Hildebrandt:
> * Wietse Venema <wietse@porcupine.org>:
> > Ralf Hildebrandt:
> > > Dec 20 04:06:14 mail postfix/smtpd[2251]: NOQUEUE: reject: RCPT from mm1.im-netz.net[212.42.242.92]: 450 <asa@access-one.com>: Sender address rejected: unverified address: connect to icarus.access-one.com[198.247.160.13]: Connection timed out; from=<asa@access-one.com> to=<volker.budach@charite.de> proto=ESMTP helo=<porky.im-netz.de>
> > > Dec 20 04:16:14 mail postfix/smtpd[2251]: timeout after RSET from mm1.im-netz.net[212.42.242.92]
> > > Dec 20 04:17:10 mail postfix/smtpd[2251]: warning: network_biopair_interop: error reading 5 bytes from the network: Connection reset by peer
> > > Dec 20 04:17:10 mail postfix/smtpd[2251]: timeout after RSET from mm1.im-netz.net[212.42.242.92]
> > > Dec 20 04:22:10 mail postfix/smtpd[2251]: timeout after RSET from mm1.im-netz.net[212.42.242.92]
> >
> > What's your smtpd_timeout value? The first timeout happens after
> > 10 seconds, while the spurious ones happen after the default 300s.

(10 minutes)

> # postconf smtpd_timeout
> smtpd_timeout = 300s

Allright, so the only mystery is why this code:

    smtp_timeout_setup(state->client, var_smtpd_tmout);

    switch (vstream_setjmp(state->client)) {

    default:
        msg_panic("smtpd_proto: unknown error reading from %s[%s]",
                  state->name, state->addr);
        break;

    case SMTP_ERR_TIME:
        state->reason = REASON_TIMEOUT;
        if (vstream_setjmp(state->client) == 0)
            smtpd_chat_reply(state, "421 %s Error: timeout exceeded",
                             var_myhostname);
        break;

ends up looping.

I suspect that the two vstream_setjmp() macro's weren't compiled
correctly, and ended up in one and the same instance. With

    #define vstream_setjmp(stream) setjmp((stream)->jbuf[0])

there isn't much that I could have screwed up.

What are the platform & compiler?

        Wietse



[ About Guardian Digital ] - [ Press Center ] - [ Contact Us ] - [ System Activation ] - [ Reseller Info ] - [ Online Store ] - [ Site Map ]
Copyright (c) 2000 - 2004 Guardian Digital, Inc. Linux Lockbox and EnGarde are Trademarks of Guardian Digital, Inc.