Bug#600007: environment option can not set USER for pipe transport
Joachim Breitner
nomeata at debian.org
Wed Oct 13 17:12:44 UTC 2010
Hi,
Am Mittwoch, den 13.10.2010, 19:10 +0200 schrieb Andreas Metzler:
> On 2010-10-12 Joachim Breitner <nomeata at debian.org> wrote:
> [...]
> This is also documented. (spec.txt 29.4 Environment variables: "The
> environment variables listed below are set up when the command is
> invoked. [...] Note that the environment option can be used to add
> additional variables [...]")
yes, I noticed that it wasn’t working as expected.
> > I think it would be better if entries in environment really override the
> > defaults from exim.
>
> > For me, this is not critical, as it only affects the logging output. But
> > it certainly is unexpected behaviour. Such a setup is also recommended
> > by dovceot, see the example on http://wiki.dovecot.org/LDA/Exim at the
> > very bottom.
> [...]
>
> I will forward this upstream.
Thanks.
> Shouldn't this do as a workaround for
> the time being?
>
> command = /usr/bin/env USER="$local_part@$domain" /usr/lib/dovecot/deliver -f $sender_address
Probably. I can also try to use "use_shell", as the shell will probably
re-do the environment and might read it from right to left.
Greetings,
Joachim
--
Joachim "nomeata" Breitner
Debian Developer
nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-exim4-maintainers/attachments/20101013/8ce9c264/attachment.pgp>
More information about the Pkg-exim4-maintainers
mailing list