Re: Dovecot Replication: First Run

2014-07-19 Thread Asai
If what I wrote is a little cryptic, I am talking about using doveadm to 
sync between two servers.


--Asai

On 7/17/14 8:47 AM, Asai wrote:

Greetings,

I'm working on building a redundant Dovecot server which will be 
replicated with my original.  I would like to know if there's any 
potential problems I could run into in running this for the first 
time. For example, during an initial sync is it possible for the new 
server to sync improperly with the original and delete all of the 
emails on the original?


Are there any gotchas that I should be aware of when doing a first run?



Mailboxes not showing up in MS Outlook

2014-07-19 Thread Jerry
Sat, 19 Jul 2014 15:03:03 -0400

I am not sure exactly where the problem is here. I am using a sieve script
that sorts various incoming messages into their own mailbox. MS Outlook does
not show those folders if they are not directly under INBOX.

EXAMPLE:

drwx--  31 vmail  vmail   1.0K 2014-07-19 14:46:55 EDT ./
drwx--   3 vmail  vmail   512B 2014-07-02 13:52:03 EDT ../
drwx--   5 vmail  vmail   512B 2014-07-10 08:33:03 EDT .Bass/
drwx--   5 vmail  vmail   512B 2014-07-16 07:33:18 EDT .Commissioners/
drwx--   5 vmail  vmail   512B 2014-07-08 13:41:19 EDT 
.Commissioners.Cordrey/
drwx--   5 vmail  vmail   512B 2014-07-03 17:01:31 EDT .Dover/
drwx--   5 vmail  vmail   512B 2014-07-19 08:32:05 EDT .Drafts/
drwx--   5 vmail  vmail   512B 2014-07-18 19:07:15 EDT .Fitts/
drwx--   5 vmail  vmail   512B 2014-07-08 13:41:19 EDT .Gering/
drwx--   5 vmail  vmail   512B 2014-07-19 08:32:05 EDT .Green/
drwx--   5 vmail  vmail   512B 2014-07-18 18:59:06 EDT .Haywood/
drwx--   5 vmail  vmail   512B 2014-07-03 17:01:31 EDT .Hornik/
drwx--   5 vmail  vmail   512B 2014-07-19 14:45:29 EDT .INBOX.Deleted Items/
drwx--   5 vmail  vmail   512B 2014-07-18 08:58:21 EDT .INBOX.Drafts/
drwx--   5 vmail  vmail   512B 2014-07-18 08:58:13 EDT .INBOX.Junk E-mail/
drwx--   5 vmail  vmail   512B 2014-07-19 14:46:56 EDT .INBOX.PSNC/
drwx--   5 vmail  vmail   512B 2014-07-19 14:46:57 EDT .INBOX.SGWASA/
drwx--   5 vmail  vmail   512B 2014-07-18 08:58:13 EDT .INBOX.Sent Items/
drwx--   5 vmail  vmail   512B 2014-07-19 14:46:58 EDT .INBOX.UNRBA/
drwx--   5 vmail  vmail   512B 2014-07-18 07:40:05 EDT .Locklear/
drwx--   5 vmail  vmail   512B 2014-07-08 13:39:58 EDT .PlanningBoard/
drwx--   5 vmail  vmail   512B 2014-07-19 08:32:05 EDT .Queue/
drwx--   5 vmail  vmail   512B 2014-07-03 17:01:31 EDT .SawyerHomes/
drwx--   5 vmail  vmail   512B 2014-07-19 08:32:05 EDT .Sent/
drwx--   5 vmail  vmail   512B 2014-07-19 06:54:07 EDT .Trash/
drwx--   5 vmail  vmail   512B 2014-07-10 19:19:51 EDT .Vicki/
drwx--   5 vmail  vmail   512B 2014-07-18 15:31:06 EDT .Westall/
drwx--   2 vmail  vmail23K 2014-07-19 14:44:42 EDT cur/
-rw---   1 vmail  vmail14B 2014-07-02 20:30:10 EDT dovecot-keywords
-rw---   1 vmail  vmail10K 2014-07-19 14:45:18 EDT dovecot-uidlist
-rw---   1 vmail  vmail 8B 2014-07-18 08:58:13 EDT dovecot-uidvalidity
-r--r--r--   1 vmail  vmail 0B 2014-07-02 13:52:04 EDT 
dovecot-uidvalidity.53b446e2
-rw---   1 vmail  vmail   2.6K 2014-07-08 14:26:45 EDT dovecot.index
-rw---   1 vmail  vmail78K 2014-07-19 14:44:42 EDT dovecot.index.cache
-rw---   1 vmail  vmail21K 2014-07-19 14:45:18 EDT dovecot.index.log
-rw---   1 vmail  vmail   1.8K 2014-07-19 14:46:55 EDT dovecot.mailbox.log
drwx--   2 vmail  vmail   512B 2014-07-02 14:15:43 EDT new/

In the above example, only the following are displayed:

.INBOX.Deleted Items/
.INBOX.Drafts/
.INBOX.Junk E-mail/
.INBOX.PSNC/
.INBOX.SGWASA/
.INBOX.Sent Items/
.INBOX.UNRBA/

Do I have a configuration problem?

dovecot -n

# 2.2.13: /usr/local/etc/dovecot/dovecot.conf
# OS: FreeBSD 10.0-RELEASE-p3 amd64  ufs
auth_mechanisms = plain login cram-md5 digest-md5
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
log_path = /var/log/dovecot
mail_location = maildir:/var/mail/vmail/%d/gerard
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 duplicate
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 = 
}
passdb {
  args = username_format=%u /usr/local/etc/dovecot/user/passwd
  driver = passwd-file
}
passdb {
  args = scheme=CRYPT username_format=%u /usr/local/etc/dovecot/user/passwd
  driver = passwd-file
}
passdb {
  driver = pam
}
passdb {
  args = scheme=CRYPT username_format=%u /usr/local/etc/dovecot/user/passwd
  driver = passwd-file
}
plugin {
  sieve_global_dir = /usr/local/etc/dovecot/sieve/
  sieve_global_path = /usr/local/etc/dovecot/sieve/default.sieve
}
postmaster_address = postmas...@seibercom.net
service auth {
  unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0666
user = postfix
  }
  unix_listener auth-userdb {
group = vmail
mode = 0666
user = vmail
  }
}
service imap-login {
  inet_listener imap {
port = 143
  }
  inet_listener imaps {
port = 993
ssl = yes
  }
}
service pop3-login {
  inet_listener pop3 {
port = 110
  }
  inet_listener pop3s {
port = 995
ssl = yes
  }
}
ssl_cert = 

[PATCH] Fix typo in src/imap-urlauth/imap-urlauth-worker.c

2014-07-19 Thread Jelmer Vernooij
The attached trivial patch fixes a typo in 
src/imap-urlauth/imap-urlauth-worker.c.

Cheers,

Jelmer
diff -r fd0616d553b0 -r 6fabd9046558 src/imap-urlauth/imap-urlauth-worker.c
--- a/src/imap-urlauth/imap-urlauth-worker.c	Fri Jul 11 16:49:35 2014 +0300
+++ b/src/imap-urlauth/imap-urlauth-worker.c	Sun Jul 20 00:29:35 2014 +0200
@@ -478,7 +478,7 @@
 		}
 		if (client_run_url(client) < 0) {
 			client_abort(client,
-"Session aborted: Fatal failure while transfering URL");
+"Session aborted: Fatal failure while transferring URL");
 			return 0;
 		}		
 	}


signature.asc
Description: Digital signature