On 21 Oct 2014, at 11:27, Ralf Hildebrandt wrote:
> But how can I "lock" a user during migration?
>
> The plan is:
>
>
> * lock the user
> * kick the user (doveadm kick)
> * migrate mailbox (some rsync magic)
> * unlock the user again
Alternative is to use "doveadm sync" and you d
On October 22, 2014 2:22:52 PM Ralf Hildebrandt wrote:
* Benny Pedersen :
Not my domain :)
See my "lazy" comment above.
If active state 2, then update postfix maps to query this, with a key
result of defer if permit :)
And dovecot auth to include active 1 or 2, then you manage the sql
* Benny Pedersen :
>
> >for the "locked" user. But I'm lazy and would prefer a single place /
> >a single query to lock the account
>
> Setup postfix to check the recipient account is active, then set a
> temp new password while move mail to the new server, when its done
> change password back to
for the "locked" user. But I'm lazy and would prefer a single place /
a single query to lock the account
Setup postfix to check the recipient account is active, then set a temp new
password while move mail to the new server, when its done change password
back to user, and setup postfix to kn
Am 21.10.2014 um 20:37 schrieb Ralf Hildebrandt:
> * Ralf Hildebrandt :
>
>> 2) defer LMTP delivery somehow (Postfix is talking to dovecot's LMTP server)
>
> I could of course put a mysql: query into postfix which would return
>
> user@domain retry:
>
> for the "locked" user. But I'm lazy and
Hi,
Am 21.10.2014 20:37, schrieb Ralf Hildebrandt:
* Ralf Hildebrandt :
2) defer LMTP delivery somehow (Postfix is talking to dovecot's LMTP server)
I could of course put a mysql: query into postfix which would return
user@domain retry:
for the "locked" user. But I'm lazy and would prefer
* Ralf Hildebrandt :
> 2) defer LMTP delivery somehow (Postfix is talking to dovecot's LMTP server)
I could of course put a mysql: query into postfix which would return
user@domain retry:
for the "locked" user. But I'm lazy and would prefer a single place /
a single query to lock the account
I'm preparing a migration of several mailboxes to another machine.
The different useraccounts are distributed to different backend
machines by means of a dovecot LMTP/IMAP/POP proxy.
Proxying is working really well (now that the kernel does as it should).
But how can I "lock" a user during migrat