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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Lena
Date:  
À: exim-users
Sujet: 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"