Re: [Exim] relay - newbie question

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Tabor J. Wells
CC: Nancy Pettigrew, exim-users
Tárgy: Re: [Exim] relay - newbie question
On Wed, 5 Jul 2000, Tabor J. Wells wrote:

> > I want to config exim to only allow relaying if from these IPs.
> > Is this the sender_host_accept_relay option in the config?
> > If so, does it expect simply a text file, or db file?
>
> FAQ Q0806 has some sample configs of a pop-before-auth setup which may or
> may not apply.
>
> You don't say which version of Exim you're running, but recent releases
> use host_accept_relay which accepts a host list as an argument.
>
> http://www.us.exim.org/exim-html-3.10/doc/html/spec_toc.html#TOC167
>
> lists what a host list can be.
>
> If you've got a db of individual IP addresses with no netmask, then you'd
> probably want to do something like:
>
> host_accept_relay = net-dbm;/path/to/pophosts.db


If something other than exim_dbmbuild is creating the DBM file, you need
to know whether it has used a trailing zero character in the keys or
not. "dbm" lookups expect a trailing zero; "dbmnz" lookups do not.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.