You are here
Michael Schwartz - Thu, 2021/06/03 - 17:05
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.
Forum:
Hmm, there should definitely be something in /var/mail/root!?
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.
I've now tested and can't reproduce?
I've finally circled back to test this myself to see if I could reproduce your issue. I launched an unpriveledged LXC container of our v16.1 Observium appliance on Proxmox.
After initial install, within Confconsole, I configured it to use my (personal) SendinBlue account (I created a new SMTP key within the SMTP tab of the SMTP & API section).
Then I tested as per your notes. Here's what I got:
And not only did the test appear to work correctly within my server; the test email arrived in my inbox too!
So I'm a bit unsure why my experience was so radically different to yours?!
Could you please confirm which version your appliance is? If you're not sure, please post the output of:
The only other thing that occurs to me is that perhaps there have been some config and/or package changes that have broken postfix in your appliance? Perhaps it's worth migrating to a new appliance? Let me know if this is an option for you and I can give you some adive on the easy way to do that.
Add new comment