RE: [Exim] relay - newbie question

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Nancy Pettigrew
Datum:  
To: exim-users
Betreff: RE: [Exim] relay - newbie question
Thanks for all the tips on this.

The db file is created by a perl script using the DB_File module, opening
the files as DB_HASH.

-----Original Message-----
From: exim-users-admin@??? [mailto:exim-users-admin@exim.org]On
Behalf Of Philip Hazel
Sent: Thursday, July 06, 2000 5:51 AM
To: Tabor J. Wells
Cc: Nancy Pettigrew; exim-users@???
Subject: 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.



--
## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##