Re: [exim] Exim, Dovecot, LDA and Sieve

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Lena
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Exim, Dovecot, LDA and Sieve
> From: Stefan Onken

> #  command = /usr/lib/dovecot/deliver -d $local_part@$domain  -f
> #  $sender_address -a $original_local_part@$original_domain
> command = HOME=/var/mails/%domain/$local_part deliver -f  \
>      $sender_address


> but of course, exim can't handle the line with "HOME".
>
> Any ideas ?


Under FreeBSD (and may be other OS):
command = env HOME=/var/mails/$domain/$local_part \
          /usr/lib/dovecot/deliver -f $sender_address


or (I'm not sure about quotes):
command = sh -c "HOME=/var/mails/$domain/$local_part /usr/lib/dovecot/deliver -f $sender_address"