mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
For now, it is not necessary to make a distinction between "loginname" and "address".
The definitive format is : "address;password;first name;last name". see #191
This commit is contained in:
+2
-2
@@ -349,9 +349,9 @@ class Mailbox(DatesAware):
|
||||
|
||||
:param line: a list containing the expected information
|
||||
"""
|
||||
if len(line) < 5:
|
||||
if len(line) < 4:
|
||||
raise AdminError(_("Invalid line"))
|
||||
mailbox, domname = split_mailbox(line[4])
|
||||
mailbox, domname = split_mailbox(line[0])
|
||||
self.address = mailbox
|
||||
try:
|
||||
self.domain = Domain.objects.get(name=domname)
|
||||
|
||||
Reference in New Issue
Block a user