Displaying 2 results from an estimated 2 matches for "iiz00gyz".
2020 May 29
3
Simple backup of maildir folder
Hi,
I want to do a simple backup of my maildir. I read here that maildirlock
is not to count on in the future and the recommended option was to use
doveadm backup. However, it seems that this requires to setup another
dovecot server.
My questions are:
- How much to I need to configure this new server? Do I need to setup
user by user, or even install postfix (that's where my users are
2020 May 31
4
Simple backup of maildir folder
...; https://github.com/tachtler/dovecot-backup
A couple of notes on this quite useful script:
My mktemp does not support -p (FreeBSD 12.1) is I had to change the script to:
DIR_TEMP=$($MKTEMP_COMMAND -d $TMP_FOLDER -t $SCRIPT_NAME)
Which gives a temp folder along the lines of
/tmp/dovecot_backup.IiZ00GyZ
I also changed the various date strings to date -Iseconds and date -R for the mail handling since the format in the script is not to spec, using
Fri, 29 May 2020 23:49:31 (-0600)
Instead of the
-R, --rfc-email
output date and time in RFC 5322 format. Example: Mon, 14...