I've got a really intresting login problem that has me at a stand still.
I can log in via the web, but I can not login via zimbra desktop. It gives me a "Account authentication failed. Please check username and password." error.
I'm using virtual hosts so that apache can still run. I think it has to do with that, and the MtaAuthHost. I currently have it set to the hostname of the system, because apache's virtual host is the hostname...
Howevery, when I go to setup an account in zimbra desktop I try to use both mail.domain.com, and server.domain.com. Neither works.
Anyway, here is my gs, and below that is the zimbra.conf file for apache
zmprov gs server.domain.com
# name server.domain.com
cn: server.domain.com
objectClass: zimbraServer
zimbraAdminPort: 7071
zimbraAdminURL: /zimbraAdmin
zimbraAttachmentsIndexedTextLimit: 1048576
zimbraBackupAutoGroupedInterval: 1d
zimbraBackupAutoGroupedNumGroups: 7
zimbraBackupAutoGroupedThrottled: FALSE
zimbraBackupMode: Standard
zimbraBackupReportEmailSubjectPrefix: ZCS Backup Report
zimbraBackupSkipBlobs: FALSE
zimbraBackupSkipHsmBlobs: FALSE
zimbraBackupSkipSearchIndex: FALSE
zimbraBackupTarget: /opt/zimbra/backup
zimbraCalendarCalDavClearTextPasswordEnabled: TRUE
zimbraCalendarCalDavDefaultCalendarId: 10
zimbraCalendarRecurrenceDailyMaxDays: 730
zimbraCalendarRecurrenceMaxInstances: 0
zimbraCalendarRecurrenceMonthlyMaxMonths: 360
zimbraCalendarRecurrenceOtherFrequencyMaxYears: 1
zimbraCalendarRecurrenceWeeklyMaxWeeks: 520
zimbraCalendarRecurrenceYearlyMaxYears: 100
zimbraClusterType: none
zimbraContactHiddenAttributes: dn,zimbraAccountCalendarUserType,zimbraCalResType, zimbraCalResLocationDisplayName,zimbraCalResCapaci ty,zimbraCalResContactEmail
zimbraContactRankingTableRefreshInterval: 7d
zimbraCreateTimestamp: 20100601193212Z
zimbraDatabaseSlowSqlThreshold: 2s
zimbraFileUploadMaxSize: 10485760
zimbraFreebusyPropagationRetryInterval: 1m
zimbraHsmAge: 30d
zimbraHsmPolicy: message,document:before:-30days
zimbraHttpDebugHandlerEnabled: TRUE
zimbraHttpNumThreads: 250
zimbraHttpSSLNumThreads: 50
zimbraId: cc3cb1c4-5290-48d0-ba86-03f329c44227
zimbraImapBindOnStartup: TRUE
zimbraImapBindPort: 143
zimbraImapCleartextLoginEnabled: FALSE
zimbraImapExposeVersionOnBanner: FALSE
zimbraImapNumThreads: 200
zimbraImapProxyBindPort: 7143
zimbraImapSSLBindOnStartup: TRUE
zimbraImapSSLBindPort: 993
zimbraImapSSLProxyBindPort: 7993
zimbraImapSSLServerEnabled: TRUE
zimbraImapSaslGssapiEnabled: FALSE
zimbraImapServerEnabled: TRUE
zimbraLmtpBindOnStartup: FALSE
zimbraLmtpBindPort: 7025
zimbraLmtpExposeVersionOnBanner: FALSE
zimbraLmtpNumThreads: 20
zimbraLmtpPermanentFailureWhenOverQuota: FALSE
zimbraLmtpServerEnabled: TRUE
zimbraLogToSyslog: FALSE
zimbraMailClearTextPasswordEnabled: TRUE
zimbraMailContentMaxSize: 10240000
zimbraMailDiskStreamingThreshold: 1048576
zimbraMailFileDescriptorBufferSize: 4096
zimbraMailFileDescriptorCacheSize: 1000
zimbraMailMode: http
zimbraMailPort: 81
zimbraMailProxyPort: 8080
zimbraMailPurgeSleepInterval: 1m
zimbraMailRedirectSetEnvelopeSender: TRUE
zimbraMailReferMode: wronghost
zimbraMailSSLPort: 443
zimbraMailSSLProxyPort: 8443
zimbraMailURL: /zimbra
zimbraMailUncompressedCacheMaxBytes: 1073741824
zimbraMailUncompressedCacheMaxFiles: 5000
zimbraMailUseDirectBuffers: FALSE
zimbraMailboxMoveSkipBlobs: FALSE
zimbraMailboxMoveSkipHsmBlobs: FALSE
zimbraMailboxMoveSkipSearchIndex: FALSE
zimbraMemcachedBindPort: 11211
zimbraMemcachedClientBinaryProtocolEnabled: FALSE
zimbraMemcachedClientExpirySeconds: 86400
zimbraMemcachedClientHashAlgorithm: KETAMA_HASH
zimbraMemcachedClientTimeoutMillis: 10000
zimbraMessageCacheSize: 2000
zimbraMtaAntiSpamLockMethod: flock
zimbraMtaAuthEnabled: TRUE
zimbraMtaAuthHost: server.domain.com
zimbraMtaAuthTarget: TRUE
zimbraMtaAuthURL:
http://server.domain.com:81/service/soap/
zimbraMtaDnsLookupsEnabled: TRUE
zimbraMtaMyDestination: localhost
zimbraMtaMyNetworks: 127.0.0.0/8 192.168.2.0/24
zimbraMtaSaslAuthEnable: TRUE
zimbraMtaTlsAuthOnly: TRUE
zimbraMtaTlsSecurityLevel: may
zimbraNotebookFolderCacheSize: 1024
zimbraNotebookMaxCachedTemplatesPerFolder: 256
zimbraNotebookPageCacheSize: 10240
zimbraNotifyBindPort: 7035
zimbraNotifySSLBindPort: 7036
zimbraNotifySSLServerEnabled: TRUE
zimbraNotifyServerEnabled: TRUE
zimbraPop3BindOnStartup: TRUE
zimbraPop3BindPort: 110
zimbraPop3CleartextLoginEnabled: FALSE
zimbraPop3ExposeVersionOnBanner: FALSE
zimbraPop3NumThreads: 100
zimbraPop3ProxyBindPort: 7110
zimbraPop3SSLBindOnStartup: TRUE
zimbraPop3SSLBindPort: 995
zimbraPop3SSLProxyBindPort: 7995
zimbraPop3SSLServerEnabled: TRUE
zimbraPop3SaslGssapiEnabled: FALSE
zimbraPop3ServerEnabled: TRUE
zimbraRedoLogArchiveDir: redolog/archive
zimbraRedoLogCrashRecoveryLookbackSec: 10
zimbraRedoLogDeleteOnRollover: TRUE
zimbraRedoLogEnabled: TRUE
zimbraRedoLogFsyncIntervalMS: 10
zimbraRedoLogLogPath: redolog/redo.log
zimbraRedoLogRolloverFileSizeKB: 1048576
zimbraRedoLogRolloverHardMaxFileSizeKB: 4194304
zimbraRedoLogRolloverMinFileAge: 60
zimbraRemoteManagementCommand: /opt/zimbra/libexec/zmrcd
zimbraRemoteManagementPort: 22
zimbraRemoteManagementPrivateKeyPath: /opt/zimbra/.ssh/zimbra_identity
zimbraRemoteManagementUser: zimbra
zimbraReverseProxyConnectTimeout: 120000ms
zimbraReverseProxyHttpEnabled: FALSE
zimbraReverseProxyImapEnabledCapability: ACL
zimbraReverseProxyImapEnabledCapability: BINARY
zimbraReverseProxyImapEnabledCapability: CATENATE
zimbraReverseProxyImapEnabledCapability: CHILDREN
zimbraReverseProxyImapEnabledCapability: CONDSTORE
zimbraReverseProxyImapEnabledCapability: ENABLE
zimbraReverseProxyImapEnabledCapability: ESEARCH
zimbraReverseProxyImapEnabledCapability: ESORT
zimbraReverseProxyImapEnabledCapability: I18NLEVEL=1
zimbraReverseProxyImapEnabledCapability: ID
zimbraReverseProxyImapEnabledCapability: IDLE
zimbraReverseProxyImapEnabledCapability: IMAP4rev1
zimbraReverseProxyImapEnabledCapability: LIST-EXTENDED
zimbraReverseProxyImapEnabledCapability: LITERAL+
zimbraReverseProxyImapEnabledCapability: MULTIAPPEND
zimbraReverseProxyImapEnabledCapability: NAMESPACE
zimbraReverseProxyImapEnabledCapability: QRESYNC
zimbraReverseProxyImapEnabledCapability: QUOTA
zimbraReverseProxyImapEnabledCapability: RIGHTS=ektx
zimbraReverseProxyImapEnabledCapability: SASL-IR
zimbraReverseProxyImapEnabledCapability: SEARCHRES
zimbraReverseProxyImapEnabledCapability: SORT
zimbraReverseProxyImapEnabledCapability: THREAD=ORDEREDSUBJECT
zimbraReverseProxyImapEnabledCapability: UIDPLUS
zimbraReverseProxyImapEnabledCapability: UNSELECT
zimbraReverseProxyImapEnabledCapability: WITHIN
zimbraReverseProxyImapExposeVersionOnBanner: FALSE
zimbraReverseProxyImapSaslGssapiEnabled: FALSE
zimbraReverseProxyImapSaslPlainEnabled: TRUE
zimbraReverseProxyImapStartTlsMode: only
zimbraReverseProxyInactivityTimeout: 1h
zimbraReverseProxyLogLevel: info
zimbraReverseProxyLookupTarget: TRUE
zimbraReverseProxyMailEnabled: TRUE
zimbraReverseProxyPassErrors: TRUE
zimbraReverseProxyPop3EnabledCapability: EXPIRE 31 USER
zimbraReverseProxyPop3EnabledCapability: TOP
zimbraReverseProxyPop3EnabledCapability: UIDL
zimbraReverseProxyPop3EnabledCapability: USER
zimbraReverseProxyPop3EnabledCapability: XOIP
zimbraReverseProxyPop3ExposeVersionOnBanner: FALSE
zimbraReverseProxyPop3SaslGssapiEnabled: FALSE
zimbraReverseProxyPop3SaslPlainEnabled: TRUE
zimbraReverseProxyPop3StartTlsMode: only
zimbraReverseProxyRouteLookupTimeout: 15s
zimbraReverseProxyRouteLookupTimeoutCache: 60s
zimbraReverseProxyWorkerConnections: 10240
zimbraReverseProxyWorkerProcesses: 4
zimbraSSLCertificate: -----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
zimbraSSLPrivateKey: -----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
zimbraSaslGssapiRequiresTls: FALSE
zimbraScheduledTaskNumThreads: 20
zimbraServiceEnabled: antivirus
zimbraServiceEnabled: antispam
zimbraServiceEnabled: logger
zimbraServiceEnabled: mailbox
zimbraServiceEnabled: mta
zimbraServiceEnabled: stats
zimbraServiceEnabled: snmp
zimbraServiceEnabled: ldap
zimbraServiceEnabled: spell
zimbraServiceHostname: server.domain.com
zimbraServiceInstalled: antivirus
zimbraServiceInstalled: antispam
zimbraServiceInstalled: logger
zimbraServiceInstalled: mailbox
zimbraServiceInstalled: mta
zimbraServiceInstalled: stats
zimbraServiceInstalled: snmp
zimbraServiceInstalled: ldap
zimbraServiceInstalled: spell
zimbraSmtpHostname: server.domain.com
zimbraSmtpPort: 25
zimbraSmtpSendPartial: FALSE
zimbraSmtpTimeout: 60
zimbraSoapExposeVersion: FALSE
zimbraSoapRequestMaxSize: 15360000
zimbraSpellAvailableDictionary: en_US
zimbraSpellCheckURL:
http://server.domain.com:7780/aspell.php
zimbraSshPublicKey: ...
zimbraStatThreadNamePrefix: AnonymousIoService
zimbraStatThreadNamePrefix: CloudRoutingReaderThread
zimbraStatThreadNamePrefix: GC
zimbraStatThreadNamePrefix: ImapSSLServer
zimbraStatThreadNamePrefix: ImapServer
zimbraStatThreadNamePrefix: LmtpServer
zimbraStatThreadNamePrefix: Pop3SSLServer
zimbraStatThreadNamePrefix: Pop3Server
zimbraStatThreadNamePrefix: ScheduledTask
zimbraStatThreadNamePrefix: SocketAcceptor
zimbraStatThreadNamePrefix: Thread
zimbraStatThreadNamePrefix: Timer
zimbraStatThreadNamePrefix: btpool
zimbraStatThreadNamePrefix: pool
zimbraTableMaintenanceGrowthFactor: 10
zimbraTableMaintenanceMaxRows: 1000000
zimbraTableMaintenanceMinRows: 10000
zimbraTableMaintenanceOperation: ANALYZE
zimbraVirusDefinitionsUpdateFrequency: 2h
zimbraXMPPEnabled: TRUE
here is my zimbra.conf for apache
NameVirtualHost 192.168.2.2:80
<VirtualHost 192.168.2.2:80>
ServerName server.domain.com
ServerAlias
www.*
DocumentRoot /var/www/html
</VirtualHost>
<VirtualHost 192.168.2.2:80>
ServerAlias mail.*
ProxyPass /
http://server.domain.com:81/
ProxyPassReverse /
http://server.domain.com:81/
ErrorLog /var/log/httpd/zimbra-error.log
</VirtualHost>
<VirtualHost 192.168.2.2:80>
ServerAlias webmail.*
ProxyPass /
http://server.domain.com:81/
ProxyPassReverse /
http://server.domain.com:81/
ErrorLog /var/log/httpd/zimbra-error.log
</VirtualHost>
<VirtualHost 192.168.2.2:443>
ServerAlias mail.*
SSLProxyEngine ON
SSLEngine On
SSLCertificateFile /opt/zimbra/ssl/zimbra/server/server.crt
SSLCertificateKeyFile /opt/zimbra/ssl/zimbra/server/server.key
ProxyPass /
http://server.domain.com:81/
ProxyPassReverse /
http://server.domain.com:81/
ErrorLog /var/log/httpd/zimbra_ssl-error.log
</VirtualHost>