Portál AbcLinuxu, 18. listopadu 2025 19:20
https://mail.mojedomena.cz:8080/SOGo(protože z jistých důvodů mám na routeru přesměrovaný port 8080 na vnitřní 443). Stránka se zobrazí, dojde k přihlášení, ale v okamžiku, kdy by se měl webmail otevřít, dojde k chybě: stránka nebyla nalezena. V adresním řádku prohlížeče je:
https://mail.mojedomena.cz:8080/(null):/SOGo/so/jmeno_uzivatele/MailPokud ručně odstraním
(null):/vše funguje správně. Nemůžu zjistit, kde se tam ten řetězec navíc bere. Díky za případné rady. Zdraví JR
{
/*
* Generated by Zentyal
*
* NOTE:
* ~/GNUstep/Defaults/.GNUstepDefaults has precedence over this
* file for some parameters
*
*/
/* Database configuration (mysql:// or postgresql://) */
SOGoProfileURL = "mysql://sogo:N_9xoh2D@127.0.0.1:3306/sogo/sogo_user_profile";
OCSFolderInfoURL = "mysql://sogo:N_9xoh2D@127.0.0.1:3306/sogo/sogo_folder_info";
OCSSessionsFolderURL = "mysql://sogo:N_9xoh2D@127.0.0.1:3306/sogo/sogo_sessions_folder";
/* Mail */
SOGoDraftsFolderName = Drafts; // User can override parameter
SOGoSentFolderName = Sent; // User can override parameter
SOGoTrashFolderName = Trash; // User can override parameter
SOGoIMAPServer = 127.0.0.1:143;
SOGoSieveServer = sieve://127.0.0.1:4190;
SOGoSMTPServer = 127.0.0.1:25;
SOGoMailDomain = ssp.local;
SOGoMailingMechanism = smtp;
SOGoForceExternalLoginWithEmail = YES;
SOGoMailSpoolPath = /var/spool/sogo;
NGImap4ConnectionStringSeparator = "/";
SOGoMailCustomFromEnabled = YES;
/* Notifications */
SOGoAppointmentSendEMailNotifications = YES;
SOGoACLsSendEMailNotifications = NO;
//SOGoFoldersSendEMailNotifications = NO;
/* Authentication */
SOGoPasswordChangeEnabled = YES;
/* LDAP authentication */
SOGoUserSources = (
{
type = ldap;
id = sambaLogin;
displayName = "SambaLogin";
canAuthenticate = YES;
CNFieldName = cn;
IDFieldName = cn;
UIDFieldName = sAMAccountName;
hostname = "ldap://127.0.0.1";
baseDN = "DC=ssp,DC=local";
bindDN = "CN=zentyal-mail-supr,CN=Users,DC=ssp,DC=local";
bindPassword = "Z5TIFNkVyPGVYwPGfiFU";
bindFields = (sAMAccountName, mail);
filter = "(mail='*')";
MailFieldNames = (mail, otherMailbox);
},
{
type = ldap;
id = sambaShared;
displayName = "Shared Addressbook";
canAuthenticate = NO;
isAddressBook = YES;
CNFieldName = cn;
IDFieldName = mail;
UIDFieldName = mail;
hostname = "ldap://127.0.0.1";
baseDN = "DC=ssp,DC=local";
bindDN = "CN=zentyal-mail-supr,CN=Users,DC=ssp,DC=local";
bindPassword = "Z5TIFNkVyPGVYwPGfiFU";
filter = "((NOT isCriticalSystemObject='TRUE') AND (mail=\'*\') AND (NOT objectClass=contact))";
MailFieldNames = (mail, otherMailbox);
},
{
type = ldap;
id = sambaContacts;
displayName = "Shared Contacts";
canAuthenticate = NO;
isAddressBook = YES;
CNFieldName = cn;
IDFieldName = mail;
UIDFieldName = mail;
hostname = "ldap://127.0.0.1";
baseDN = "DC=ssp,DC=local";
bindDN = "CN=zentyal-mail-supr,CN=Users,DC=ssp,DC=local";
bindPassword = "Z5TIFNkVyPGVYwPGfiFU";
filter = "((((objectClass=person) AND (objectClass=contact) AND ((uidNumber>=2000) OR (mail=\'*\'))) AND (NOT isCriticalSystemObject='TRUE') AND (NOT showInAdvancedViewOnly='TRUE') AND (NOT uid=Guest)) OR (((objectClass=group) AND (gidNumber>=2000)) AND (NOT isCriticalSystemObject='TRUE') AND (NOT showInAdvancedViewOnly='TRUE')))";
mapping = {
displayname = ("cn");
};
MailFieldNames = (mail, otherMailbox);
}
);
/* Web Interface */
SOGoPageTitle = "Zentyal Webmail";
SOGoVacationEnabled = NO;
SOGoForwardEnabled = YES;
SOGoSieveScriptsEnabled = YES;
//SOGoMailAuxiliaryUserAccountsEnabled = YES;
//SOGoTrustProxyAuthentication = NO;
//SOGoXSRFValidationEnabled = YES;
/* General */
SOGoLanguage = English; // User can override parameter
SOGoTimeZone = Europe/Prague;
//SOGoCalendarDefaultRoles = (
// PublicDAndTViewer,
// ConfidentialDAndTViewer
//);
//SOGoSuperUsernames = (sogo1, sogo2); // This is an array - keep the parens!
//SxVMemLimit = 384;
//WOPidFile = "/var/run/sogo/sogo.pid";
//SOGoMemcachedHost = "/var/run/memcached.sock";
/* ActiveSync performance tuning */
/* Debug */
//SOGoDebugRequests = YES;
//SoDebugBaseURL = YES;
//ImapDebugEnabled = YES;
//LDAPDebugEnabled = YES;
//PGDebugEnabled = YES;
//MySQL4DebugEnabled = YES;
//SOGoUIxDebugEnabled = YES;
//WODontZipResponse = YES;
//WOLogFile = /var/log/sogo/sogo.log;
}
RequestHeader set "x-webobjects-server-url" "https://%{REQUEST_HOST}e:443"
, což jsem změnil na:
RequestHeader set "x-webobjects-server-url" "https://%{REQUEST_HOST}e"
Teď to funguje.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.