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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Lena
日付:  
To: exim-users
題目: 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"