[exim] Re: Dovecot pidgeonhole transport untaint $sender

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Martin Waschbüsch
Fecha:  
A: exim-users
Asunto: [exim] Re: Dovecot pidgeonhole transport untaint $sender

Am 11.05.23 um 17:25 schrieb Jeremy Harris via Exim-users:
> On 11/05/2023 16:12, Evgeniy Berdnikov via Exim-users wrote:
>>   What about proposal in 1st comment to strip out "-f $sender_address"?
>>
>>   IMHO, dovecot-lda doesn't need sender address. Unless sieve is used,
>>   with explicit reference to sender address.
>
> I assumed the most likely use of something called "pidginhole"
> was delivery to distinct folders, often by inspecting the sender.
> But perhaps it can use the From: header?


If I read the dovecot docs correctly, lda will use the From: header if
present and no -f <sender address> is given:

"-f <address>: Envelope sender address. If not specified and message
data begins with a valid mbox-style “From ” line, the address is taken
from it."
(https://doc.dovecot.org/configuration_manual/protocols/lda/)

However, pidginhole provides extensive sieve language support and you
can use almost any piece of an email to move, copy, filter, forward,
autoreply, etc.
(https://datatracker.ietf.org/doc/html/rfc5228)
(https://pigeonhole.dovecot.org/)

My guess is: Just removing the -f $sender_address just might change mail
processing for some people.

Martin

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/