Google Groepen ondersteunt geen nieuwe Usenet-berichten of -abonnementen meer. Historische content blijft zichtbaar.

Recipient-based relaying for non-local users

90 weergaven
Naar het eerste ongelezen bericht

sdl

ongelezen,
23 sep 2004, 13:30:4223-09-2004
aan
Hello All,
Is it possible to let sendmail relay for just some
(non local) recipients?
I am running sendmail 8.13.1 with FEATURE(access_db).

I see that an entry like

To: domain.dom RELAY

in my access db works, in other words mail for
any...@domain.dom gets delivered, even though
domain.dom is not local.

The problem is, I want my mailserver to relay for just
some users @domain.dom.
I tried with entries like

To:us...@domain.dom RELAY
To:us...@domain.dom RELAY

but they do not work (I always get a "relaying denied" message).

Must some special feature be enabled? I tried with
FEATURE(`blacklist_recipients'), but this brought no positive change.
Or maybe is there some trick to accomplish it?
Any idea would be greatly appreciated :).

TIA
.sdl


Andrzej Adam Filip

ongelezen,
24 sep 2004, 12:06:0024-09-2004
aan

There are a few ways:
* non local virtusertable with _VIRTUSER_STOP_ONE_LEVEL_RECURSION_
* non local virtusertable with "!" as valuse
us...@domain.dom !
* FEATURE(`ldap_routing') [you can use hash/dbm maps insted of ldap]

Search the group archive for messages with _VIRTUSER_STOP_ONE_LEVEL_RECURSION_

--
Andrzej [en:Andrew] Adam Filip an...@priv.onet.pl an...@xl.wp.pl
Home Page http://anfi.homeunix.net/ [ PageRank 6 ]
*Random Epigram* :
If you're going to do something tonight that you'll be sorry for tomorrow
morning, sleep late.
-- Henny Youngman

Claus Aßmann

ongelezen,
24 sep 2004, 12:34:2924-09-2004
aan
sdl wrote:

> Is it possible to let sendmail relay for just some
> (non local) recipients?
> I am running sendmail 8.13.1 with FEATURE(access_db).

Add

define(`_RELAY_FULL_ADDR_', `1')

to your mc file. This is an undocumented feature.

--
A: Maybe because some people are too annoyed by top-posting.
Q: Why do I not get an answer to my question(s)?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

sdl

ongelezen,
25 sep 2004, 06:17:3325-09-2004
aan

"Claus Aßmann" <ca+sendmail(-no-copies-please)@mine.informatik.uni-kiel.de>
wrote in message news:cj1ial$fbi$1...@zardoc.esmtp.org...

> sdl wrote:
>
> > Is it possible to let sendmail relay for just some
> > (non local) recipients?
> > I am running sendmail 8.13.1 with FEATURE(access_db).
>
> Add
>
> define(`_RELAY_FULL_ADDR_', `1')
>
> to your mc file. This is an undocumented feature.
>

Works perfectly, thank you :).
.sdl


0 nieuwe berichten