Hi ![]()
I’m currently tinkering with the development edition (v5-dev — 4.9.92-dev.20251121093310) of the Community Edition, running on Ubuntu 24.04.3 LTS (noble). I have the sendmail binary from Postfix — which allegedly is ‘compatible’ with the majority real sendmail’s parameters, and, indeed, that has been the case for 2 or 3 decades — but Ubuntu prefers to put it under /usr/sbin/sendmail instead.
Obviously, I can place a symlink (and it sort of works), but how to do this properly? I have some machines with user-level permissions only, where I can call sendmail easily enough but not make a symbolic link to it — it requires the correct path to be in place. (Don’t ask. Some systems are like that. Thus, the ability to change it from the configuration file!)
I tried to send a test email from the UI, but stumbled upon this warning:
WARNING: Default executable path is /usr/bin/sendmail. If you need to change it, please make sure to set the ‘defaults > sendmail’ key in your pydio.json configuration file.
I’m afraid those instructions are a bit cryptic for me!
In the pydio.json configuration file, I’ve got:
"pydio.grpc.mailer": {
"from": "valid-address@my-server.tld,
"fromCtl": "default",
"fromName": "Pydio Maintenance",
"sender": {
"@value": "sendmail"
},
"valid": true
},
I suppose that @value is just the selection made on the UI, i.e., that I wish Cells to use the sendmail subsystem.
But the warning message hints at the existence of a defaults > sendmail key. Hmm. There certainly are a lot of defaults in there, under, well, "defaults":, but no ‘sendmail key’.
Should I simply place something there, say, before "sites" (to keep everything nicely ordered alphabetically!), simply like this:
"defaults": [...]
"sendmail": "/usr/sbin/sendmail",
"sites": [
...
Or perhaps:
"defaults": [...]
"sendmail": {
"key": "/usr/sbin/sendmail",
},
"sites": [
...
How exactly is this warning message to be interpreted? (and perhaps the revised manual for v5 might include that)
Thanks in advance! ![]()