Bug#600007: environment option can not set USER for pipe transport

Joachim Breitner nomeata at debian.org
Thu Oct 14 07:44:15 UTC 2010


Hi again,

Am Mittwoch, den 13.10.2010, 19:12 +0200 schrieb Joachim Breitner:
> Am Mittwoch, den 13.10.2010, 19:10 +0200 schrieb Andreas Metzler:
> > 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.

Confirmed. With “use_shell” the USER in environment takes precedence
over exim’s own one. I assume that this is due to different parsing of
the environment in the shell and in deliver. It works for me this way,
but the behavior is still undesirably arbitrary.

Thanks,
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/20101014/a3e96135/attachment.pgp>


More information about the Pkg-exim4-maintainers mailing list