W dniu 29.11.2012 16:15, Marcin Mirosław pisze:
> Configuration of virtual_delivery transport is defined as below:
> virtual_user:
> driver = accept
> domains = +local_domains
> condition = ${lookup pgsql{SQL_CZY_ISTNIEJE_UZYTK}}
> transport = virtual_delivery
> dsn_process
>
> SQL_CZY_ISTNIEJE_UZYTK = SELECT 1 FROM exim_users \
> WHERE login=lower(E'${quote_pgsql:$local_part}')
> AND aktywny = true AND tylko_wysylanie = false
>
I've wrote and sent email too fast:/
Transport configuration is:
virtual_delivery:
driver = pipe
command = /usr/libexec/dovecot/deliver -d
"$local_part"
delivery_date_add
envelope_to_add
return_path_add
user = mail
log_output
temp_errors = 64 : 69 : 70: 71 : 72 : 73 : 74 : 75 : 78
shadow_condition=${if <{$spam_score_int}{0}}
shadow_transport=ham_transport_kopia
Sorry.
Marcin