search for: virtual_passwd

Displaying 9 results from an estimated 9 matches for "virtual_passwd".

2020 Feb 17
2
Question about noreplicate flag
...etup replication between two servers. The e-mail accounts on both servers intersect but are not the same. In dovecot.conf (both are identical except one user /var/mail and the other uses /srv/vmail) I have: --<<-- userdb { driver = passwd-file args = username_format=%Lu /etc/dovecot/virtual_passwd default_fields = uid=vmail gid=vmail home=/var/mail/%d/%n } passdb { driver = passwd-file args = scheme=SHA512-CRYPT username_format=%Lu /etc/dovecot/virtual_passwd } -->>-- i.e. I use a passwd-like database. For the non-overlapping accounts in both servers I want to prevent repl...
2020 Jun 05
3
Doveadm Backup issues
...can use dsync for that, e.g.: DEST=mdbox:/path/to/$MAILBOX/mdbox dsync -u $MAILBOX backup $DEST where DEST is in "mail location" format (could also be "maildir:/path/to/Maildir") and $MAILBOX is a dovecot (virtual) user. My backup script does this: USERS=$(cat /etc/dovecot/virtual_passwd | cut -d: -f1) for MAILBOX in $USERS; do DEST=mdbox:/encrypted/snap_mail/$MAILBOX/mdbox dsync -v -u $MAILBOX backup $DEST done This runs periodically and does the local "backup". Another server picks that up, also periodically, using rsync, which is the real backup. C...
2020 Feb 17
2
Question about noreplicate flag
...servers intersect but are not the same. >> >> In dovecot.conf (both are identical except one user /var/mail and the >> other uses /srv/vmail) I have: >> >> --<<-- >> userdb { >> ? driver = passwd-file >> ? args = username_format=%Lu /etc/dovecot/virtual_passwd >> ? default_fields = uid=vmail gid=vmail home=/var/mail/%d/%n >> } >> >> passdb { >> ? driver = passwd-file >> ? args = scheme=SHA512-CRYPT username_format=%Lu >> /etc/dovecot/virtual_passwd >> } >> -->>-- >> >> i.e. I use a p...
2020 Feb 17
0
Question about noreplicate flag
...he e-mail accounts > on both servers intersect but are not the same. > > In dovecot.conf (both are identical except one user /var/mail and the > other uses /srv/vmail) I have: > > --<<-- > userdb { > ? driver = passwd-file > ? args = username_format=%Lu /etc/dovecot/virtual_passwd > ? default_fields = uid=vmail gid=vmail home=/var/mail/%d/%n > } > > passdb { > ? driver = passwd-file > ? args = scheme=SHA512-CRYPT username_format=%Lu > /etc/dovecot/virtual_passwd > } > -->>-- > > i.e. I use a passwd-like database. > > For the non-o...
2020 Feb 17
2
Question about noreplicate flag
...;>> In dovecot.conf (both are identical except one user /var/mail and the >>>> other uses /srv/vmail) I have: >>>> >>>> --<<-- >>>> userdb { >>>> ? driver = passwd-file >>>> ? args = username_format=%Lu /etc/dovecot/virtual_passwd >>>> ? default_fields = uid=vmail gid=vmail home=/var/mail/%d/%n >>>> } >>>> >>>> passdb { >>>> ? driver = passwd-file >>>> ? args = scheme=SHA512-CRYPT username_format=%Lu >>>> /etc/dovecot/virtual_passwd >>&...
2020 Feb 17
0
Question about noreplicate flag
...same. >>> >>> In dovecot.conf (both are identical except one user /var/mail and the >>> other uses /srv/vmail) I have: >>> >>> --<<-- >>> userdb { >>> ? driver = passwd-file >>> ? args = username_format=%Lu /etc/dovecot/virtual_passwd >>> ? default_fields = uid=vmail gid=vmail home=/var/mail/%d/%n >>> } >>> >>> passdb { >>> ? driver = passwd-file >>> ? args = scheme=SHA512-CRYPT username_format=%Lu >>> /etc/dovecot/virtual_passwd >>> } >>> -->&g...
2020 Jul 17
2
Stuck here - help please
Hi Gerald, Thank you for the details. As per your suggestion, I have made the changes to dovecot.conf file. Still I don't see any replication is happening. Please see the dovecot.conf file. I do not see "/etc/dovecot/conf.d/12-replication.conf" in my servers. So I had put everything in the dovecot.conf file only. Please see the complete data in it below. The below data is in
2020 Jun 07
0
Doveadm Backup issues
On 05 Jun 2020, at 17:09, Bernardo Reino <reinob at bbmk.org> wrote: > USERS=$(cat /etc/dovecot/virtual_passwd | cut -d: -f1) Is that a standard file? It's not one I have. I would use (not that I have, but it seem like the way to get a list of users) USERS=$( doveadm user '*' ) -- You start a conversation you can't even finish it You're talkin' a lot, but you're not sayi...
2020 Jun 02
2
Doveadm Backup issues
Hi, I'm trying to use doveadm backup but I'm having a few issues. When trying locally: `doveadm backup -D -A maildir:/usr/local/backup` It results that no mailbox is separated by user - all seems to sync on the same folder, messing up with the folder structure of the original maildir. When trying remotely: `doveadm backup -D -A -N ssh -i mykey root at myremotebackup.com:/backup