Hi,

the documentation at https://doc.dovecot.org/settings/pigeonhole/ says
regarding sieve_redirect_envelope_from setting option user_email:
| The user’s primary address is used. This is configured with the
| sieve_user_email setting. If that setting is not configured, user_email
| is equal to sender.

But checking dovecot-2.3-pigeonhole-0.5.21/src/lib-sieve/sieve-address-source.c 
~line 79:
|        if ( type == SIEVE_ADDRESS_SOURCE_USER_EMAIL &&
|                svinst->user_email == NULL )
|                type = SIEVE_ADDRESS_SOURCE_RECIPIENT;

So if sieve_user_email is not configured, "user_email" is equal to "recipient"
(which is the observed behaviour).
Either the documentation is incorrect and should be updated, or the source has 
a bug .


btw: I was looking at this cause I search for a way to change the envelope 
sender
on redirect only for a specific user. But it looks like this is impossible:
sieve_redirect_envelope_from is a server wide setting; and the sieve script
doesn't allow changing the envelope...

-- 
Thomas Mechtersheimer - Necklenbroicher Str. 45a - D-40667 Meerbusch - Germany
EMail: thom...@wupper.com                                     IRC-Nick: Mechti
  Of course I'm crazy, but that doesn't mean I'm wrong. I'm mad but not ill.
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to