[1239] in NetBSD-Development
Re: Masquerading dupe suppresion loses on FQ and non-FQ together
daemon@ATHENA.MIT.EDU (Kari E. Hurtta)
Mon Feb 5 03:47:57 1996
From: "Kari E. Hurtta" <Kari.Hurtta@dionysos.fmi.fi>
To: jhawk@MIT.EDU (John Hawkinson)
Date: Mon, 5 Feb 1996 10:47:34 +0200 (EET)
Cc: wolf@pasteur.fr, sendmail-bugs@sendmail.org, netbsd-dev@MIT.EDU
In-Reply-To: <199602050831.DAA03683@lola-granola.MIT.EDU> from John Hawkinson at "Feb 5, 96 03:31:25 am"
John Hawkinson kirjoittaa:
> I said:
> } If mail on such a client is sent to both a full-quallified address and
> } a non-fully qualified address, one is resolved to the relay mailer and
> } the other to the smtp mailer, and so the message is twice-delivered.
>
> And wolf replied:
> > Yes this is correct, you may wish to have LOCAL_RELAY, MAIL_HUB use the
> > same mailer, for exemple esmtp.
> [...]
> > Another solution would be to define esmtp as the default relay mailer
> > (which is what I usually recommend) :
> >
> > define(`confRELAY_MAILER', `esmtp')dnl
>
> I should point out that my understanding of the purpose of the relay
> mailer is kind of clouded, and I'm afraid I don't see why it should
> exist at all in the default configuration, or why something like the
> above should not be the default. op.me doesn't seem to really discuss
> this, and I guess it might be worth a small section (?).
relay mailer assumes, that relay is running sendmail and thereofe uses
different kind limits for line length and so on.
(So 'relay' mailer is 'esmtp' mailer + 'smtp8' mailer + bigger line length.)
> It's the case that the above fails in my configuration, because the
> default mailer is "smtp", so this produces one message to through the
> "smtp" mailer and one through the "esmtp" mailer; of course, this is
> easily fixed with
>
> define(`confRELAY_MAILER', `smtp')dnl
>
> which has the desired effect. Thanks.
>
> Unfortunately, it's still not quite right:
Use also: define(`confSMTP_MAILER', `esmtp')
(Value of confSMTP_MAILER should be smtp or esmtp.)
Quote from cf/README: --------------------------------------------------------
smtp The Simple Mail Transport Protocol mailer. This does
not hide hosts behind a gateway or another other
such hack; it assumes a world where everyone is
running the name server. This file actually defines
four mailers: "smtp" for regular (old-style) SMTP to
other servers, "esmtp" for extended SMTP to other
servers, "smtp8" to do SMTP to other servers without
converting 8-bit data to MIME (essentially, this is
your statement that you know the other end is 8-bit
clean even if it doesn't say so), and "relay" for
transmission to our RELAY_HOST, LUSER_RELAY, or
MAILER_HUB.
And another quote: -----------------------------------------------------------
confSMTP_MAILER - [smtp] The mailer name used when
SMTP connectivity is required.
One of "smtp", "smtp8", or "esmtp".