Thanks Andreas, It works
De: "Andreas Vögele" <[email protected]> À: [email protected] Envoyé: Mardi 19 Août 2025 12:59:34 Objet: Re: [SOGo] Sogo in a unpriviledged LXC container? Hello PmGS, I use SOGo in an unpriviledged LXC container with these mail settings: SOGoMailingMechanism = "smtp"; SOGoSMTPServer = "smtps://smtp.mydomain"; # My SMTP server listens on port 465 in addition to 587 SOGoSMTPAuthenticationType = PLAIN; SOGo passes the logged in user's name and password to the SMTP server. If your SMTP server expects mail addresses instead of login names, you need to set SOGoForceExternalLoginWithEmail to YES. I do not know the SOGoSMTPUser and SOGoSMTPPassword settings. As far as I can see, SOGo always uses the logged in user's credentials to send mails from the web interface. I use the following settings for notifications and reminders though: SOGoSMTPMasterUserEnabled = YES; SOGoSMTPMasterUserUsername = "sogo"; SOGoSMTPMasterUserPassword = "my_secret"; Check your SMTP server's logs for error messages. I do not use Postfix, but my mailer logs the name that SOGo passes to the mailer for authentication. Example: 2025-08-19 11:54:17 [...] <= my_email@mydomain [...] A=PLAIN:my_login Kind regards, Andreas Hello all, I insalled Sogo [...] in the same unpriviledged LXC container. [...] Doing this I'am unable to send email from Sogo, I get "Athentification failure" but I can from Roundcude. The smtp server conf in my sogo.conf are : SOGoMailingMechanism = smtp; SOGoSMTPServer = "smtp://127.0.0.1:587/tls=YES&tlsVerifyMode=allowInsecureLocalhost"; SOGoForceExternalLoginWithEmail = NO; SOGoSMTPAuthenticationType = "PLAIN"; //SOGoSMTPUser = "%u"; SOGoSMTPUser = "my_email@mydomain"; //SOGoSMTPPassword = "%p"; SOGoSMTPPassword = "my_pwd"; [...] Should I conclude that Sogo does not work in a (unpriviledged*) LXC?
