v2.3.17 - dsync says invalid option -- E
Hello,
I've got some scripts that archive off mail that stopped working with 2.3.17. Specifically this worksin 2.3.16:
sudo -n /usr/local/bin/dsync -u dluke -m Sent -o mail_location=mbox:~/tmp/ mirror maildir:~/Maildir/
but fails on 2.3.17 with the following error message:
dsync: invalid option -- E
-- Daniel J. Luke
On 2021-10-29 12:05, Daniel J. Luke wrote:
Hello,
I've got some scripts that archive off mail that stopped working with 2.3.17. Specifically this worksin 2.3.16:
sudo -n /usr/local/bin/dsync -u dluke -m Sent -o mail_location=mbox:~/tmp/ mirror maildir:~/Maildir/
but fails on 2.3.17 with the following error message:
dsync: invalid option -- E
I don't use dsync, but is mirror a command? Has mirror been replaced with sync?
On Oct 29, 2021, at 7:30 PM, Scott Ruckh <dovecot@gemneye.org> wrote:
On 2021-10-29 12:05, Daniel J. Luke wrote:
Hello, I've got some scripts that archive off mail that stopped working with 2.3.17. Specifically this worksin 2.3.16: sudo -n /usr/local/bin/dsync -u dluke -m Sent -o mail_location=mbox:~/tmp/ mirror maildir:~/Maildir/ but fails on 2.3.17 with the following error message: dsync: invalid option -- E
I don't use dsync, but is mirror a command?
it used to be :)
Has mirror been replaced with sync?
Maybe? I wouldn't expect it to (intentionally) change in a patch release, though.
-- Daniel J. Luke
On Oct 29, 2021, at 8:54 PM, Daniel J. Luke <dluke@geeklair.net> wrote:
On Oct 29, 2021, at 7:30 PM, Scott Ruckh <dovecot@gemneye.org> wrote:
On 2021-10-29 12:05, Daniel J. Luke wrote:
Hello, I've got some scripts that archive off mail that stopped working with 2.3.17. Specifically this worksin 2.3.16: sudo -n /usr/local/bin/dsync -u dluke -m Sent -o mail_location=mbox:~/tmp/ mirror maildir:~/Maildir/ but fails on 2.3.17 with the following error message: dsync: invalid option -- E
I don't use dsync, but is mirror a command?
it used to be :)
Has mirror been replaced with sync?
Maybe? I wouldn't expect it to (intentionally) change in a patch release, though.
FWIW, I don't actually need dsync for this - a simple script to export the maildir as an mbox works fine.
Daniel J. Luke
On Fri, 29 Oct 2021, Daniel J. Luke wrote:
Hello,
I've got some scripts that archive off mail that stopped working with 2.3.17. Specifically this worksin 2.3.16:
sudo -n /usr/local/bin/dsync -u dluke -m Sent -o mail_location=mbox:~/tmp/ mirror maildir:~/Maildir/
but fails on 2.3.17 with the following error message:
dsync: invalid option -- E
I've just noticed that I have the same error when running my weekly e-mail backup. The command I use is: dsync -v -u $USER backup -P mdbox:/secure/$USER/mdbox
which resulted in backup: invalid option -- 'E'
I don't use, nor do I know of, any such option.
When can we expect a 2.3.18 fixing this? (or, is it advisable to downgrade to 2.3.16?).
Thanks in advance, Bernardo
On Sun, 31 Oct 2021, Bernardo Reino wrote:
On Fri, 29 Oct 2021, Daniel J. Luke wrote:
Hello,
I've got some scripts that archive off mail that stopped working with 2.3.17. Specifically this worksin 2.3.16:
sudo -n /usr/local/bin/dsync -u dluke -m Sent -o mail_location=mbox:~/tmp/ mirror maildir:~/Maildir/
but fails on 2.3.17 with the following error message:
dsync: invalid option -- E
I've just noticed that I have the same error when running my weekly e-mail backup. The command I use is: dsync -v -u $USER backup -P mdbox:/secure/$USER/mdbox
which resulted in backup: invalid option -- 'E'
I don't use, nor do I know of, any such option.
OK, apparently that option is implied when running "dsync" instead of "doveadm". I've replaced my command with
# doveadm -v backup -u $USER -P $DESTINATION
and it works fine.
Cheers.
participants (3)
-
Bernardo Reino
-
Daniel J. Luke
-
Scott Ruckh