Re: Does anyone have an example of how to make LUSER_RELAY and preserve_luser_host work?
- From: Andrzej Adam Filip <anfi@xxxxxxx>
- Date: Mon, 22 Feb 2010 21:23:00 +0100
Seth Randall <seth.randall@xxxxxxxxx> wrote:
On Feb 21, 2:10 pm, Andrzej Adam Filip <a...@xxxxxxx> wrote:
Seth Randall <seth.rand...@xxxxxxxxx> wrote:
I am trying to use LUSER_RELAY with preserve_luser_host on Sendmail
8.14.4 my mc file has the following:
define(LUSER_RELAY, `relay:exchange.example.com')dnl
FEATURE(`preserve_luser_host')dnl
mail sent to testem...@xxxxxxxxxxx should forward to
exchange.example.com without changing the host, but it keeps failing
with the Exchange server returning the message that
testem...@xxxxxxxxxxxxxxxxxxxx could not be reached. Isn't the
preserve_luser_host supposed to keep it from rewriting the host name?
0) Have you "noticed" last paragraph of the description below and its
consequences described before it?
http://www.sendmail.org/m4/features.html#preserve_luser_host
preserve_luser_host Preserve the name of the recipient host if
LUSER_RELAY is used. Without this option, the domain part of the
recipient address will be replaced by the host specified as
LUSER_RELAY. This feature only works if the hostname is passed to the
mailer (see mailer triple in op.me).
Note that in the default configuration the local mailer does not receive
the hostname, i.e., the mailer triple has an empty hostname.
1) Are you interested in simple "a few line" patch of cf/m4/proto.m4
allowing LUSER_RELAY to use one domain for relay and another for
"appending" to relayed email address?
[ FEATURE(`anfi/mrs_relay_cd') ]
I saw that last paragraph, but I thought it only referred to delivery
to local programs or users. Out of curiosity, in what situations does
preserve_luser_host actually work? It would seem to me that the use
case I have would be the obvious use for it and would therefore work
by default.
I would spare you my wild guesses :-)
Regardless, I would certainly take a patch for it.
Do you want "direct patch"?
[making possible to request that local mailer selection sets $h *too*]
--
[pl>en Andrew] Andrzej Adam Filip : anfi@xxxxxxx : Andrzej.Filip@xxxxxxxxx
How comes it to pass, then, that we appear such cowards in reasoning,
and are so afraid to stand the test of ridicule?
-- A. Cooper
.
- Follow-Ups:
- References:
- Does anyone have an example of how to make LUSER_RELAY and preserve_luser_host work?
- From: Seth Randall
- Re: Does anyone have an example of how to make LUSER_RELAY and preserve_luser_host work?
- From: Andrzej Adam Filip
- Re: Does anyone have an example of how to make LUSER_RELAY and preserve_luser_host work?
- From: Seth Randall
- Does anyone have an example of how to make LUSER_RELAY and preserve_luser_host work?
- Prev by Date: Re: relaying from local addresses
- Next by Date: Re: timeout writing message to a.mx.mail.yahoo.com.: Broken pipe
- Previous by thread: Re: Does anyone have an example of how to make LUSER_RELAY and preserve_luser_host work?
- Next by thread: Re: Does anyone have an example of how to make LUSER_RELAY and preserve_luser_host work?
- Index(es):
Relevant Pages
|