Hi, I have configured the email-server (smtp, ssl/tls) and the test mail arrives in my mailbox just fine. Now I would like to send emails from a script or from the command line, with the sendmail command (echo “Subject: test” | sendmail -v firstname.lastname@example.org), but do not succeed. There is no error message, but no mail arrives either. Which command is used to send the testmail? Where is the error in the command I am using?
it’s good to know that Nextcloud use a different program. Actually, I do too (I should have said so!), since I have ssmtp installed, which emulates sendmail. But it seems that there is something wrong in my configuration, and it is a great help to know that Nextcloud does not use the sendmail command at all!