Re: [Exim-users-de] Missing Lookup Type

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Martin Reising
Date:  
À: exim-users-de
Sujet: Re: [Exim-users-de] Missing Lookup Type
On Sun, Jul 06, 2008 at 06:29:34PM +0200, Nicola Tiling wrote:
> Ich versuche mich gerade an dovecot statt exim als LDA und habe einen
> ensprechenden transport eingerichtet
>
> virtual_local_dovecot_delivery:
>    driver = pipe
>    command = /usr/local/libexec/dovecot/deliver -d ${lookup  
> pgsql{POSTFACH}{${value}}fail} -a $local_part@$domain
>    message_prefix = ""
>    message_suffix = ""
>    delivery_date_add
>    envelope_to_add
>    return_path_add
>    log_output
>    user = dovecot
>    group = dovecot

>
>
> Irgendwie mag exim an dieser Stelle mein lookup pgsql nicht? ich
> bekomme die Fehlermeldeung "transport failed: missing lookup type" und
> die Mail landet in der queue.


Ich setze address_data im router und benutze es dann im transport für
deliver:

odmr_router:
driver = accept
condition = ${lookup pgsql {SELECT userid FROM users WHERE envelopto like '%${quote_pgsql:$domain}'} }
address_data = ${lookup pgsql {SELECT userid FROM users WHERE envelopto like '%${quote_pgsql:$domain}'} }
domains = +private_domains
local_part_suffix_optional
local_part_suffix = -* : +*
transport = odmr_transport
unseen
    
virtualuser_router:
driver = accept
condition = $address_data
domains = +private_domains
local_part_suffix_optional
local_part_suffix = -* : +*
transport = dovecot_virtual


dovecot_virtual:
driver = pipe
command = /usr/lib/dovecot/deliver -d $address_data
message_prefix =
message_suffix =
delivery_date_add
envelope_to_add
return_path_add
log_output
group = mail
user = Debian-exim
        
--
Nicht Absicht unterstellen, wenn auch Dummheit ausreicht!