Hi, what about the corresponding dovecot log? Could you attach SOGo and dovecot log as files? Your log is bad to read :-(
Stefan
Am 11.05.2015 um 14:20 schrieb Stryker:
> Hello,
> I had problem with the sogo, its spam the sogo.log file, but the folders
> exist .... How can i resolv this problem?
>
> May 11 14:17:48 sogod [4021]: [ERROR] <0x0x7f905c8eabc8[NGImap4Connection]>
> could not select URL: imaps://test3%40test.mail.com@localhost/Drafts/?tls=YES:
> {RawResponse = "{ResponseResult = {description = \"Mailbox doesn't exist:
> Drafts\"; result = no; tagId = 17; }; ok = {CLOSED = \"Previous mailbox
> closed.\"; }; }"; reason = "Mailbox doesn't exist: Drafts"; result = 0; }
> May 11 14:17:48 sogod [4021]: 10.24.24.249 "POST /SOGo/so/test3/Mail/0/
> folderDrafts/unseenCount HTTP/1.1" 200 13/0 0.044 - - 0
> May 11 14:17:48 sogod [4005]: [ERROR] <0x0x7f905c678d38[NGImap4Connection]>
> could not select URL: imaps://test3%40test.mail.com@localhost/Drafts/?tls=YES:
> {RawResponse = "{ResponseResult = {description = \"Mailbox doesn't exist:
> Drafts\"; result = no; tagId = 10; }; ok = {CLOSED = \"Previous mailbox
> closed.\"; }; }"; reason = "Mailbox doesn't exist: Drafts"; result = 0; }
> May 11 14:17:48 sogod [4005]: 10.24.24.249 "POST /SOGo/so/test3/Mail/0/
> folderDrafts/uids HTTP/1.1" 200 158/37 0.087 - - 0
> May 11 14:17:48 sogod [4005]: [ERROR] <0x0x7f905c678d38[NGImap4Connection]>
> could not fetch 85 uids for url:
> imaps://test3%40test.mail.com@localhost/Drafts/?tls=YES
> May 11 14:17:48 sogod [4005]: 10.24.24.249 "POST /SOGo/so/test3/Mail/0/
> folderDrafts/headers HTTP/1.1" 200 130/97 0.045 - - 0
> May 11 14:17:49 sogod [4021]: [ERROR] <0x0x7f905c8eabc8[NGImap4Connection]>
> could not select URL: imaps://test3%40test.mail.com@localhost/Sent/?tls=YES:
> {RawResponse = "{ResponseResult = {description = \"Mailbox doesn't exist: Sent
> \"; result = no; tagId = 19; }; }"; reason = "Mailbox doesn't exist: Sent";
> result = 0; }May 11 14:17:49 sogod [4005]: [ERROR]
> <0x0x7f905c678d38[NGImap4Connection]> could not select URL:
> imaps://test3%40test.mail.com@localhost/Sent/?tls=YES: {RawResponse =
> "{ResponseResult = {description = \"Mailbox doesn't exist: Sent\"; result =
> no; tagId = 15; }; }"; reason = "Mailbox doesn't exist: Sent"; result = 0; }
>
> May 11 14:17:49 sogod [4021]: 10.24.24.249 "POST /SOGo/so/test3/Mail/0/
> folderSent/unseenCount HTTP/1.1" 200 13/0 0.082 - - 0
> May 11 14:17:49 sogod [4005]: 10.24.24.249 "POST /SOGo/so/test3/Mail/0/
> folderSent/uids HTTP/1.1" 200 158/37 0.086 - - 0
> May 11 14:17:50 sogod [4005]: [ERROR] <0x0x7f905c678d38[NGImap4Connection]>
> could not fetch 85 uids for url:
> imaps://test3%40test.mail.com@localhost/Sent/?tls=YES
> May 11 14:17:50 sogod [4005]: 10.24.24.249 "POST /SOGo/so/test3/Mail/0/
> folderSent/headers HTTP/1.1" 200 130/97 0.045 - - 0
> May 11 14:17:51 sogod [4005]: [ERROR] <0x0x7f905c678d38[NGImap4Connection]>
> could not select URL: imaps://test3%40test.mail.com@localhost/Trash/?tls=YES:
> {RawResponse = "{ResponseResult = {description = \"Mailbox doesn't exist:
> Trash\"; result = no; tagId = 20; }; }"; reason = "Mailbox doesn't exist:
> Trash"; result = 0; }May 11 14:17:51 sogod [4021]: [ERROR]
> <0x0x7f905c8eabc8[NGImap4Connection]> could not select URL:
> imaps://test3%40test.mail.com@localhost/Trash/?tls=YES: {RawResponse =
> "{ResponseResult = {description = \"Mailbox doesn't exist: Trash\"; result =
> no; tagId = 21; }; }"; reason = "Mailbox doesn't exist: Trash"; result = 0; }
>
> May 11 14:17:51 sogod [4021]: 10.24.24.249 "POST /SOGo/so/test3/Mail/0/
> folderTrash/unseenCount HTTP/1.1" 200 13/0 0.081 - - 0
> May 11 14:17:51 sogod [4005]: 10.24.24.249 "POST /SOGo/so/test3/Mail/0/
> folderTrash/uids HTTP/1.1" 200 158/37 0.084 - - 0
> May 11 14:17:52 sogod [4005]: [ERROR] <0x0x7f905c678d38[NGImap4Connection]>
> could not fetch 85 uids for url:
> imaps://test3%40test.mail.com@localhost/Trash/?tls=YES
> May 11 14:17:52 sogod [4005]: 10.24.24.249 "POST /SOGo/so/test3/Mail/0/
> folderTrash/headers HTTP/1.1" 200 130/97 0.047 - - 0
>
>
>
>
> drwx--S--- 12 vmail vmail 4096 May 11 13:31 .
> drwx--S--- 3 vmail vmail 4096 May 11 11:57 ..
> drwx--S--- 2 vmail vmail 4096 May 11 12:51 cur
> -rw------- 1 vmail vmail 0 May 11 11:57 dovecot-acl-list
> -rw------- 1 vmail vmail 2936 May 11 13:24 dovecot.index.cache
> -rw------- 1 vmail vmail 2848 May 11 13:24 dovecot.index.log
> -rw------- 1 vmail vmail 120 May 11 12:50 dovecot.mailbox.log
> -rw------- 1 vmail vmail 93 May 11 12:51 dovecot-uidlist
> -rw------- 1 vmail vmail 8 May 11 13:31 dovecot-uidvalidity
> -r--r--r-- 1 vmail vmail 0 May 11 11:57 dovecot-uidvalidity.55507d01
> drwx--S--- 5 vmail vmail 4096 May 11 13:25 .Drafts
> drwx--S--- 5 vmail vmail 4096 May 11 13:24 .INBOX.6
> drwx--S--- 5 vmail vmail 4096 May 11 13:24 .INBOX.egy
> drwx--S--- 5 vmail vmail 4096 May 11 13:31 .INBOX.harom
> drwx--S--- 5 vmail vmail 4096 May 11 13:24 .INBOX.ketto
> drwx--S--- 5 vmail vmail 4096 May 11 13:25 .ketto
> -rw------- 1 vmail vmail 0 May 11 11:57 maildirfolder
> -rw------- 1 vmail vmail 85 May 11 13:25 maildirsize
> drwx--S--- 2 vmail vmail 4096 May 11 12:43 new
> drwx--S--- 5 vmail vmail 4096 May 11 13:25 .Sent
> -rw------- 1 vmail vmail 48 May 11 12:50 subscriptions
> drwx--S--- 2 vmail vmail 4096 May 11 12:51 tmp
>
> id sogo
> uid=111(sogo) gid=120(sogo) groups=120(sogo),100(users)
> id vmail
> uid=112(vmail) gid=122(vmail) groups=122(vmail),8(mail)
>
>
> dovecot.conf:
> auth_debug = yes
> auth_gssapi_hostname = oc.test.mail.com
> auth_krb5_keytab = /etc/dovecot/dovecot.keytab
> auth_mechanisms = login gssapi plain
> first_valid_uid = 33
> log_path = /var/log/dovecot.message
> log_timestamp = "%Y-%m-%d %H:%M:%S "
> mail_gid = vmail
> mail_location = maildir:~/Maildir
> mail_privileged_group = mail
> mail_uid = vmail
> managesieve_notify_capability = mailto
> managesieve_sieve_capability = fileinto reject envelope encoded-character
> vacation subaddress comparator-i;ascii-numeric relational regex imap4flags
> copy include variables body enotify environment mailbox date ihave
> namespace {
> list = children
> location = maildir:/var/mail/%%u:INDEX=/var/mail/%u/shared/%%u
> prefix = shared/%%u/
> separator = /
> type = shared
> }
> namespace inbox {
> inbox = yes
> location =
> mailbox Drafts {
> special_use = \Drafts
> }
> mailbox Junk {
> special_use = \Junk
> }
> mailbox Sent {
> special_use = \Sent
> }
> mailbox "Sent Messages" {
> special_use = \Sent
> }
> mailbox Trash {
> special_use = \Trash
> }
> prefix =
> separator = /
> }
> passdb {
> args = /etc/dovecot/master-users
> driver = passwd-file
> master = yes
> pass = yes
> }
> passdb {
> args = /etc/dovecot/dovecot-ldap.conf
> driver = ldap
> }
> passdb {
> args = nopassword=y allow_nets=127.0.0.1/23
> driver = static
> }
> passdb {
> driver = pam
> }
> passdb {
> driver = shadow
> }
> plugin {
> acl = vfile
> acl_shared_dict = file:/var/mail/shared-mailboxes.db
> quota = maildir
> quota_rule2 = Trash:storage=+100M
> quota_warning = storage=95%% quota-warning 95 %u
> quota_warning2 = storage=80%% quota-warning 80 %u
> quota_warning3 = -storage=80%% quota-warning below %u
> sieve = /var/mail/sieve/%n.sieve
> sieve_dir = /var/mail/sieve/%n/
> }
> protocols = imap pop3 sieve
> service auth-worker {
> unix_listener auth-worker {
> group = postfix
> mode = 0666
> }
> user = $default_internal_user
> }
> service auth {
> unix_listener /var/spool/postfix/private/auth {
> group = postfix
> mode = 0666
> user = postfix
> }
> unix_listener auth-userdb {
> user = vmail
> }
> }
> service managesieve-login {
> inet_listener sieve {
> port = 4190
> }
> inet_listener sieve_deprecated {
> port = 2000
> }
> service_count = 1
> }
> service quota-warning {
> executable = script /usr/local/bin/quota-warning.sh
> unix_listener quota-warning {
> user = vmail
> }
> user = vmail
> }
> ssl = required
> ssl_ca = </etc/ssl/mail/Messer_Servers_Root_CA.crt
> ssl_cert = </etc/ssl/mail/oc.test.mail.com.crt
> ssl_key = </etc/ssl/mail/oc.test.mail.com.pem
> userdb {
> args = /etc/dovecot/dovecot-ldap.conf
> driver = ldap
> }
> userdb {
> driver = passwd
> }
> userdb {
> args = uid=112 gid=121 home=/var/mail/%u allow_all_users=yes
> driver = static
> }
> protocol lda {
> hostname = oc.test.mail.com
> log_path = /var/log/dovecot.lda.log
> mail_plugins = sieve quota
> postmaster_address = [email protected]
> }
> protocol imap {
> mail_plugins = quota imap_quota imap_acl acl
> }
> protocol pop3 {
> pop3_uidl_format = %08Xu%08Xv
> }
>
>
> sogo.conf:
>
> {
> /* General parameters */
> WOPort = 20000;
> WOLogFile = /var/log/sogo/sogo.log;
> WOPidFile = /var/run/sogo/sogo.pid;
> SOGoTimeZone = Europe/Budapest;
> SOGoMailDomain = test.mail.com;
> SOGoPageTitle = "Messer Hungarog\U00E1z Kft.";
> SOGoPasswordChangeEnabled = NO;
> SOGoLanguage = Hungarian; // User can override parameter
> SOGoLoginModule = Mail;
> SOGoFirstDayOfWeek = 1;
> SOGoFirstWeekOfYear = First4DayWeek;
> SOGoMailMessageCheck = "every_minute";
> SOGoMailComposeMessageType = text;
> SOGoMailSignaturePlacement = above;
> SOGoSearchMinimumWordLength = 0;
> SOGoSuperUsernames = (Administrator, test );
>
>
> /* Mail preferences */
> SOGoAppointmentSendEMailNotifications = YES;
> SOGoACLsSendEMailNotifications = YES;
>
> /*Calendar*/
> SOGoCalendarDefaultRoles = (ObjectCreator, PublicViewer,
> ConfidentialDAndTViewer);
>
>
>
> /*Contact*/
> SOGoContactsDefaultRoles = (ObjectEditor);
>
>
> /* Database configuration */
> SOGoProfileURL =
> "mysql://sogo:[email protected]:3306/sogo/sogo_user_profile";
> OCSFolderInfoURL =
> "mysql://sogo:[email protected]:3306/sogo/sogo_folder_info";
> OCSSessionsFolderURL =
> "mysql://sogo:[email protected]:3306/sogo/sogo_sessions_folder";
> OCSEMailAlarmsFolderURL =
> "mysql://sogo:[email protected]:3306/sogo/sogo_alarms_folder";
> /* Common IMAP and SMTP configuration */
> SOGoForceExternalLoginWithEmail = YES;
>
> /* IMAP server configuration */
> NGImap4ConnectionStringSeparator = "/";
> SOGoIMAPAclConformsToIMAPExt = YES;
> SOGoMailSpoolPath = /var/spool/sogo;
> SOGoIMAPServer = "imaps://localhost:143/?tls=YES";
>
> SOGoDraftsFolderName = Drafts; // User can override parameter
> SOGoSentFolderName = Sent; // User can override parameter
> SOGoTrashFolderName = Trash; // User can override parameter
> SOGoMailShowSubscribedFoldersOnly = NO; // User can override parameter
> SOGoEnableEMailAlarms = YES;
> SOGoForwardEnabled = YES;
>
>
> /* SMTP server configuration */
> SOGoMailingMechanism = smtp;
> SOGoSMTPServer = localhost;
>
> /* Sieve configuration */
> SOGoSieveServer = sieve://127.0.0.1:2000;
> SOGoVacationEnabled = YES;
> SOGoSieveScriptsEnabled = YES;
> SOGoForwardEnabled = YES;
>
> /* LDAP authentication */
> SOGoUserSources = (
> {
> id = sambaLogin;
> displayName = "SambaLogin";
> canAuthenticate = YES;
> type = ldap;
> CNFieldName = cn;
> IDFieldName = cn;
> UIDFieldName = sAMAccountName;
> hostname = "ldap://127.0.0.1";
> baseDN = "OU=mindenki,DC=test,DC=mail,dc=com";
> bindDN = "CN=sogo,OU=services,DC=test,DC=mail,dc=com";
> bindPassword = "qweasd";
> bindFields = (sAMAccountName, mail);
> },
> {
> id = sambaShared;
> displayName = "Shared Addressbook";
> canAuthenticate = NO;
> isAddressBook = YES;
> type = ldap;
> CNFieldName = cn;
> IDFieldName = mail;
> UIDFieldName = mail;
> hostname = "ldap://127.0.0.1";
> baseDN = "OU=mindenki,DC=test,DC=mail,dc=com";
> bindDN = "CN=sogo,OU=services,DC=test,DC=mail,dc=com";
> bindPassword = "qweasd";
> filter = "((NOT isCriticalSystemObject='TRUE') AND (mail=\'*
> \') AND (NOT objectClass=contact))";
> },
> {
> id = sambaContacts;
> displayName = "Shared Contacts";
> canAuthenticate = NO;
> isAddressBook = YES;
> type = ldap;
> CNFieldName = cn;
> IDFieldName = mail;
> UIDFieldName = mail;
> hostname = "ldap://127.0.0.1";
> baseDN = "DC=test,DC=mail,dc=com";
> bindDN = "CN=sogo,OU=services,DC=test,DC=mail,dc=com";
> bindPassword = "qweasd";
> 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");
> };
> }
> );
>
>
>
> /* Debug */
> GCSFolderDebugEnabled = NO;
> GCSFolderStoreDebugEnabled = NO;
> LDAPDebugEnabled = NO;
> MySQL4DebugEnabled = NO;
> NGImap4DisableIMAP4Pooling = NO;
> OCSFolderManagerSQLDebugEnabled = NO;
> PGDebugEnabled = NO;
> SOGoDebugRequests = NO;
> SOGoMailKeepDraftsAfterSend = NO;
> SOGoUIxDebugEnabled = NO;
> SoDebugObjectTraversal = NO;
> SoSecurityManagerDebugEnabled = NO;
> WODontZipResponse = NO;
> WODebugZipResponse = NO;
>
>
>
--
*CaC, Computer and Communication*
Inhaber Stefan Klatt
End-2-End Senior Network Consultant
Triftstrasse 9
60528 Frankfurt
Germany
USt-IdNr.: DE260461592
Tel.: +49-(0)172-6807809
Tel.: +49-(0)69-67808-900
Fax: +49-(0)69-67808-837
Email: [email protected]
Profil: http://www.cac-netzwerk.de/profil
<<attachment: stefan_klatt.vcf>>
signature.asc
Description: OpenPGP digital signature
