On 2025-08-06 Viktor Dukhovni via Exim-users <exim-users@lists.exim.org> wrote:
> On Tue, Aug 05, 2025 at 05:53:51PM +0200, Peter Thomassen via Exim-users 
> wrote:

> > A user has the following Exim filter:
> > 
> > # Exim filter
> > if personal alias f...@example.com
> > then
> >   unseen mail
> >     subject "Automatic reply: $h_subject:"
> >     from "f...@example.com"
> >     extra_headers "Content-Type: text/plain; charset=UTF-8"
> >     file ./.reply.msg
> >     once ./.reply
> >     once_repeat 7d
> > endif

> This filter is not a good idea.  It appears to fail to take into account
> the essential requirements of RFC3834:

>     <https://datatracker.ietf.org/doc/html/rfc3834>

> in particular the exceptions listed in:

>     <https://datatracker.ietf.org/doc/html/rfc3834#section-2>

> and ensuring that auto-reply envelope sender is the NULL sender: <>.

> So unless those requirements are built-in features of the filter syntax,
> this filter MUST NOT be used without appropriate modifications.

Afaict this should be fine with respect to RFC3834.

The autoreply transport takes care of using an empty envelope sender
and adding an Auto-Submitted: header, the personal conditions checks for
this (and other headers) and does not match on empty sender.
See
https://www.exim.org/exim-html-current/doc/html/spec_html/filter_ch-exim_filter_files.html#SEC29
and
https://www.exim.org/exim-html-current/doc/html/spec_html/ch-the_autoreply_transport.html

cu Andreas

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

Reply via email to