*** smtpd.c Mon May 20 17:08:45 2002 --- smtpd.c.orig Mon May 20 16:43:06 2002 *************** *** 1232,1254 **** switch (flush_send(argv[1].strval)) { case FLUSH_STAT_OK: smtpd_chat_reply(state, "250 Queuing started"); return (0); case FLUSH_STAT_DENY: ! /* ! * Pretend all ETRN requests succeed, log them and carry on. ! * ! * msg_warn("reject: ETRN %.100s... from %s", ! * argv[1].strval, state->namaddr); ! * smtpd_chat_reply(state, "459 <%s>: service unavailable", ! * argv[1].strval); ! * return (-1); ! */ ! msg_warn("fudge: ETRN %.100s from %s", argv[1].strval, state->namaddr); ! smtpd_chat_reply(state, "250 Request noted"); ! return (0); case FLUSH_STAT_BAD: msg_warn("bad ETRN %.100s... from %s", argv[1].strval, state->namaddr); smtpd_chat_reply(state, "458 Unable to queue messages"); return (-1); default: --- 1232,1246 ---- switch (flush_send(argv[1].strval)) { case FLUSH_STAT_OK: smtpd_chat_reply(state, "250 Queuing started"); return (0); case FLUSH_STAT_DENY: ! msg_warn("reject: ETRN %.100s... from %s", argv[1].strval, state->namaddr); ! smtpd_chat_reply(state, "459 <%s>: service unavailable", ! argv[1].strval); ! return (-1); case FLUSH_STAT_BAD: msg_warn("bad ETRN %.100s... from %s", argv[1].strval, state->namaddr); smtpd_chat_reply(state, "458 Unable to queue messages"); return (-1); default: