“SOGo sends an empty "AUTH PLAIN"”

 

That’s ok from the spec https://datatracker.ietf.org/doc/html/rfc4954#section-4

 

SOGo only send the AUTH PLAIN, server should reply with a code 334

Then sogo send the credentials.


So my guess is that your smtp server doesn’t support that. 

 

-- 

Quentin Hivert || Alinto || R&D Lead Developer 

19 Quai Perrache 69002 Lyon

 <http://www.alinto.com> www.alinto.com

 

From: [email protected] <[email protected]> On Behalf Of Pfennig
Sent: mercredi 14 mai 2025 16:38
To: qhivert ([email protected]) <[email protected]>
Subject: Re: [SOGo] External SMTP with user auth

 

Thank you for the input. Especially

> Yes I will use the email instead of the uid but with the user password still.

this is important to know. I was doubting that.
Unfortunately, it is still not working. I also tried setting the master user, 
but I am not sure, whether it works or not. How can I trigger an action, that 
would use the master user instead of the normal user?

As stated in my first message, SOGo sends an empty "AUTH PLAIN" request to the 
mail server. Is it possible to see the SOGo part of that interaction? Maybe the 
mail field or the password field is not properly set due to using LDAP?

Thanks in advance!

On 14/05/2025 09:13, qhivert ([email protected] <mailto:[email protected]> ) 
wrote:

“SOGoForceExternalLoginWithEmail parameter might be of interest. What is not 
clear to me from the documentation is whether, apart from using the primary 
email address of the user, it will also use the user's password to 
authenticate.”

 

Yes I will use the email instead of the uid but with the user password still.

 

-- 

Quentin Hivert || Alinto || R&D Lead Developer 

19 Quai Perrache 69002 Lyon

 <http://www.alinto.com> www.alinto.com

 

From:  <mailto:[email protected]> [email protected]  
<mailto:[email protected]> <[email protected]> On Behalf Of Odhiambo 
Washington
Sent: mardi 13 mai 2025 18:42
To:  <mailto:[email protected]> [email protected]
Subject: Re: [SOGo] External SMTP with user auth

 

Hi,

If your SMTP server is external and requires authentication, then see:

 

https://www.sogo.nu/files/docs/SOGoInstallationGuide.html#_smtp_server_configuration

 

SOGoForceExternalLoginWithEmail parameter might be of interest. What is not 
clear to me from the documentation is whether, apart from using the primary 
email address of the user, it will also use the user's password to authenticate.

 

But you can use a master user as the documentation says:

```

If your mail server requires use of SMTP AUTH, you can use the following 
parameters in the configuration file :

SOGoSMTPMasterUserEnabled = YES;
SOGoSMTPMasterUserUsername = "foo";
SOGoSMTPMasterUserPassword = "bar";

```

 

 

On Tue, May 13, 2025 at 6:52 PM Pfennig <[email protected] <mailto:[email protected]> > 
wrote:

Hi!

I am not using postfix, but planned to communicate directly with my 
external (hosted) mail server via SMTP. The credentials are the same 
everywhere and seem to be working, since the IMAP is working and I can 
see my emails.

But maybe I am misunderstanding something. No mails can be send in 
general, also no notification with the SMTPMasterUser...

The SMTP is tested and works with PLAIN auth with the credentials, that 
I also use for login.

On 13/05/2025 17:23, qhivert ([email protected] <mailto:[email protected]> ) 
wrote:
> Hello,
> Could you share the postfix log?
> Is the username/password for your smtp the same as for your ldap/imap server?
>




 

-- 

Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223

 In an Internet failure case, the #1 suspect is a constant: DNS.
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)

[How to ask smart questions:  
<http://www.catb.org/~esr/faqs/smart-questions.html> 
http://www.catb.org/~esr/faqs/smart-questions.html]

Reply via email to