mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Make sure to use local address when generating offlineimap config
By using mailbox instead of username for local account configuration, we ensure that the username is valid, even if it was renamed. fix #2980
This commit is contained in:
@@ -10,7 +10,7 @@ remoterepository = Remote_{{ migration }}
|
||||
type = IMAP
|
||||
ssl = false
|
||||
remotehost = localhost
|
||||
remoteuser = {{ migration }}
|
||||
remoteuser = {{ migration.mailbox }}
|
||||
remotepass = {{ migration.password }}
|
||||
{% if imap_create_folders == False %}
|
||||
createfolders = False
|
||||
|
||||
Reference in New Issue
Block a user