[GH-ISSUE #700] Problems with distribution lists after CSV import #651

Closed
opened 2026-02-27 11:12:50 +03:00 by kerem · 7 comments
Owner

Originally created by @bennidi on GitHub (Mar 13, 2015).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/700

I tried the csv import for identities and used it to create accounts. Then I decided to replace some of the accounts with distribution lists. I deleted the accounts in the admin interface and used the csv to import them as distribution lists.

The import always created them as aliases instead of distribution list. The same happens when I try to add a distribution list via admin interface. It is now not possible anymore to create distribution lists at all. It seems that the csv import broke the whole thing.

The option to delete accounts was turned off but since I never logged in they were never created and the directory where accounts are stored does not show them.

All of that happened with 1.2.0. I upgraded to 1.2.1 using pip but the problem persists.

Originally created by @bennidi on GitHub (Mar 13, 2015). Original GitHub issue: https://github.com/modoboa/modoboa/issues/700 I tried the csv import for identities and used it to create accounts. Then I decided to replace some of the accounts with distribution lists. I deleted the accounts in the admin interface and used the csv to import them as distribution lists. The import always created them as aliases instead of distribution list. The same happens when I try to add a distribution list via admin interface. It is now not possible anymore to create distribution lists at all. It seems that the csv import broke the whole thing. The option to delete accounts was turned off but since I never logged in they were never created and the directory where accounts are stored does not show them. All of that happened with 1.2.0. I upgraded to 1.2.1 using pip but the problem persists.
kerem closed this issue 2026-02-27 11:12:51 +03:00
Author
Owner

@tonioo commented on GitHub (Mar 18, 2015):

Have you tried to manually remove remaining accounts? (since the option was turned off)

<!-- gh-comment-id:82933118 --> @tonioo commented on GitHub (Mar 18, 2015): Have you tried to manually remove remaining accounts? (since the option was turned off)
Author
Owner

@bennidi commented on GitHub (Mar 18, 2015):

Yes, there are no unused/old accounts left. Neither in the database nor on the file system.

<!-- gh-comment-id:82936721 --> @bennidi commented on GitHub (Mar 18, 2015): Yes, there are no unused/old accounts left. Neither in the database nor on the file system.
Author
Owner

@tonioo commented on GitHub (Mar 18, 2015):

Can you provide the CSV file you used ?

<!-- gh-comment-id:82938521 --> @tonioo commented on GitHub (Mar 18, 2015): Can you provide the CSV file you used ?
Author
Owner

@bennidi commented on GitHub (Mar 18, 2015):

No, I can't. I used different files with incorrect formats because I did
not understand the explanations. That's why I added a PR to include
examples :) I know that I had variations where I added a semicolon at the
end which caused the parser to hang.

Now the entire functionality of distribution lists and forwards seems to be
broken.

2015-03-18 13:07 GMT+01:00 Antoine Nguyen notifications@github.com:

Can you provide the CSV file you used ?


Reply to this email directly or view it on GitHub
https://github.com/tonioo/modoboa/issues/700#issuecomment-82938521.

<!-- gh-comment-id:82954875 --> @bennidi commented on GitHub (Mar 18, 2015): No, I can't. I used different files with incorrect formats because I did not understand the explanations. That's why I added a PR to include examples :) I know that I had variations where I added a semicolon at the end which caused the parser to hang. Now the entire functionality of distribution lists and forwards seems to be broken. 2015-03-18 13:07 GMT+01:00 Antoine Nguyen notifications@github.com: > Can you provide the CSV file you used ? > > — > Reply to this email directly or view it on GitHub > https://github.com/tonioo/modoboa/issues/700#issuecomment-82938521.
Author
Owner

@vingeni commented on GitHub (Mar 30, 2015):

i think that a distribution list with a single recipient is treated as an alias. If you have more than two recipient, then it is considered as a distribution list.

<!-- gh-comment-id:87768668 --> @vingeni commented on GitHub (Mar 30, 2015): i think that a distribution list with a single recipient is treated as an alias. If you have more than two recipient, then it is considered as a distribution list.
Author
Owner

@tonioo commented on GitHub (Mar 31, 2015):

That's true. @bennidi Have you checked if there are more than one recipient inside the created distribution lists ?

<!-- gh-comment-id:88056744 --> @tonioo commented on GitHub (Mar 31, 2015): That's true. @bennidi Have you checked if there are more than one recipient inside the created distribution lists ?
Author
Owner

@tonioo commented on GitHub (Jun 11, 2015):

This issue was moved to modoboa/modoboa-admin#23

<!-- gh-comment-id:111059345 --> @tonioo commented on GitHub (Jun 11, 2015): This issue was moved to modoboa/modoboa-admin#23
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#651
No description provided.