Re: [Exim] just another pop-before-smtp - problem

Página Inicial
Delete this message
Reply to this message
Autor: Nico Erfurth
Data:  
Para: Malte Geierhos
CC: exim-users@exim.org
Assunto: Re: [Exim] just another pop-before-smtp - problem
On Sun, 9 Feb 2003, Malte Geierhos wrote:

> hi !
>
> i'd like to use pop-before-smtp for relay - control since i've set up
> courier-imap/ssl && courier-pop3/ssl and exim with mysql-support .
> My Problem at this point is, that i need to have both, pop-before-smtp
> and smtp-auth. Smtp-auth - prob is solved.
> Now i tried to figure out how to make use out of the pb4smtp project at
> sourceforge.
> It tail's the logfile and puts the ip's into a berkeley-db ok.
> My prob is, that the ip is the key and there's a user-definable value as
> value ( "ok" ) so it looks like this:
>
> 217.203.67.x     ok

>
> hm using this as hostlist:
> hostlist relay_from_hosts = 127.0.0.1 :
> ${lookup{$sender_host_address}dbmnz{/etc/exim/popauth.db}}


Using
hostlist relay_from_hosts = 127.0.0.1 : dbmnz;/etc/exim/popauth.db

should be enough, or modify your lookup too

${lookup{$sender_host_address}dbmnz{/etc/exim/popauth.db}{$sender_host_address}}

But the first one should be fine :)

Nico