Szerző: Phil Pennock Dátum: Címzett: Stefan Onken CC: exim-users Tárgy: Re: [exim] Exim, Dovecot, LDA and Sieve
On 2009-09-06 at 09:52 +0200, Stefan Onken wrote: > HOME=/path/to/user/homedir deliver -f $FROM_ENVELOPE
> "
>
> The problem is, how do I add such a method into exim? My current
> config is:
>
>
> local_mysql_delivery_dovecot:
> driver = pipe
So, look at spec.txt (The Exim Specification, also in HTML online), and
search for "home" and the first few results will mostly be interesting,
explaining what's going on.
The key bit to read is later, the definition which is in Section 24,
"GENERIC OPTIONS FOR TRANSPORTS":
----------------------------8< cut here >8------------------------------
-home_directory-Use: transports-Type: string*-Default: unset-
-------------------------------------------------------------
This option specifies a home directory setting for a local transport,
overriding any value that may be set by the router. The home directory is
placed in $home while expanding the transport's private options. It is also
used as the current directory if no current directory is set by the
current_directory option on the transport or the transport_current_directory
option on the router. If the expansion fails for any reason, including forced
failure, an error is logged, and delivery is deferred.
----------------------------8< cut here >8------------------------------