[Dovecot] about maildirsize not updating

2013-03-29 Thread mastertoi...@netzero.net
Hi. 
i am currently using roundcube my webmail and configure using dovecot quota 
plugins. but it seems to not be updating the maildirsize when new mails 
comes.Deleting the maildirsize will recreate the files correctly.Is there any 
solutions to this problem with dovecot.

How to Sleep Like a Rock
Obey this one natural trick to fall asleep and stay asleep all night.
http://thirdpartyoffers.netzero.net/TGL3231/51553ef81818d3ef72750st04duc

[Dovecot] Cassandra support

2013-03-29 Thread Goktug YILDIRIM
Hi,

I've read some previous threads about Cassandra support. In a message at
April 2012 it was written that it would take a few hours after doing some
internal stuff.
http://dovecot.markmail.org/search/?q=cassandra#query:cassandra%20order%3Adate-backward+page:1+mid:emfxwl4fdrnrhkn7+state:results

I wonder if there have been a progress since then? Or a better alternative
came up?

-- Goktug


[Dovecot] Restoring Mails via DSync

2013-03-29 Thread Asai

Greetings,

Can anyone give me a quick pointer to the right command to use for 
restoring backups made by dsync?  I have our whole mail server backed up 
with it, but not sure how to restore...  Any help would be greatly 
appreciated.


--

--Asai



Re: [Dovecot] Postfix/Dovecot/lmtp with virtual and local users

2013-03-29 Thread /dev/rob0
I'm interested in this as well, and having looked over the wiki2 
pages on LDA and LMTP, and the files conf.d/15-lda.conf and 
conf.d/20-lmtp.conf to which they refer, I still don't see how the 
lmtpd knows a given user@domain is a system user. For virtual 
domains, I guess the assumption is that the Dovecot username is 
user@domain. (Even that assumption is not necessarily valid; there 
is no requirement to format virtual usernames that way.)

The closest I can find is "hostname" in 15-lda.conf, but that does 
not really say anything about it being used to identify a system 
user.
-- 
  http://rob0.nodns4.us/ -- system administration and consulting
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:


Re: [Dovecot] dovecot v-2.0, postfix+mysql configuration issue.

2013-03-29 Thread Daniel Luttermann
On 2013-03-28, Vimuth wrote:

> echo test | mail vim...@mydomain.rock

> [root@box1 ~]# tail -f /var/log/maillog
> Mar 26 07:00:44 box1 dovecot: auth: Error: sql(vim...@mydomain.rock): User
> query failed: Table 'mailserver.users' doesn't exist (using built-in
> default user_query: SELECT home, uid, gid FROM users WHERE username = '%n'
> AND domain = '%d')
> Mar 26 07:00:44 box1 dovecot: lda: Error: user vim...@mydomain.rock: Auth
> USER lookup failed
> Mar 26 07:00:44 box1 dovecot: lda: Fatal: Internal error occurred. Refer to
> server log for more information.

Dovecot needs to know if the user exists and where the mails should be
saved. You can use a dedicated user lookup query like

  SELECT home, uid, gid FROM users WHERE userid = '%u'

or you can use a static userdb. See:
http://wiki2.dovecot.org/UserDatabase/Static

But it's also possible to combine passdb and userdb into a single
lookup. This is explained here: http://wiki2.dovecot.org/UserDatabase/Prefetch

Because you're using virtual users you'll find other useful
informations here: http://wiki2.dovecot.org/VirtualUsers

I guess you could start with a static userdb like

userdb {
  driver = static
  args = uid=vmail gid=vmail home=/var/mail/%d/%n
}

In this example, mails are saved in /var/mail/domain/username.

--
Daniel




Re: [Dovecot] Restoring Mails via DSync

2013-03-29 Thread Ben Morrow
At  7AM -0700 on 29/03/13 you (Asai) wrote:
> 
> Can anyone give me a quick pointer to the right command to use for 
> restoring backups made by dsync?  I have our whole mail server backed up 
> with it, but not sure how to restore...  Any help would be greatly 
> appreciated.

I would have thought you want to use exactly the dsync command you used
to take the backup, but with -R (or without it, if you were using it
before).

Ben



Re: [Dovecot] Restoring Mails via DSync

2013-03-29 Thread Asai

Awesome, Ben.  Thanks.

--Asai

On 3/29/2013 9:37 AM, Ben Morrow wrote:

At  7AM -0700 on 29/03/13 you (Asai) wrote:

Can anyone give me a quick pointer to the right command to use for
restoring backups made by dsync?  I have our whole mail server backed up
with it, but not sure how to restore...  Any help would be greatly
appreciated.

I would have thought you want to use exactly the dsync command you used
to take the backup, but with -R (or without it, if you were using it
before).

Ben





Re: [Dovecot] Dovecot 2.2 & LEMONADE extensions

2013-03-29 Thread Charles Marcus

On 2013-03-28 6:10 PM, Timo Sirainen  wrote:
Also there's a good chance that Dovecot v2.3 will have an SMTP 
submission server with BURL support (that will simply forward the mail 
to a real SMTP server). 


Awesome to hear Timo, thanks!

--

Best regards,

Charles




Re: [Dovecot] 3 node setup without cluster filesystem

2013-03-29 Thread Malte Swart
On Friday 29 March 2013 01:18:13 Michael wrote:
> short version: Is there any 3 host (two MX and one frontend IMAP) that
> can use a shared (iSCSI) ext4 volume?
> 
> Long version:
> I am running a very complex setup right now with two MX, two
> proxies(lmtp/imap)/imap-frontends and two backends mounting an
> ocfs2 volume.
> 
> I would like to reduce the complexity (and the number of hosts) and
> get rid of ocfs2. I ask myself if I can use an ext4 iSCSI-LUN using
> this setup:

You could manage the mailboxes only on one machine with using lmtp over 
network (http://wiki2.dovecot.org/LMTP):

> MX01 -> lmtp:unix:private/dovecot-lmtp -> mail_home: /var/mail
  MX01 -> lmtp:inet::24 -> IMAP01-> mail_home: /var/mail
> MX02 -> lmtp:unix:private/dovecot-lmtp -> mail_home: /var/mail
  MX02 -> lmtp:inet::24 -> IMAP01-> mail_home: /var/mail
> IMAP01 (imap) -> mail_home: /var/mail

So only one node accesses the mail storage and every filesystem should work.

Bye
Malte.


[Dovecot] Custom Headers/Flags Support in dovecot

2013-03-29 Thread Ramesh Natarajan
I am currently trying to evaluate if I can use dovecot to be used for my
imap server like application. This is not an email application but a
generic storage server that uses IMAP protocol to save and retrieve
messages.

The messages have standard From/To/Date headers and a lot of custom headers
for threading conversations e.t.c.  As a part of my application
requirements I also need to support custom flags and have ability to
set/change/retrieve them via IMAP.

1) Does Dovecot support custom flags to be set/changed/retrieved?
2) I understand dovecot optimizes standard RFC822 headers and flags in
cache/index files for faster lookups and searches. Does custom headers and
flags fall into this optimization algorithm?
3) I am planning to support multiple users and each mailbox may have upto
1000 folders.  Each folder may have an average of  20 MIME encoded
messages. I am planning to use local storage with single-dbox format. Do
you see any issues with this?

thanks
Ramesh