Score:0

Unable to Automate Mail/Server Sync Using doveadm

nf flag

I'm trying to migrate emails using dovecot's: doveadm sync -1 command.

I have created a file of email addresses (usernames) that I'd like to iterate through and I can do this; however, each time I need to enter the root password for the receiving server. I've gone through documentation for a few days now, but can't find anything to set this up without using IMAP syncing. I'm just trying to automate a backup service for a second server to hold an archive. Any direction is appreciated.

Here's the command I'm using (on the existing/working server): doveadm sync -1 -u [email protected] remote:mail2.myserver.com

here's what comes up:

[email protected]'s password:

Once I manually type in the password, it works.

The issue is that I have dozens of email addresses and need to automate this.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.