chore(sendmail): disable sendmail for now

This commit is contained in:
Hivert Quentin
2026-08-11 17:34:50 +02:00
parent 1caa25711f
commit f0c23407bf
2 changed files with 3 additions and 9 deletions
+1 -6
View File
@@ -72,7 +72,7 @@ following:
* Database server (MariaDB, MySQL, PostgreSQL or Oracle)
* LDAP server (OpenLDAP, Novell eDirectory, Microsoft Active Directory
and others) 
* SMTP server (Postfix, Sendmail and others)
* SMTP server (Postfix)
* IMAP server (Courier, Cyrus IMAP Server, Dovecot and others)
If you plan to use ActiveSync, an IMAP server supporting the ACL,
@@ -2174,7 +2174,6 @@ The following table describes the related parameters.
are:
[options="compact"]
* `sendmail` - to use the sendmail binary
* `smtp` - to use the SMTP protocol
|D |SOGoSMTPServer
@@ -2202,10 +2201,6 @@ Current, Are supported `PLAIN` and 'xoauth2' for openid.
|D |SOGoSMTPMasterUserPassword
|SMTP account password for master account (`SOGoSMTPMasterUserEnabled` enabled).
|S |WOSendMail
|The path of the sendmail binary.
Defaults to `/usr/lib/sendmail`.
|D |SOGoForceExternalLoginWithEmail
|Parameter used to specify if, when logging in to the SMTP server, the
+2 -3
View File
@@ -304,11 +304,10 @@
NSString *mailingMechanism;
mailingMechanism = [self stringForKey: @"SOGoMailingMechanism"];
if (!([mailingMechanism isEqualToString: @"sendmail"]
|| [mailingMechanism isEqualToString: @"smtp"]))
if (![mailingMechanism isEqualToString: @"smtp"])
{
[self logWithFormat: @"mechanism '%@' is invalid and"
@" should be set to 'sendmail' or 'smtp' instead",
@" should be set to 'smtp' instead",
mailingMechanism];
mailingMechanism = nil;
}