Re: [Exim] relay - newbie question

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Tabor J. Wells
Date:  
À: Nancy Pettigrew
CC: exim-users
Sujet: Re: [Exim] relay - newbie question
On Wed, Jul 05, 2000 at 03:44:50PM -0700,
Nancy Pettigrew <nancy@???> is thought to have said:

> I have a db file created by a daemon, that contains IPs for recently
> authenticated pop sessions.
> 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?
>
> Danke.


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

Tabor
-- 
--------------------------------------------------------------------
Tabor J. Wells                                     twells@???
Fsck It!                 Just another victim of the ambient morality