Re: [Exim] lookup in perdition popmap-db

Top Page
Delete this message
Reply to this message
Author: Harald Meland
Date:  
To: Jochen Knuth
CC: exim-users
Subject: Re: [Exim] lookup in perdition popmap-db
[Jochen Knuth]

> I use it to "split across multiple backend servers on a per user basis",
> that means i have a file popmap with lines that look like these:
>
> user1:pophost1:popport1
> user2:pophost2:popport2


[...]

> Is there a way to lookup in this popmap file for the host and port
> information?


See the "Expansion Items" section of the spec, specifically the stuff
about

     "${lookup{<key>} <search type> {<file>} {<string1>} {<string2>}}"
and
     "${extract{<number>} {<separators>} {<string>}}"
-- 
Harald