- Group Reviewers
- rKd16279cce742: Create default folders in imap
rKb8e5e644a04e: Create default folders in imap
rKd7f345fbad5f: Create default folders in imap
rK1494a9cfb7b7: Create default folders in imap
rK4674742e8f04: Create default folders in imap
rK333041595a4b: Create default folders in imap
Regarding the configuration; I don't think it makes sense to attempt to stuff this into the environment, so I would rely on the overlay config mechanism and add the imap.php config file to the overlays where we want to change that configuration.
The default set of folders will not make always sense. How do you disable the feature, or redefine the set? Replacing the while imap.php file is not the best option.
I'd remove that info() call.
@return without s.
"Failed to create mailbox Trash" might not be very helpful in log if there's no context. I'd remove this error() call. Exception should get logged with some context.