On 09/27/2010 01:53 AM, The Doctor wrote:
> virtusertable:
> driver = redirect
> domain = +virtual_domains
> no_more
> data = ${lookup {$local_p...@$domain} lsearch \
>         {/etc/mail/virtusertable}{$value}\
>         {${look...@$domain} lsearch {/etc/mail/virtusertable} } }
>
> replace lsearch with whatever databaseformat you use.
>
> In the main section you should declare the domainlist virtual_domains
> , which all the domians that should be looked up from virtusertable
>
> ....
>
> Well the list in sendmail is kept in /etc/mail/local-host-names
>
> I use db-4.X for a 'databaseformat'.
>
> Where would the virtual_domains list be kept?

If that's a version-4 Berkeley DB, you can carry on using it; exim
(assuming built with the DBM support included, which it usually is)
can access them.   See the docs at
http://exim.org/exim-html-current/doc/html/spec_html/ch09.html
in particular the discussion of "dbm" lookups.

Or, if you wish, you could switch to some other lookup type.

Use the "exim -bV" command to see if your exim was built with "dbm"
lookup support.

Cheers,
     Jeremy

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to