[exim] Re: locking et al.

Góra strony
Delete this message
Reply to this message
Autor: Andrew C Aitchison
Data:  
Dla: exim-users
Temat: [exim] Re: locking et al.
On Mon, 5 Feb 2024, Jeremy Harris via Exim-users wrote:

> On 2/5/24 15:01, graeme vetterlein via Exim-users wrote:
>> But it occurs to me I'm rather "living on the edge" here I have multiple
>> cronjobs an I guess with a single edit I could end up with multiple
>> writers. So I guess I need to ensure maildrop and exim4 share a single view
>> of locking .
>
> Exim's locking for mailboxes depends on its config for the "appendfile"
> transport being used. See:
>
> https://exim.org/exim-html-current/doc/html/spec_html/ch-the_appendfile_transport.html


*If* maildrop has problems working exim's way, there is exim_lock
https://www.exim.org/exim-html-current/doc/html/spec_html/ch-exim_utilities.html#SECTmailboxmaint
which will lock a given mailbox and then call whatever shell or script
you wish to work on the mailbox ...

-- 
Andrew C. Aitchison                      Kendal, UK
                    andrew@???


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