From: mikea on
Bruce Esquibel <bje(a)ripco.com> wrote in <he1b13$kd$1(a)remote5bge0.ripco.com>:
> Dietmar Rieder <nospam(a)tugraz.at> wrote:
>
>> Take a look at _FFR_BADRCPT_SHUTDOWN.
>
>> You can use something like this in your sendmail.mc
>
>> define(`_FFR_BADRCPT_SHUTDOWN')dnl
>> define(`confBAD_RCPT_SHUTDOWN', `3')dnl
>> define(`confBAD_RCPT_SHUTDOWN_GOOD', `81')dnl
>
>> This, however, requires sendmail v8.14.3
>
>
> I'd like to look at that myself, but does it really exists in 8.14.3?
>
> I see one reference to FFR (for future release) in the release notes but
> nothing else for BAD_RCPT_SHUTDOWN or BAD_RCPT_SHUTDOWN_GOOD.

It's there, but not documented at all that I can find.

$ pwd
/home/mikea/sendmail-8.14.3
$ grep -rn BADRCPT * | less -SI
sendmail/conf.c:6034:#if _FFR_BADRCPT_SHUTDOWN
sendmail/conf.c:6036: "_FFR_BADRCPT_SHUTDOWN",
sendmail/conf.c:6037:#endif /* _FFR_BADRCPT_SHUTDOWN */
sendmail/readcf.c:2252:#if _FFR_BADRCPT_SHUTDOWN
sendmail/readcf.c:2257:#endif /* _FFR_BADRCPT_SHUTDOWN */
sendmail/readcf.c:3826:#if _FFR_BADRCPT_SHUTDOWN
sendmail/readcf.c:3834:#endif /* _FFR_BADRCPT_SHUTDOWN */
sendmail/sendmail.h:2239:#if _FFR_BADRCPT_SHUTDOWN
sendmail/sendmail.h:2242:#endif /* _FFR_BADRCPT_SHUTDOWN */
sendmail/srvrsmtp.c:111:#define NBADRCPTS \
sendmail/srvrsmtp.c:640:#if _FFR_BADRCPT_SHUTDOWN
sendmail/srvrsmtp.c:642:#endif /* _FFR_BADRCPT_SHUTDOWN */
sendmail/srvrsmtp.c:2532:#if _FFR_BADRCPT_SHUTDOWN
sendmail/srvrsmtp.c:2561:#endif /* _FFR_BADRCPT_SHUTDOWN */
sendmail/srvrsmtp.c:2575: NBADRCPTS;
sendmail/srvrsmtp.c:2806: NBADRCPTS;
sendmail/srvrsmtp.c:2814: NBADRCPTS;
(END)

If the patch author reads this group, I'd be grateful for some
discussion and exposition of how this works.

--
Mike Andrews, W5EGO
mikea(a)mikea.ath.cx
Tired old sysadmin
From: Dietmar Rieder on
mikea wrote:
> Bruce Esquibel <bje(a)ripco.com> wrote in <he1b13$kd$1(a)remote5bge0.ripco.com>:
>> Dietmar Rieder <nospam(a)tugraz.at> wrote:
>>
>>> Take a look at _FFR_BADRCPT_SHUTDOWN.
>>> You can use something like this in your sendmail.mc
>>> define(`_FFR_BADRCPT_SHUTDOWN')dnl
>>> define(`confBAD_RCPT_SHUTDOWN', `3')dnl
>>> define(`confBAD_RCPT_SHUTDOWN_GOOD', `81')dnl
>>> This, however, requires sendmail v8.14.3
>>
>> I'd like to look at that myself, but does it really exists in 8.14.3?
>>
>> I see one reference to FFR (for future release) in the release notes but
>> nothing else for BAD_RCPT_SHUTDOWN or BAD_RCPT_SHUTDOWN_GOOD.
>
> It's there, but not documented at all that I can find.
>
> $ pwd
> /home/mikea/sendmail-8.14.3
> $ grep -rn BADRCPT * | less -SI
> sendmail/conf.c:6034:#if _FFR_BADRCPT_SHUTDOWN
> sendmail/conf.c:6036: "_FFR_BADRCPT_SHUTDOWN",
> sendmail/conf.c:6037:#endif /* _FFR_BADRCPT_SHUTDOWN */
> sendmail/readcf.c:2252:#if _FFR_BADRCPT_SHUTDOWN
> sendmail/readcf.c:2257:#endif /* _FFR_BADRCPT_SHUTDOWN */
> sendmail/readcf.c:3826:#if _FFR_BADRCPT_SHUTDOWN
> sendmail/readcf.c:3834:#endif /* _FFR_BADRCPT_SHUTDOWN */
> sendmail/sendmail.h:2239:#if _FFR_BADRCPT_SHUTDOWN
> sendmail/sendmail.h:2242:#endif /* _FFR_BADRCPT_SHUTDOWN */
> sendmail/srvrsmtp.c:111:#define NBADRCPTS \
> sendmail/srvrsmtp.c:640:#if _FFR_BADRCPT_SHUTDOWN
> sendmail/srvrsmtp.c:642:#endif /* _FFR_BADRCPT_SHUTDOWN */
> sendmail/srvrsmtp.c:2532:#if _FFR_BADRCPT_SHUTDOWN
> sendmail/srvrsmtp.c:2561:#endif /* _FFR_BADRCPT_SHUTDOWN */
> sendmail/srvrsmtp.c:2575: NBADRCPTS;
> sendmail/srvrsmtp.c:2806: NBADRCPTS;
> sendmail/srvrsmtp.c:2814: NBADRCPTS;
> (END)
>
> If the patch author reads this group, I'd be grateful for some
> discussion and exposition of how this works.
>

There was already some discussion about this feature in this group,
please see:

<http://groups.google.at/group/comp.mail.sendmail/browse_thread/thread/7281ad128d3eefb7/c4b2cfffd82f8113?hl=de&ie=UTF-8&q=BADRCPT_SHUTDOWN&pli=1>

in this discussion you should also find a patch for 8.14.3 that should
add the documentation and the m4 part.

Didi
From: ska on
mikea wrote:

> If the patch author reads this group, I'd be grateful for some
> discussion and exposition of how this works.

Some sendmail veteran's webpage (2nd link in google):
http://www.jmaimon.com/sendmail/

"May 15 2008, Sendmail 8.14.3
New version of badrcpt_shutdown patch for 8.14.3
This version is not tested as of this time. Sendmail 8.14.3 now
includes this _FFR patch, without documenation and m4 configuration.
This version of the patch contains only the m4 and documentation."

-ska