Re: Does anyone have an example of how to make LUSER_RELAY and preserve_luser_host work?
- From: Andrzej Adam Filip <anfi@xxxxxxx>
- Date: Thu, 25 Feb 2010 19:49:28 +0100
Seth Randall <seth.randall@xxxxxxxxx> wrote:
On Feb 22, 1:23 pm, Andrzej Adam Filip <a...@xxxxxxx> wrote:
Seth Randall <seth.rand...@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*]
That would be great.
Thanks,
Seth
Based on "off usenet" discussion mrs_relay_cd has been sufficient
(if I understood correctly).
--
[pl>en Andrew] Andrzej Adam Filip : anfi@xxxxxxx : Andrzej.Filip@xxxxxxxxx
Open-Sendmail: http://open-sendmail.sourceforge.net/
Three hours a day will produce as much as a man ought to write.
-- Trollope
.
- 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
- 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: identifying to address when piping to program
- Next by Date: Re: Ports in use
- Previous by thread: Re: Does anyone have an example of how to make LUSER_RELAY and preserve_luser_host work?
- Next by thread: require_rdns bug
- Index(es):
Relevant Pages
|