Hello people,I am trying to setup sogo for my small team. What I managed to do is to setup a leightweight ldap (lldap) and connect it to my sogo. Since the user basis is the same there as in my mail server, that is connected via IMAP, I can instantly read the mails in SOGo, which is quite nice. Whats not working is the SMTP. When I send an E-Mail, I get an auth error. In the SMTP log I see, that the AUTH plain does not send any user/pass parameter. How can I make SOGO do that?
The goal is, that a user can simply send an email in their name over the external SMTP server. I do not want to burden myself to host a custom SMTP, since we already have the other one.
This is the log: ```S: <SMTP-Reply: code=220 line='kundenserver.de (mreue011) Nemesis ESMTP Service ready'>
C: EHLO 8fa13e4caad7 S: <SMTP-Reply: code=250 line='SIZE 141557760'> S: size extension supported. S: plain auth extension supported. C: AUTH plain 2025-05-13 15:28:04.541 sogod[176:176] SMTP: reply has invalid format (334) C: QUIT S: <SMTP-Reply: code=501 line='Syntax error in parameters or arguments'> ```And this is my shortened and simplified configuration. I am open for any hint!
```
{
// MYSQL database connection
SOGoProfileURL =
"mysql://sogo:foo@sogo-db:3306/sogo/sogo_user_profile";
OCSFolderInfoURL =
"mysql://sogo:foo@sogo-db:3306/sogo/sogo_folder_info";
OCSSessionsFolderURL =
"mysql://sogo:foo@sogo-db:3306/sogo/sogo_sessions_folder";
OCSEMailAlarmsFolderURL =
"mysql://sogo:foo@sogo-db:3306/sogo/sogo_alarms_folder";
OCSAdminURL = "mysql://sogo:foo@sogo-db:3306/sogo/sogo_admin";
SOGoUserSources = (
{
type = ldap;
CNFieldName = cn;
SearchFieldNames = ("mail", "cn", "uid", "displayname");
IDFieldName = cn;
UIDFieldName = uid;
baseDN = "ou=people,dc=domain,dc=de";
bindDN = "cn=admin,ou=people,dc=domain,dc=de";
bindPassword = "pass";
bindAsCurrentUser = YES;
bindFields = (uid);
canAuthenticate = YES;
displayName = "People";
hostname = "ldap://lldap:3890";
id = people;
listRequiresDot = NO;
isAddressBook = YES;
}
);
SOGoMailDomain = "ionos.de";
SOGoMailingMechanism = smtp;
SOGoSMTPServer = "smtps://smtp.ionos.de:465/";
SOGoSMTPAuthenticationType = "PLAIN";
SOGoIMAPServer = "imaps://imap.ionos.de:993/";
SOGoSieveScriptsEnabled = NO;
SOGoVacationEnabled = NO;
SOGoForwardEnabled = NO;
SOGoLanguage = "German";
SOGoTimeZone = "Europe/Berlin";
SOGoPageTitle = "Mail";
SOGoLoginTitle = "Willkommen!";
SOGoMailSpoolPath = "/var/spool/sogo";
SOGoAppointmentSendEMailNotifications = YES;
SOGoEnableEMailAlarms = YES;
SOGoNotifyOnExternalModifications = YES;
}
```
Cheers
Pfennig
OpenPGP_0xBE953C47540B1F0F.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
