I sorry, i do not use local users, just vmail,

but you should be able to learn mor for this man page

https://www.exim.org/exim-html-current/doc/html/spec_html/ch-environment_for_running_local_transports.html

or someone else who has experience with local users can eval your question

On Tue, Feb 18, 2025 at 12:31 PM Sławomir Dworaczek
<sla...@dworaczek.info> wrote:
>
> Helo
> Good job !
> One question
> my users in group users and user is local unix user
> this ok ?
>
>  maildir_spam_delivery:
>  driver = appendfile
>     maildir_format = true
>     directory = /var/vmail/$domain/$local_part/.Spam
>     user = $local_part
>     create_directory
>     delivery_date_add
>     envelope_to_add
>     return_path_add
>     group = users
>     mode = 0700
>
> regards
>
> ----- Original Message -----
> From: "Steve Charmer via Exim-users" <exim-users@lists.exim.org>
> To: <exim-users@lists.exim.org>
> Sent: Tuesday, February 18, 2025 1:36 PM
> Subject: [exim] Re: Delivery spam message to local user spam folder
>
>
> > this is what works for me
> >
> >
> > begin routers
> >
> > # route all mail flagged as spam to a transport
> > maildir_spam:
> >   driver = accept
> >   transport = maildir_spam_delivery
> >   condition = ${if def:h_X-Spam-Score: {true}}
> >
> >
> >
> > begin transports
> >
> > maildir_spam_delivery:
> > driver = appendfile
> >    maildir_format = true
> >    directory = /var/vmail/$domain/$local_part/.Spam
> >    user = mail
> >    create_directory
> >    delivery_date_add
> >    envelope_to_add
> >    return_path_add
> >    group = mail
> >    mode = 0600
> >
> >
> >
> >
> > On Tue, Feb 18, 2025 at 7:23 AM Sławomir Dworaczek via Exim-users
> > <exim-users@lists.exim.org> wrote:
> >>
> >> helo
> >> how to delivery taged message as spam to local user folder spam
> >> eg.
> >> if $h_X-Bogosity: MATCH "Spam" ...
> >>
> >> thanks
> >>
> >> --
> >> ## 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/
> >
> > --
> > ## 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/
> >
>

-- 
## 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