Here is the result of occ config:list system
.
{
“system”: {
“log_type”: “file”,
“logfilemode”: 416,
“loglevel”: 2,
“syslog_tag”: “Nextcloud”,
“datadirectory”: “REMOVED SENSITIVE VALUE”,
“updatechecker”: false,
“check_for_working_htaccess”: true,
“asset-pipeline.enabled”: false,
“assetdirectory”: “/var/lib/nextcloud”,
“preview_libreoffice_path”: “/usr/bin/libreoffice”,
“apps_paths”: [
{
“path”: “/usr/share/nextcloud/apps”,
“url”: “/apps”,
“writable”: false
},
{
“path”: “/var/lib/nextcloud/apps”,
“url”: “/apps-appstore”,
“writable”: true
}
],
“passwordsalt”: “REMOVED SENSITIVE VALUE”,
“secret”: “REMOVED SENSITIVE VALUE”,
“trusted_domains”: [
“localhost”,
“REMOVED SENSITIVE VALUE”
],
“dbtype”: “mysql”,
“version”: “25.0.3.2”,
“overwrite.cli.url”: “http://localhost”,
“dbname”: “REMOVED SENSITIVE VALUE”,
“dbhost”: “REMOVED SENSITIVE VALUE”,
“dbport”: “”,
“dbtableprefix”: “oc_”,
“mysql.utf8mb4”: true,
“dbuser”: “REMOVED SENSITIVE VALUE”,
“dbpassword”: “REMOVED SENSITIVE VALUE”,
“installed”: true,
“instanceid”: “REMOVED SENSITIVE VALUE”,
“mail_smtpmode”: “sendmail”,
“mail_sendmailmode”: “pipe”,
“mail_from_address”: “REMOVED SENSITIVE VALUE”,
“mail_domain”: “REMOVED SENSITIVE VALUE”,
“default_phone_region”: “fr”
}
}
I changed the “mail_sendmailmode” to “pipe” which is the only mode for which the mail test answer that a mail has been sent… Unfortunately I can see in the maillog file that the mail cannot be sent because the smtp relay cannot be opened (“permission denied”)…
I tried, without any success to add “mail_smtpdebug” => true;
I use ssmtp on this server and it works fine… I suspect that the nextcloud config somewhere changes my login name to my email provider with the name “apache” but I cannot see if it is the problem, the smtpdebug does not add anything to the maillog.
Moreover the nextcloud.log file is unreadable!
Thank you for lights.
F.P.