Forum archive
Sendmail in observium appliance not working
I am running the observium appliance from Proxmox as a unpriviledged container. Usually I havent had difficulty in postfix setup, but this one is stumping me.
Postfix configured via confconsole for both sendinblue and then after clearing settings gmail. In both cases the confconsole postfix setup routine replied smtp relay functioning and closed without an error. However, sendmail itself is not working. Using:
echo "Subject: sendmail test" | sendmail -v my@email.com
I got nothing. Even lacks any type of verbose output execpt "Mail Delivery Status Report will be mailed to <root>." except, the root mailbox is always empty. Any thoughts please as I do not want to go messing with the appliance too much for fear of breaking something I don't understand.
You aren't using LDAP integration with Postfix are you? If so, that may perhaps be the issue? (FWIW, it's not possible to use Postfix LDAP integration within an unpriviledged container & v16.x won't work as a priviledged container without a bit of work).
Otherwise, you are right. It should at least respond and there should be confirmation of mail sent in /var/mail/root. Although I'll need to set one up with SendInBlue before I can give you any further guidance. I'll respond ASAP, but unfortunately, it may not be until early next week...
Off the top of my head though, I don't think Gmail supports SAML username/password authentication anymore (IIRC it only support oAuth2 token authentication). And if your SendinBlue account is new, then you need to enable "Transactional Emails" within your account (sorry we need to document that more clearly). And that sometimes takes a little while before it works.